From 3806742af654645d22df0fa13a2ce0d5966daa61 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 5 Oct 2023 19:28:27 +0200 Subject: [PATCH] Test Against Rails 7.1 --- .github/workflows/ci.yml | 5 ++++- Appraisals | 4 ++++ gemfiles/rails_7_0.gemfile | 2 +- gemfiles/rails_7_1.gemfile | 13 +++++++++++++ gemfiles/rails_edge.gemfile | 4 ++-- 5 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 gemfiles/rails_7_1.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e28685a..a370810 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,16 @@ jobs: fail-fast: false matrix: ruby: ['2.7', '3.0', '3.1', '3.2'] - gemfile: [ rails_7_0 ] + gemfile: [rails_7_0, rails_71] channel: ['stable'] include: - gemfile: rails_7_0 ruby: head channel: 'experimental' + - gemfile: rails_7_1 + ruby: head + channel: 'experimental' - gemfile: rails_edge ruby: '2.7' channel: 'experimental' diff --git a/Appraisals b/Appraisals index eefc9b9..9e3e256 100644 --- a/Appraisals +++ b/Appraisals @@ -2,6 +2,10 @@ appraise "rails_7_0" do gem "rails", "~> 7.0.0" end +appraise "rails_7_1" do + gem "rails", "~> 7.1.0" +end + appraise "rails_edge" do gem "rails", git: "https://github.com/rails/rails.git", branch: "main" end diff --git a/gemfiles/rails_7_0.gemfile b/gemfiles/rails_7_0.gemfile index 1ab09ef..6b12c6a 100644 --- a/gemfiles/rails_7_0.gemfile +++ b/gemfiles/rails_7_0.gemfile @@ -1,6 +1,6 @@ # This file was generated by Appraisal -source "http://rubygems.org" +source "https://rubygems.org" gem "rails", "~> 7.0.0" gem "rspec" diff --git a/gemfiles/rails_7_1.gemfile b/gemfiles/rails_7_1.gemfile new file mode 100644 index 0000000..5da8edc --- /dev/null +++ b/gemfiles/rails_7_1.gemfile @@ -0,0 +1,13 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.1.0" +gem "rspec" +gem "rspec-rails", "~> 6.0" +gem "sqlite3" +gem "byebug" +gem "appraisal" +gem "nokogiri", "~> 1.8" + +gemspec path: "../" diff --git a/gemfiles/rails_edge.gemfile b/gemfiles/rails_edge.gemfile index c0f17d4..2694eea 100644 --- a/gemfiles/rails_edge.gemfile +++ b/gemfiles/rails_edge.gemfile @@ -1,10 +1,10 @@ # This file was generated by Appraisal -source "http://rubygems.org" +source "https://rubygems.org" gem "rails", git: "https://github.com/rails/rails.git", branch: "main" gem "rspec" -gem "rspec-rails", "~> 3.7" +gem "rspec-rails", "~> 6.0" gem "sqlite3" gem "byebug" gem "appraisal"