Skip to content

Commit

Permalink
Ruby up to 3.2, Rails up to 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDaugherty committed Jun 14, 2023
1 parent e5b08d8 commit 7ed7c8f
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 20 deletions.
84 changes: 68 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
- 2.5
- 2.6
- 2.7
- 3.0.0-preview1
- 3.0
- 3.1
- 3.2
# - truffleruby-head
gemfile:
# These are located in the gemfiles/ folder
Expand All @@ -32,18 +34,21 @@ jobs:
- rails52
- rails60
- rails61
- rails70
- rails42_haml
- rails50_haml
- rails51_haml
- rails52_haml
- rails60_haml
- rails61_haml
- rails70_haml
- rails42_boc
- rails50_boc
- rails51_boc
- rails52_boc
- rails60_boc
- rails61_boc
- rails70_boc
- rack
- rack_boc
# - pry09
Expand All @@ -58,6 +63,9 @@ jobs:
- { ruby: 2.2, gemfile: rails61 }
- { ruby: 2.2, gemfile: rails61_boc }
- { ruby: 2.2, gemfile: rails61_haml }
- { ruby: 2.2, gemfile: rails70 }
- { ruby: 2.2, gemfile: rails70_boc }
- { ruby: 2.2, gemfile: rails70_haml }
- { ruby: 2.3, gemfile: rails42 }
- { ruby: 2.3, gemfile: rails42_boc }
- { ruby: 2.3, gemfile: rails42_haml }
Expand All @@ -67,6 +75,9 @@ jobs:
- { ruby: 2.3, gemfile: rails61 }
- { ruby: 2.3, gemfile: rails61_boc }
- { ruby: 2.3, gemfile: rails61_haml }
- { ruby: 2.3, gemfile: rails70 }
- { ruby: 2.3, gemfile: rails70_boc }
- { ruby: 2.3, gemfile: rails70_haml }
- { ruby: 2.4, gemfile: rails42 }
- { ruby: 2.4, gemfile: rails42_boc }
- { ruby: 2.4, gemfile: rails42_haml }
Expand All @@ -76,9 +87,15 @@ jobs:
- { ruby: 2.4, gemfile: rails61 }
- { ruby: 2.4, gemfile: rails61_boc }
- { ruby: 2.4, gemfile: rails61_haml }
- { ruby: 2.4, gemfile: rails70 }
- { ruby: 2.4, gemfile: rails70_boc }
- { ruby: 2.4, gemfile: rails70_haml }
- { ruby: 2.5, gemfile: rails42 }
- { ruby: 2.5, gemfile: rails42_boc }
- { ruby: 2.5, gemfile: rails42_haml }
- { ruby: 2.5, gemfile: rails70 }
- { ruby: 2.5, gemfile: rails70_boc }
- { ruby: 2.5, gemfile: rails70_haml }
- { ruby: 2.5, gemfile: rails50 }
- { ruby: 2.5, gemfile: rails50_boc }
- { ruby: 2.5, gemfile: rails50_haml }
Expand All @@ -97,6 +114,9 @@ jobs:
- { ruby: 2.6, gemfile: rails60 }
- { ruby: 2.6, gemfile: rails60_boc }
- { ruby: 2.6, gemfile: rails60_haml }
- { ruby: 2.6, gemfile: rails70 }
- { ruby: 2.6, gemfile: rails70_boc }
- { ruby: 2.6, gemfile: rails70_haml }
- { ruby: 2.7, gemfile: rails42 }
- { ruby: 2.7, gemfile: rails42_boc }
- { ruby: 2.7, gemfile: rails42_haml }
Expand All @@ -112,26 +132,58 @@ jobs:
- { ruby: 2.7, gemfile: rails60 }
- { ruby: 2.7, gemfile: rails60_boc }
- { ruby: 2.7, gemfile: rails60_haml }
- { ruby: 3.0.0-preview1, gemfile: rails42 }
- { ruby: 3.0.0-preview1, gemfile: rails42_boc }
- { ruby: 3.0.0-preview1, gemfile: rails42_haml }
- { ruby: 3.0.0-preview1, gemfile: rails50 }
- { ruby: 3.0.0-preview1, gemfile: rails50_boc }
- { ruby: 3.0.0-preview1, gemfile: rails50_haml }
- { ruby: 3.0.0-preview1, gemfile: rails51 }
- { ruby: 3.0.0-preview1, gemfile: rails51_boc }
- { ruby: 3.0.0-preview1, gemfile: rails51_haml }
- { ruby: 3.0.0-preview1, gemfile: rails52 }
- { ruby: 3.0.0-preview1, gemfile: rails52_boc }
- { ruby: 3.0.0-preview1, gemfile: rails52_haml }
- { ruby: 3.0.0-preview1, gemfile: rails60 }
- { ruby: 3.0.0-preview1, gemfile: rails60_boc }
- { ruby: 3.0.0-preview1, gemfile: rails60_haml }
- { ruby: 3.0, gemfile: rails42 }
- { ruby: 3.0, gemfile: rails42_boc }
- { ruby: 3.0, gemfile: rails42_haml }
- { ruby: 3.0, gemfile: rails50 }
- { ruby: 3.0, gemfile: rails50_boc }
- { ruby: 3.0, gemfile: rails50_haml }
- { ruby: 3.0, gemfile: rails51 }
- { ruby: 3.0, gemfile: rails51_boc }
- { ruby: 3.0, gemfile: rails51_haml }
- { ruby: 3.0, gemfile: rails52 }
- { ruby: 3.0, gemfile: rails52_boc }
- { ruby: 3.0, gemfile: rails52_haml }
- { ruby: 3.0, gemfile: rails60 }
- { ruby: 3.0, gemfile: rails60_boc }
- { ruby: 3.0, gemfile: rails60_haml }
- { ruby: 3.1, gemfile: rails42 }
- { ruby: 3.1, gemfile: rails42_boc }
- { ruby: 3.1, gemfile: rails42_haml }
- { ruby: 3.1, gemfile: rails50 }
- { ruby: 3.1, gemfile: rails50_boc }
- { ruby: 3.1, gemfile: rails50_haml }
- { ruby: 3.1, gemfile: rails51 }
- { ruby: 3.1, gemfile: rails51_boc }
- { ruby: 3.1, gemfile: rails51_haml }
- { ruby: 3.1, gemfile: rails52 }
- { ruby: 3.1, gemfile: rails52_boc }
- { ruby: 3.1, gemfile: rails52_haml }
- { ruby: 3.1, gemfile: rails60 }
- { ruby: 3.1, gemfile: rails60_boc }
- { ruby: 3.1, gemfile: rails60_haml }
- { ruby: 3.2, gemfile: rails42 }
- { ruby: 3.2, gemfile: rails42_boc }
- { ruby: 3.2, gemfile: rails42_haml }
- { ruby: 3.2, gemfile: rails50 }
- { ruby: 3.2, gemfile: rails50_boc }
- { ruby: 3.2, gemfile: rails50_haml }
- { ruby: 3.2, gemfile: rails51 }
- { ruby: 3.2, gemfile: rails51_boc }
- { ruby: 3.2, gemfile: rails51_haml }
- { ruby: 3.2, gemfile: rails52 }
- { ruby: 3.2, gemfile: rails52_boc }
- { ruby: 3.2, gemfile: rails52_haml }
- { ruby: 3.2, gemfile: rails60 }
- { ruby: 3.2, gemfile: rails60_boc }
- { ruby: 3.2, gemfile: rails60_haml }
# - { ruby: truffleruby-head, gemfile: rails42_boc }
# - { ruby: truffleruby-head, gemfile: rails50_boc }
# - { ruby: truffleruby-head, gemfile: rails51_boc }
# - { ruby: truffleruby-head, gemfile: rails52_boc }
# - { ruby: truffleruby-head, gemfile: rails60_boc }
# - { ruby: truffleruby-head, gemfile: rails61_boc }
# - { ruby: truffleruby-head, gemfile: rails70_boc }
# - { ruby: truffleruby-head, gemfile: rack_boc }

