Skip to content

Commit

Permalink
Bump ruby support to 3.2 (#152)
Browse files Browse the repository at this point in the history
- Add ruby 3.2 to tests
- Bump development ruby version
- Remove rails 5.2 not ran in our CI for a long time
  • Loading branch information
xjunior authored Jul 13, 2023
1 parent d676680 commit 0d32eac
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 42 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/_ruby-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: false
type: string
ruby:
default: '["2.7", "3.1"]'
default: '["2.7","3.1","3.2"]'
required: false
type: string
rails:
Expand All @@ -37,18 +37,12 @@ jobs:
rails: ${{ fromJSON(inputs.rails) }}
bundler: ${{ fromJSON(inputs.bundler) }}
exclude:
- rails: '5.2'
ruby: '3.1'
- rails: '5.2'
ruby: '3.0'
# This PR is merged, but not yet shipped in 6.0 and 6.1
# https://github.com/rails/rails/pull/46895
- rails: '6.1'
ruby: '3.2'
- rails: '6.0'
ruby: '3.0'
- rails: '6.0'
ruby: '3.1'
- rails: '7.0'
ruby: '2.7'
- rails: '7.0'
ruby: '3.0'
ruby: '3.2'
- ruby: '3.1'
bundler: '1'
env:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.1.4
ruby 3.2.2
2 changes: 1 addition & 1 deletion packages/audit_tracker/audit_tracker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_development_dependency "activerecord", ">= 5.2.8.1", "< 7.1"
spec.add_development_dependency "activerecord", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "combustion", "~> 1.3"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
spec.add_development_dependency "shoulda-matchers", "~> 5.1.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/consent/consent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "combustion", "~> 1.3"
spec.add_development_dependency "license_finder", ">= 7.0"
spec.add_development_dependency "pry-byebug", "3.9.0"
spec.add_development_dependency "pry", ">= 0.14.2"
spec.add_development_dependency "pry-byebug", "3.10.1"
spec.add_development_dependency "rake", "~> 13"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
Expand Down
10 changes: 5 additions & 5 deletions packages/cygnet/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ GEM
ast (~> 2.4.1)
racc
power_assert (2.0.3)
pry (0.13.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.9.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (~> 0.13.0)
pry (>= 0.13, < 0.15)
racc (1.7.1)
rack (3.0.8)
rainbow (2.2.2)
Expand Down Expand Up @@ -135,8 +135,8 @@ DEPENDENCIES
bundler (~> 2.1)
cygnet!
license_finder (~> 7.0)
pry (= 0.13.0)
pry-byebug (= 3.9.0)
pry (>= 0.14)
pry-byebug (= 3.10.1)
rainbow (= 2.2.2)
rake (~> 13.0)
rspec (~> 3.0)
Expand Down
4 changes: 2 additions & 2 deletions packages/cygnet/cygnet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Gem::Specification.new do |s|

s.add_development_dependency "bundler", "~> 2.1"
s.add_development_dependency "license_finder", "~> 7.0"
s.add_development_dependency "pry", "0.13.0"
s.add_development_dependency "pry-byebug", "3.9.0"
s.add_development_dependency "pry", ">= 0.14"
s.add_development_dependency "pry-byebug", "3.10.1"
s.add_development_dependency "rainbow", "2.2.2"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec", "~> 3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/edgestitch/edgestitch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "license_finder", ">= 7.0"
spec.add_development_dependency "mysql2", "0.5.3"
spec.add_development_dependency "rails", ">= 5.2.8.1", "< 7.1"
spec.add_development_dependency "mysql2", "0.5.5"
spec.add_development_dependency "rails", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
Expand Down
7 changes: 4 additions & 3 deletions packages/lumberaxe/lumberaxe.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activesupport", ">= 5.2.8.1", "< 7.1"
spec.add_dependency "activesupport", ">= 6.0.6.1", "< 7.1"
spec.add_dependency "lograge", "0.10.0"

spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "combustion", "~> 1.3"
spec.add_development_dependency "license_finder", ">= 7.0"
spec.add_development_dependency "parser", ">= 2.5", "!= 2.5.1.1"
spec.add_development_dependency "pry-byebug", "3.9.0"
spec.add_development_dependency "rails", ">= 5.2.8.1", "< 7.1"
spec.add_development_dependency "pry", ">= 0.14.2"
spec.add_development_dependency "pry-byebug", "3.10.1"
spec.add_development_dependency "rails", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "rainbow", "2.2.2"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/nitro_config/nitro_config.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activesupport", ">= 5.2.8.1", "< 7.1"
spec.add_dependency "activesupport", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "combustion", "~> 1.3"
end
10 changes: 5 additions & 5 deletions packages/rabbet/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ GEM
ast (~> 2.4.1)
racc
power_assert (2.0.3)
pry (0.13.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.9.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (~> 0.13.0)
pry (>= 0.13, < 0.15)
racc (1.7.1)
rack (2.2.7)
rack-test (2.1.0)
Expand Down Expand Up @@ -286,8 +286,8 @@ PLATFORMS
DEPENDENCIES
bundler (~> 2.1)
license_finder (~> 7.0)
pry (= 0.13.0)
pry-byebug (= 3.9.0)
pry (>= 0.14)
pry-byebug (= 3.10.1)
rabbet!
rainbow (= 2.2.2)
rake (~> 13.0)
Expand Down
4 changes: 2 additions & 2 deletions packages/rabbet/rabbet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Gem::Specification.new do |s|

s.add_development_dependency "bundler", "~> 2.1"
s.add_development_dependency "license_finder", "~> 7.0"
s.add_development_dependency "pry", "0.13.0"
s.add_development_dependency "pry-byebug", "3.9.0"
s.add_development_dependency "pry", ">= 0.14"
s.add_development_dependency "pry-byebug", "3.10.1"
s.add_development_dependency "rainbow", "2.2.2"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec", "~> 3.0"
Expand Down
9 changes: 5 additions & 4 deletions packages/rubocop-cobra/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ GEM
parser (3.2.2.3)
ast (~> 2.4.1)
racc
pry (0.13.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.9.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (~> 0.13.0)
pry (>= 0.13, < 0.15)
racc (1.7.1)
rack (3.0.8)
rainbow (3.1.1)
Expand Down Expand Up @@ -117,7 +117,8 @@ PLATFORMS

DEPENDENCIES
license_finder (~> 7.0)
pry-byebug (= 3.9.0)
pry (>= 0.14.2)
pry-byebug (= 3.10.1)
rake (~> 13.0)
rspec (~> 3.0)
rubocop (~> 1.44.0)
Expand Down
3 changes: 2 additions & 1 deletion packages/rubocop-cobra/rubocop-cobra.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ Gem::Specification.new do |spec|
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_development_dependency "license_finder", "~> 7.0"
spec.add_development_dependency "pry-byebug", "3.9.0"
spec.add_development_dependency "pry", ">= 0.14.2"
spec.add_development_dependency "pry-byebug", "3.10.1"
end
5 changes: 3 additions & 2 deletions packages/rubocop-powerhome/rubocop-powerhome.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ Gem::Specification.new do |spec|
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_development_dependency "license_finder", "~> 7.0"
spec.add_development_dependency "pry-byebug", "3.9.0"
spec.add_development_dependency "rails", ">= 5.2.8.1", "< 7.1"
spec.add_development_dependency "pry", ">= 0.14.2"
spec.add_development_dependency "pry-byebug", "3.10.1"
spec.add_development_dependency "rails", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
end

0 comments on commit 0d32eac

Please sign in to comment.