From 4c0093c3c603abb15b06dbb7fc105304c8683b1a Mon Sep 17 00:00:00 2001 From: Morgan Brown Date: Wed, 8 May 2024 11:20:56 +0200 Subject: [PATCH] Add support for ruby 3.3, rails 7.1 --- .github/workflows/ruby.yml | 6 +++--- Gemfile | 2 ++ gemfiles/7.1.gemfile | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 gemfiles/7.1.gemfile diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a4b2b31..de35db1 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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) @@ -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): diff --git a/Gemfile b/Gemfile index 6c033d1..41ee41e 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/gemfiles/7.1.gemfile b/gemfiles/7.1.gemfile new file mode 100644 index 0000000..d8951c0 --- /dev/null +++ b/gemfiles/7.1.gemfile @@ -0,0 +1,3 @@ +source "http://rubygems.org" + +gem "rails", "~> 7.1.0"