From 8f032cf6a504649d5f9d3f50478320ac0438501c Mon Sep 17 00:00:00 2001 From: Ilya Denisov Date: Fri, 2 Aug 2024 15:37:38 +0300 Subject: [PATCH] Add rails 7.2 to the matrix (along with sqlite3 2.x) --- .github/workflows/ruby.yml | 2 +- gemfiles/base.gemfile | 2 +- gemfiles/rails.6.1.activerecord.gemfile | 1 + gemfiles/rails.7.0.activerecord.gemfile | 1 + gemfiles/rails.7.1.activerecord.gemfile | 1 + gemfiles/rails.7.2.activerecord.gemfile | 15 +++++++++++++++ 6 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 gemfiles/rails.7.2.activerecord.gemfile diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 825a8d4a..f9ec1e5b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: ruby: [ '3.0', '3.1', '3.2' ] - gemfile: [rails.6.1.activerecord, rails.7.0.activerecord, rails.7.1.activerecord] + gemfile: [rails.6.1.activerecord, rails.7.0.activerecord, rails.7.1.activerecord, rails.7.2.activerecord] name: ${{ matrix.ruby }}-${{ matrix.gemfile }} env: diff --git a/gemfiles/base.gemfile b/gemfiles/base.gemfile index d5fef2c0..fe23fe22 100644 --- a/gemfiles/base.gemfile +++ b/gemfiles/base.gemfile @@ -7,6 +7,6 @@ gem 'rspec', '>= 3.7.0' gem 'rspec-collection_matchers' gem 'rspec-its' gem 'rubocop', '1.65.0' -gem 'sqlite3', '~> 2.0' +gem 'sqlite3' gem 'timecop' gem 'unparser' diff --git a/gemfiles/rails.6.1.activerecord.gemfile b/gemfiles/rails.6.1.activerecord.gemfile index 526db972..02bf0d1e 100644 --- a/gemfiles/rails.6.1.activerecord.gemfile +++ b/gemfiles/rails.6.1.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.0.activerecord.gemfile b/gemfiles/rails.7.0.activerecord.gemfile index 1176622a..c899b2c4 100644 --- a/gemfiles/rails.7.0.activerecord.gemfile +++ b/gemfiles/rails.7.0.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.1.activerecord.gemfile b/gemfiles/rails.7.1.activerecord.gemfile index eb39c6ee..747e05d0 100644 --- a/gemfiles/rails.7.1.activerecord.gemfile +++ b/gemfiles/rails.7.1.activerecord.gemfile @@ -7,6 +7,7 @@ gem 'kaminari-core', '~> 1.1.0', require: false gem 'parallel', require: false gem 'rspec_junit_formatter', '~> 0.4.1' gem 'sidekiq', require: false +gem 'sqlite3', '~> 1.4', '< 2.0' gem 'rexml' diff --git a/gemfiles/rails.7.2.activerecord.gemfile b/gemfiles/rails.7.2.activerecord.gemfile new file mode 100644 index 00000000..233b9f2e --- /dev/null +++ b/gemfiles/rails.7.2.activerecord.gemfile @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +gem 'activejob', '~> 7.2.0' +gem 'activerecord', '~> 7.2.0' +gem 'activesupport', '~> 7.2.0' +gem 'kaminari-core', '~> 1.1.0', require: false +gem 'parallel', require: false +gem 'rspec_junit_formatter', '~> 0.4.1' +gem 'sidekiq', require: false +gem 'sqlite3', '~> 2.0' + +gem 'rexml' + +gemspec path: '../' +eval_gemfile 'base.gemfile'