From d70da8acbf8f963114765d8cd37a2e9b7c147ef3 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 9 Mar 2024 11:55:13 +1300 Subject: [PATCH] ci: test against Rails 7.1 (#436) --- .github/workflows/generator.yml | 1 + .github/workflows/ruby.yml | 1 + gemfiles/Gemfile-rails.7.1.x | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 gemfiles/Gemfile-rails.7.1.x diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index 91afec245..0f9ce5369 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -25,6 +25,7 @@ jobs: - gemfiles/Gemfile-rails.6.0.x - gemfiles/Gemfile-rails.6.1.x - gemfiles/Gemfile-rails.7.0.x + - gemfiles/Gemfile-rails.7.1.x # Uncomment the following line only to ensure compatibility with the # upcomming Rails versions, maybe before a release. #- gemfiles/Gemfile-rails-edge diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9a65d1e4a..e371e46cb 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -39,6 +39,7 @@ jobs: - gemfiles/Gemfile-rails.6.0.x - gemfiles/Gemfile-rails.6.1.x - gemfiles/Gemfile-rails.7.0.x + - gemfiles/Gemfile-rails.7.1.x # Uncomment the following line only to ensure compatibility with the # upcomming Rails versions, maybe before a release. #- gemfiles/Gemfile-rails-edge diff --git a/gemfiles/Gemfile-rails.7.1.x b/gemfiles/Gemfile-rails.7.1.x new file mode 100644 index 000000000..22e5fe8ec --- /dev/null +++ b/gemfiles/Gemfile-rails.7.1.x @@ -0,0 +1,12 @@ +source "https://rubygems.org" + +git_source(:github) { |repo| "https://github.com/#{repo}.git" } + +gemspec path: "../" + +gem "rails", '~>7.1.0' +gem "arel", github: "rails/arel" +gem "rake", ">= 11.1" +gem "rack-proxy", require: false +gem "rspec-rails", "~> 6.0.0" +gem "byebug"