Skip to content

Commit

Permalink
Remove require_path directive from gemspecs
Browse files Browse the repository at this point in the history
The deafult value is 'lib', no need to keep it.

https://guides.rubygems.org/specification-reference/#require_paths=
  • Loading branch information
kennyadsl committed Mar 10, 2020
1 parent 0e447e0 commit ef0e89b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion api/solidus_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(spec|script)/})
end
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'
Expand Down
1 change: 0 additions & 1 deletion backend/solidus_backend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(spec|script)/})
end
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.4.0'
Expand Down
1 change: 0 additions & 1 deletion core/solidus_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(spec|script)/})
end
s.require_path = 'lib'

s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'
Expand Down
1 change: 0 additions & 1 deletion frontend/solidus_frontend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(spec|script)/})
end
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.4.0'
Expand Down
1 change: 0 additions & 1 deletion sample/solidus_sample.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(spec|script)/})
end
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.4.0'
Expand Down
1 change: 0 additions & 1 deletion solidus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Gem::Specification.new do |s|
s.description = 'Solidus is an open source e-commerce framework for Ruby on Rails.'

s.files = Dir['README.md', 'lib/**/*']
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.4.0'
Expand Down

0 comments on commit ef0e89b

Please sign in to comment.