From efb59aa8bb0ffb5e0a4e3a3e44a311a96ec1b617 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Sun, 11 Aug 2024 06:09:04 +0200 Subject: [PATCH] Add support for Rails 7.2 --- .github/workflows/ci.yml | 1 + Appraisals | 4 ++++ gemfiles/rails_7.2.0.gemfile | 22 ++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 gemfiles/rails_7.2.0.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1d663d..cf83433 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: - '3.1' - 'head' rails: + - rails_7.2.0 - rails_7.1.3 - rails_7.0.8 diff --git a/Appraisals b/Appraisals index 6e642e8..27377e5 100644 --- a/Appraisals +++ b/Appraisals @@ -3,6 +3,7 @@ RAILS_VERSIONS = %w[ 7.0.8 7.1.3 + 7.2.0 ].freeze RAILS_VERSIONS.each do |version| @@ -29,6 +30,9 @@ RAILS_VERSIONS.each do |version| install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do gem "logger" end + + when "7.2.0" + gem "sprockets-rails" end end diff --git a/gemfiles/rails_7.2.0.gemfile b/gemfiles/rails_7.2.0.gemfile new file mode 100644 index 0000000..c32738c --- /dev/null +++ b/gemfiles/rails_7.2.0.gemfile @@ -0,0 +1,22 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion" +gem "capybara" +gem "cuprite" +gem "guard-rspec" +gem "jquery-rails" +gem "puma" +gem "rake" +gem "rspec-rails" +gem "rubocop" +gem "rubocop-capybara" +gem "rubocop-rake" +gem "rubocop-rspec" +gem "simplecov" +gem "sqlite3", "~> 1.5.0" +gem "rails", "7.2.0" +gem "sprockets-rails" + +gemspec path: "../"