mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Merge pull request #11246 from mkllnk/engine-ruby-version
Add Ruby version to engines for Rubocop
This commit is contained in:
@@ -6,16 +6,6 @@
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
# versions of RuboCop, may require this file to be generated again.
|
||||
|
||||
# Offense count: 4
|
||||
# Configuration parameters: Severity, Include.
|
||||
# Include: **/*.gemspec
|
||||
Gemspec/RequiredRubyVersion:
|
||||
Exclude:
|
||||
- 'engines/catalog/catalog.gemspec'
|
||||
- 'engines/dfc_provider/dfc_provider.gemspec'
|
||||
- 'engines/order_management/order_management.gemspec'
|
||||
- 'engines/web/web.gemspec'
|
||||
|
||||
# Offense count: 9
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
||||
|
||||
@@ -26,9 +26,6 @@ PATH
|
||||
remote: engines/dfc_provider
|
||||
specs:
|
||||
dfc_provider (0.0.1)
|
||||
active_model_serializers (~> 0.8.4)
|
||||
jwt (~> 2.2)
|
||||
rspec (~> 3.9)
|
||||
|
||||
PATH
|
||||
remote: engines/order_management
|
||||
|
||||
@@ -10,6 +10,8 @@ Gem::Specification.new do |s|
|
||||
s.authors = ["developers@ofn"]
|
||||
s.summary = "Catalog domain of the OFN solution."
|
||||
|
||||
s.required_ruby_version = File.read(File.expand_path("../../.ruby-version", __dir__)).chomp
|
||||
|
||||
s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE.txt", "Rakefile", "README.rdoc"]
|
||||
s.metadata['rubygems_mfa_required'] = 'true'
|
||||
end
|
||||
|
||||
@@ -13,10 +13,9 @@ Gem::Specification.new do |spec|
|
||||
spec.summary = 'Provides an API stack implementing DFC semantic ' \
|
||||
'specifications'
|
||||
|
||||
spec.required_ruby_version = File.read(File.expand_path("../../.ruby-version", __dir__)).chomp
|
||||
|
||||
spec.files = Dir["{app,config,lib}/**/*"] + ['README.md']
|
||||
|
||||
spec.add_dependency 'active_model_serializers', '~> 0.8.4'
|
||||
spec.add_dependency 'jwt', '~> 2.2'
|
||||
spec.add_dependency 'rspec', '~> 3.9'
|
||||
spec.metadata['rubygems_mfa_required'] = 'true'
|
||||
end
|
||||
|
||||
@@ -10,6 +10,8 @@ Gem::Specification.new do |s|
|
||||
s.authors = ["developers@ofn"]
|
||||
s.summary = "Order Management domain of the OFN solution."
|
||||
|
||||
s.required_ruby_version = File.read(File.expand_path("../../.ruby-version", __dir__)).chomp
|
||||
|
||||
s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE.txt", "Rakefile", "README.rdoc"]
|
||||
s.metadata['rubygems_mfa_required'] = 'true'
|
||||
end
|
||||
|
||||
@@ -10,6 +10,8 @@ Gem::Specification.new do |s|
|
||||
s.authors = ["developers@ofn"]
|
||||
s.summary = "Web domain of the OFN solution."
|
||||
|
||||
s.required_ruby_version = File.read(File.expand_path("../../.ruby-version", __dir__)).chomp
|
||||
|
||||
s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE.txt", "Rakefile", "README.rdoc"]
|
||||
s.metadata['rubygems_mfa_required'] = 'true'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user