steps:
Expand Down
2 changes: 1 addition & 1 deletion better_errors.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = ">= 2.0.0"

s.add_development_dependency "rake", "~> 10.0"
s.add_development_dependency "rake", ">= 10.0"
s.add_development_dependency "rspec", "~> 3.5"
s.add_development_dependency "rspec-html-matchers"
s.add_development_dependency "rspec-its"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails61.gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "rails", "~> 6.1.0rc"
gem "rails", "~> 6.1.0"

gem 'simplecov', require: false
gem 'simplecov-lcov', require: false
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails61_boc.gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "rails", "~> 6.1.0rc"
gem "rails", "~> 6.1.0"
gem "binding_of_caller"

gem 'simplecov', require: false
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails61_haml.gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "rails", "~> 6.1.0rc"
gem "rails", "~> 6.1.0"
gem "haml"

gem 'simplecov', require: false
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails70.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source "https://rubygems.org"

gem "rails", "~> 7.0.0"

gem 'simplecov', require: false
gem 'simplecov-lcov', require: false

gemspec path: "../"
9 changes: 9 additions & 0 deletions gemfiles/rails70_boc.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "binding_of_caller"

gem 'simplecov', require: false
gem 'simplecov-lcov', require: false

gemspec path: "../"
9 changes: 9 additions & 0 deletions gemfiles/rails70_haml.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "haml"

gem 'simplecov', require: false
gem 'simplecov-lcov', require: false

gemspec path: "../"

0 comments on commit 7ed7c8f

Please sign in to comment.