diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcce2a3..7be530f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,9 +42,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..80de537 100644 --- a/Appraisals +++ b/Appraisals @@ -2,6 +2,7 @@ appraise 'rails_7.0' do gem 'rails', '~> 7.0.0' + gem 'sqlite3', '~> 1.5.0' # Fix: LoadError: cannot load such file -- base64 install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do @@ -15,6 +16,7 @@ end appraise 'rails_7.1' do gem 'rails', '~> 7.1.0' + gem 'sqlite3', '~> 1.5.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. @@ -26,4 +28,9 @@ end appraise 'rails_7.2' do gem 'rails', '~> 7.2.0' + gem 'sqlite3', '~> 1.5.0' +end + +appraise 'rails_8.0' do + gem 'rails', '~> 8.0.0' end diff --git a/Gemfile b/Gemfile index a1b8baa..19000f6 100644 --- a/Gemfile +++ b/Gemfile @@ -16,4 +16,4 @@ gem 'rubocop-rake' gem 'rubocop-rspec' gem 'rubocop-rspec_rails' gem 'simplecov' -gem 'sqlite3', '~> 1.5.0' +gem 'sqlite3', '~> 2.1.0' diff --git a/gemfiles/rails_8.0.gemfile b/gemfiles/rails_8.0.gemfile new file mode 100644 index 0000000..cfa3df2 --- /dev/null +++ b/gemfiles/rails_8.0.gemfile @@ -0,0 +1,19 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" +gem "guard-rspec" +gem "pry" +gem "rake" +gem "rspec-rails" +gem "rubocop" +gem "rubocop-performance" +gem "rubocop-rake" +gem "rubocop-rspec" +gem "rubocop-rspec_rails" +gem "simplecov" +gem "sqlite3", "~> 2.1.0" +gem "rails", "~> 8.0.0" + +gemspec path: "../"