From c48fea8e3a8ea41027a56148154432cbdb63a02a Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Fri, 8 Nov 2024 01:11:12 +0100 Subject: [PATCH] Add support for Rails 8.0 --- .github/workflows/ci.yml | 4 ++++ Appraisals | 4 ++++ gemfiles/rails_8.0.gemfile | 17 +++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 gemfiles/rails_8.0.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b5f0a7..2554dc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,9 +55,13 @@ jobs: - '3.1' - 'head' rails: + - rails_8.0 - rails_7.2 - rails_7.1 - rails_7.0 + exclude: + - ruby: '3.1' + rails: 'rails_8.0' env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile diff --git a/Appraisals b/Appraisals index e1fe53a..aebffb7 100644 --- a/Appraisals +++ b/Appraisals @@ -27,3 +27,7 @@ end appraise 'rails_7.2' do gem 'rails', '~> 7.2.0' end + +appraise 'rails_8.0' do + gem 'rails', '~> 8.0.0' +end diff --git a/gemfiles/rails_8.0.gemfile b/gemfiles/rails_8.0.gemfile new file mode 100644 index 0000000..72533c3 --- /dev/null +++ b/gemfiles/rails_8.0.gemfile @@ -0,0 +1,17 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" +gem "debug" +gem "rspec-rails" +gem "rubocop" +gem "rubocop-performance" +gem "rubocop-rake" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "ruby-lsp" +gem "simplecov" +gem "rails", "~> 8.0.0" + +gemspec path: "../"