From ca89a4128df14240162b3bb468e5fcaedc94dae1 Mon Sep 17 00:00:00 2001 From: Florian Leinsinger <43240806+FLeinzi@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:48:57 +0200 Subject: [PATCH] [D-298] Add Rails 7.1 and 7.2 to the test matrix (#18) --- .github/workflows/test.yml | 8 ++++ .ruby-version | 2 +- Gemfile.7.1.mysql2 | 15 +++++++ Gemfile.7.1.mysql2.lock | 82 +++++++++++++++++++++++++++++++++++++ Gemfile.7.1.pg | 15 +++++++ Gemfile.7.1.pg.lock | 82 +++++++++++++++++++++++++++++++++++++ Gemfile.7.2.mysql2 | 15 +++++++ Gemfile.7.2.mysql2.lock | 84 ++++++++++++++++++++++++++++++++++++++ Gemfile.7.2.pg | 15 +++++++ Gemfile.7.2.pg.lock | 84 ++++++++++++++++++++++++++++++++++++++ README.md | 3 ++ 11 files changed, 404 insertions(+), 1 deletion(-) create mode 100644 Gemfile.7.1.mysql2 create mode 100644 Gemfile.7.1.mysql2.lock create mode 100644 Gemfile.7.1.pg create mode 100644 Gemfile.7.1.pg.lock create mode 100644 Gemfile.7.2.mysql2 create mode 100644 Gemfile.7.2.mysql2.lock create mode 100644 Gemfile.7.2.pg create mode 100644 Gemfile.7.2.pg.lock diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fafaa2c..c87caff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,10 @@ jobs: gemfile: Gemfile.6.1.mysql2 - ruby: 3.2.0 gemfile: Gemfile.7.0.mysql2 + - ruby: 3.2.0 + gemfile: Gemfile.7.1.mysql2 + - ruby: 3.2.0 + gemfile: Gemfile.7.2.mysql2 env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: @@ -79,6 +83,10 @@ jobs: gemfile: Gemfile.6.1.pg - ruby: 3.2.0 gemfile: Gemfile.7.0.pg + - ruby: 3.2.0 + gemfile: Gemfile.7.1.pg + - ruby: 3.2.0 + gemfile: Gemfile.7.2.pg env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: diff --git a/.ruby-version b/.ruby-version index ecd7ee5..944880f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.8 +3.2.0 diff --git a/Gemfile.7.1.mysql2 b/Gemfile.7.1.mysql2 new file mode 100644 index 0000000..21c70d5 --- /dev/null +++ b/Gemfile.7.1.mysql2 @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.1.4' +gem 'mysql2', '~>0.5' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'byebug' +gem 'gemika' + +# Gem under test +gem 'minidusen', :path => '.' diff --git a/Gemfile.7.1.mysql2.lock b/Gemfile.7.1.mysql2.lock new file mode 100644 index 0000000..4044c98 --- /dev/null +++ b/Gemfile.7.1.mysql2.lock @@ -0,0 +1,82 @@ +PATH + remote: . + specs: + minidusen (0.11.1) + activerecord (>= 3.2) + activesupport (>= 3.2) + edge_rider (>= 0.2.5) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.1.4) + activesupport (= 7.1.4) + activerecord (7.1.4) + activemodel (= 7.1.4) + activesupport (= 7.1.4) + timeout (>= 0.4.0) + activesupport (7.1.4) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + base64 (0.2.0) + bigdecimal (3.1.8) + byebug (11.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.0.2) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + diff-lcs (1.5.1) + drb (2.2.1) + edge_rider (2.3.0) + activerecord (>= 3.2) + gemika (0.8.3) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + minitest (5.25.1) + mutex_m (0.2.0) + mysql2 (0.5.6) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + timeout (0.4.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.1.4) + byebug + database_cleaner + gemika + minidusen! + mysql2 (~> 0.5) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.5.6 diff --git a/Gemfile.7.1.pg b/Gemfile.7.1.pg new file mode 100644 index 0000000..f41d23f --- /dev/null +++ b/Gemfile.7.1.pg @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.1.4' +gem 'pg', '~> 1.4.0' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'byebug' +gem 'gemika' + +# Gem under test +gem 'minidusen', :path => '.' diff --git a/Gemfile.7.1.pg.lock b/Gemfile.7.1.pg.lock new file mode 100644 index 0000000..7f8998b --- /dev/null +++ b/Gemfile.7.1.pg.lock @@ -0,0 +1,82 @@ +PATH + remote: . + specs: + minidusen (0.11.1) + activerecord (>= 3.2) + activesupport (>= 3.2) + edge_rider (>= 0.2.5) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.1.4) + activesupport (= 7.1.4) + activerecord (7.1.4) + activemodel (= 7.1.4) + activesupport (= 7.1.4) + timeout (>= 0.4.0) + activesupport (7.1.4) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + minitest (>= 5.1) + mutex_m + tzinfo (~> 2.0) + base64 (0.2.0) + bigdecimal (3.1.8) + byebug (11.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.0.2) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + diff-lcs (1.5.1) + drb (2.2.1) + edge_rider (2.3.0) + activerecord (>= 3.2) + gemika (0.8.3) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + minitest (5.25.1) + mutex_m (0.2.0) + pg (1.4.6) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + timeout (0.4.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.1.4) + byebug + database_cleaner + gemika + minidusen! + pg (~> 1.4.0) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.5.6 diff --git a/Gemfile.7.2.mysql2 b/Gemfile.7.2.mysql2 new file mode 100644 index 0000000..15eeef0 --- /dev/null +++ b/Gemfile.7.2.mysql2 @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.2.1' +gem 'mysql2', '~>0.5' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'byebug' +gem 'gemika' + +# Gem under test +gem 'minidusen', :path => '.' diff --git a/Gemfile.7.2.mysql2.lock b/Gemfile.7.2.mysql2.lock new file mode 100644 index 0000000..8dbbee3 --- /dev/null +++ b/Gemfile.7.2.mysql2.lock @@ -0,0 +1,84 @@ +PATH + remote: . + specs: + minidusen (0.11.1) + activerecord (>= 3.2) + activesupport (>= 3.2) + edge_rider (>= 0.2.5) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.2.1) + activesupport (= 7.2.1) + activerecord (7.2.1) + activemodel (= 7.2.1) + activesupport (= 7.2.1) + timeout (>= 0.4.0) + activesupport (7.2.1) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + base64 (0.2.0) + bigdecimal (3.1.8) + byebug (11.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.0.2) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + diff-lcs (1.5.1) + drb (2.2.1) + edge_rider (2.3.0) + activerecord (>= 3.2) + gemika (0.8.3) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + logger (1.6.1) + minitest (5.25.1) + mysql2 (0.5.6) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + securerandom (0.3.1) + timeout (0.4.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.2.1) + byebug + database_cleaner + gemika + minidusen! + mysql2 (~> 0.5) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.5.6 diff --git a/Gemfile.7.2.pg b/Gemfile.7.2.pg new file mode 100644 index 0000000..9cf4631 --- /dev/null +++ b/Gemfile.7.2.pg @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.2.1' +gem 'pg', '~> 1.4.0' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'byebug' +gem 'gemika' + +# Gem under test +gem 'minidusen', :path => '.' diff --git a/Gemfile.7.2.pg.lock b/Gemfile.7.2.pg.lock new file mode 100644 index 0000000..4de00e4 --- /dev/null +++ b/Gemfile.7.2.pg.lock @@ -0,0 +1,84 @@ +PATH + remote: . + specs: + minidusen (0.11.1) + activerecord (>= 3.2) + activesupport (>= 3.2) + edge_rider (>= 0.2.5) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.2.1) + activesupport (= 7.2.1) + activerecord (7.2.1) + activemodel (= 7.2.1) + activesupport (= 7.2.1) + timeout (>= 0.4.0) + activesupport (7.2.1) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + base64 (0.2.0) + bigdecimal (3.1.8) + byebug (11.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.0.2) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.0) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + diff-lcs (1.5.1) + drb (2.2.1) + edge_rider (2.3.0) + activerecord (>= 3.2) + gemika (0.8.3) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + logger (1.6.1) + minitest (5.25.1) + pg (1.4.6) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + securerandom (0.3.1) + timeout (0.4.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.2.1) + byebug + database_cleaner + gemika + minidusen! + pg (~> 1.4.0) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.5.6 diff --git a/README.md b/README.md index 99aae47..ed383ab 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,9 @@ Minidusen is tested on: - Rails 5.2 - Rails 6.0 - Rails 6.1 +- Rails 7.0 +- Rails 7.1 +- Rails 7.2 - MySQL 5.6 - PostgreSQL