diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ab41af..dcce2a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,9 +42,9 @@ jobs: - '3.1' - 'head' rails: - - rails_7.2.0 - - rails_7.1.3 - - rails_7.0.8 + - rails_7.2 + - rails_7.1 + - rails_7.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 ec5aaf9..e1fe53a 100644 --- a/Appraisals +++ b/Appraisals @@ -1,7 +1,7 @@ # frozen_string_literal: true -appraise 'rails_7.0.8' do - gem 'rails', '7.0.8' +appraise 'rails_7.0' do + gem 'rails', '~> 7.0.0' # Fix: LoadError: cannot load such file -- base64 install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do @@ -13,8 +13,8 @@ appraise 'rails_7.0.8' do end end -appraise 'rails_7.1.3' do - gem 'rails', '7.1.3' +appraise 'rails_7.1' do + gem 'rails', '~> 7.1.0' # Fix: # warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. @@ -24,6 +24,6 @@ appraise 'rails_7.1.3' do end end -appraise 'rails_7.2.0' do - gem 'rails', '7.2.0' +appraise 'rails_7.2' do + gem 'rails', '~> 7.2.0' end diff --git a/gemfiles/rails_7.0.8.gemfile b/gemfiles/rails_7.0.gemfile similarity index 95% rename from gemfiles/rails_7.0.8.gemfile rename to gemfiles/rails_7.0.gemfile index 29d4498..dda1da9 100644 --- a/gemfiles/rails_7.0.8.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -14,7 +14,7 @@ gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" gem "sqlite3", "~> 1.5.0" -gem "rails", "7.0.8" +gem "rails", "~> 7.0.0" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") } do gem "base64" diff --git a/gemfiles/rails_7.1.3.gemfile b/gemfiles/rails_7.1.gemfile similarity index 95% rename from gemfiles/rails_7.1.3.gemfile rename to gemfiles/rails_7.1.gemfile index 95f5ca5..7dbfede 100644 --- a/gemfiles/rails_7.1.3.gemfile +++ b/gemfiles/rails_7.1.gemfile @@ -14,7 +14,7 @@ gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" gem "sqlite3", "~> 1.5.0" -gem "rails", "7.1.3" +gem "rails", "~> 7.1.0" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do gem "logger" diff --git a/gemfiles/rails_7.2.0.gemfile b/gemfiles/rails_7.2.gemfile similarity index 93% rename from gemfiles/rails_7.2.0.gemfile rename to gemfiles/rails_7.2.gemfile index 3726d90..710e573 100644 --- a/gemfiles/rails_7.2.0.gemfile +++ b/gemfiles/rails_7.2.gemfile @@ -14,6 +14,6 @@ gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" gem "sqlite3", "~> 1.5.0" -gem "rails", "7.2.0" +gem "rails", "~> 7.2.0" gemspec path: "../"