Skip to content

Commit

Permalink
Add support for ruby 3.3, rails 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed May 8, 2024
1 parent 3c0e879 commit 4c0093c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

strategy:
matrix:
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
rails-version: ['4.2', '5.0', '5.1', '6.0', '6.1', '7.0']
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
rails-version: ['4.2', '5.0', '5.1', '6.0', '6.1', '7.0', '7.1']
exclude:
# activesupport (~> 6.0.0) was resolved to 6.0.6.1, which depends on ruby (>= 2.5.0)
# activesupport (~> 6.1.0) was resolved to 6.1.7.2, which depends on ruby (>= 2.5.0)
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
rails-version: '5.1'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ when "6.1"
eval_gemfile('../gemfiles/6.1.gemfile')
when "7.0"
eval_gemfile('../gemfiles/7.0.gemfile')
when "7.1"
eval_gemfile('../gemfiles/7.1.gemfile')
else
puts "\e[93mNo TEST_RAILS_VERSION present, letting dependency manager decide what's best.\e[0m" if ENV['DEBUG']
end
3 changes: 3 additions & 0 deletions gemfiles/7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "http://rubygems.org"

gem "rails", "~> 7.1.0"

0 comments on commit 4c0093c

Please sign in to comment.