Skip to content

Commit

Permalink
Bump required ruby version to 2.4.0
Browse files Browse the repository at this point in the history
Ruby 2.2 and 2.3 support has ended [1], Rubocop support for 2.2 ended
and dropping 2.3 as well is close [2].

We also already introduced code that is no more compliant with 2.2.

[1]: https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
[2]: rubocop/rubocop#6945
  • Loading branch information
kennyadsl committed Sep 19, 2019
1 parent 18f6ebc commit b6dbfea
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/solidus_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = Spree.solidus_version

gem.required_ruby_version = '>= 2.2.2'
gem.required_ruby_version = '>= 2.4.0'
gem.required_rubygems_version = '>= 1.8.23'

gem.add_dependency 'jbuilder', '~> 2.8'
Expand Down
2 changes: 1 addition & 1 deletion backend/solidus_backend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'

s.add_dependency 'solidus_api', s.version
Expand Down
2 changes: 1 addition & 1 deletion core/solidus_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.require_path = 'lib'

s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'

%w[
Expand Down
2 changes: 1 addition & 1 deletion frontend/solidus_frontend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'

s.add_dependency 'solidus_api', s.version
Expand Down
2 changes: 1 addition & 1 deletion sample/solidus_sample.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'

s.add_dependency 'solidus_core', s.version
Expand Down
2 changes: 1 addition & 1 deletion solidus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.4.0'
s.required_rubygems_version = '>= 1.8.23'

s.author = 'Solidus Team'
Expand Down

0 comments on commit b6dbfea

Please sign in to comment.