From dad1c57b29b73e44e3f4d15ea13fe44893cbdde0 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 10 Aug 2024 15:06:19 +0200 Subject: [PATCH 1/2] Add Rails 7.2 in workflow --- .github/workflows/test.yml | 10 +++++++++- gemfiles/rails_7_2.gemfile | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails_7_2.gemfile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd47f23cb0..6951c9432d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] - gemfile: [Gemfile, gemfiles/rack_2_0.gemfile, gemfiles/rack_3_0.gemfile, gemfiles/rack_3_1.gemfile, gemfiles/rails_6_0.gemfile, gemfiles/rails_6_1.gemfile, gemfiles/rails_7_0.gemfile, gemfiles/rails_7_1.gemfile] + gemfile: [Gemfile, gemfiles/rack_2_0.gemfile, gemfiles/rack_3_0.gemfile, gemfiles/rack_3_1.gemfile, gemfiles/rails_6_0.gemfile, gemfiles/rails_6_1.gemfile, gemfiles/rails_7_0.gemfile, gemfiles/rails_7_1.gemfile, gemfiles/rails_7_2.gemfile] specs: ['spec --exclude-pattern=spec/integration/**/*_spec.rb'] include: - ruby: '2.7' @@ -54,6 +54,14 @@ jobs: - ruby: '3.3' gemfile: gemfiles/rails_7_1.gemfile specs: 'spec/integration/rails' + - ruby: '3.3' + gemfile: gemfiles/rails_7_2.gemfile + specs: 'spec/integration/rails' + exclude: + - ruby: '2.7' + gemfile: gemfiles/rails_7_2.gemfile + - ruby: '3.0' + gemfile: gemfiles/rails_7_2.gemfile runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} diff --git a/gemfiles/rails_7_2.gemfile b/gemfiles/rails_7_2.gemfile new file mode 100644 index 0000000000..eb3d029f26 --- /dev/null +++ b/gemfiles/rails_7_2.gemfile @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +eval_gemfile '../Gemfile' + +gem 'rails', '~> 7.2.0' +gem 'tzinfo-data', require: false From b5a96933b4ecccece893f5962ce8c910a5195ea0 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 10 Aug 2024 15:16:27 +0200 Subject: [PATCH 2/2] Add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1000c1a4c..465f6fc89a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * [#2475](https://github.com/ruby-grape/grape/pull/2475): Remove Grape::Util::Registrable - [@ericproulx](https://github.com/ericproulx). * [#2484](https://github.com/ruby-grape/grape/pull/2484): Refactor versioner middlewares - [@ericproulx](https://github.com/ericproulx). +* [#2489](https://github.com/ruby-grape/grape/pull/2489): Add Rails 7.2 in CI workflow - [@ericproulx](https://github.com/ericproulx). * Your contribution here. #### Fixes