From d2fa1c9e972a2aee3e2a0491856143dce4c71cc1 Mon Sep 17 00:00:00 2001 From: Alex Dunae Date: Sat, 9 Mar 2024 19:20:38 -0800 Subject: [PATCH] Add Ruby 3.3 and Rails 7.1 --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++-- Appraisals | 4 ++++ gemfiles/rails_7.1.gemfile | 7 +++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 gemfiles/rails_7.1.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90b0a2a..258130e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,31 +15,63 @@ jobs: strategy: matrix: - ruby: ["2.6", "2.7", "3.0", "3.1"] - gemfile: ["4.2", "5.0", "5.1", "5.2", "6.0", "6.1", "7.0"] + ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"] + gemfile: ["4.2", "5.0", "5.1", "5.2", "6.0", "6.1", "7.0", "7.1"] + exclude: - gemfile: "4.2" ruby: "3.0" - gemfile: "4.2" ruby: "3.1" + - gemfile: "4.2" + ruby: "3.2" + - gemfile: "4.2" + ruby: "3.3" - gemfile: "5.0" ruby: "3.0" - gemfile: "5.0" ruby: "3.1" + - gemfile: "5.0" + ruby: "3.2" + - gemfile: "5.0" + ruby: "3.3" - gemfile: "5.1" ruby: "3.0" - gemfile: "5.1" ruby: "3.1" + - gemfile: "5.1" + ruby: "3.2" + - gemfile: "5.1" + ruby: "3.3" - gemfile: "5.2" ruby: "3.0" - gemfile: "5.2" ruby: "3.1" + - gemfile: "5.2" + ruby: "3.2" + - gemfile: "5.2" + ruby: "3.3" + - gemfile: "6.0" + ruby: "3.2" + - gemfile: "6.0" + ruby: "3.3" + - gemfile: "6.1" + ruby: "3.2" + - gemfile: "6.1" + ruby: "3.3" - gemfile: "7.0" ruby: "2.5" - gemfile: "7.0" ruby: "2.6" - gemfile: "7.0" ruby: "2.7" + - gemfile: "7.1" + ruby: "2.5" + - gemfile: "7.1" + ruby: "2.6" + - gemfile: "7.1" + ruby: "2.7" + env: BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.gemfile }}.gemfile diff --git a/Appraisals b/Appraisals index 51ed0d6..ea72315 100644 --- a/Appraisals +++ b/Appraisals @@ -1,4 +1,8 @@ # run `bundle exec appraisal install` after making changes here +appraise "rails-7.1" do + gem "rails", "~> 7.1" +end + appraise "rails-7.0" do gem "rails", "~> 7.0" end diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile new file mode 100644 index 0000000..9f02e96 --- /dev/null +++ b/gemfiles/rails_7.1.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "http://rubygems.org" + +gem "rails", "~> 7.1" + +gemspec path: "../"