From 664771230c14c1242d813736a56fd49acd96ccee Mon Sep 17 00:00:00 2001 From: Bruno Sedler Date: Fri, 22 Nov 2024 11:44:00 +0100 Subject: [PATCH] Add support for Rails 7.1, 7.2 and Rails 3.3 --- .github/workflows/test.yml | 10 ++++- CHANGELOG.md | 2 + Gemfile.7.1.pg | 15 +++++++ Gemfile.7.1.pg.lock | 91 ++++++++++++++++++++++++++++++++++++++ Gemfile.7.2.pg | 15 +++++++ Gemfile.7.2.pg.lock | 89 +++++++++++++++++++++++++++++++++++++ 6 files changed, 221 insertions(+), 1 deletion(-) create mode 100644 Gemfile.7.1.pg create mode 100644 Gemfile.7.1.pg.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 a5bcbce..e302638 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Run tests run: bundle exec rspec test_pg: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 services: postgres: image: postgres @@ -80,10 +80,18 @@ jobs: gemfile: Gemfile.6.1.pg - ruby: 2.7.4 gemfile: Gemfile.7.0.pg + - ruby: 2.7.4 + gemfile: Gemfile.7.1.pg - ruby: 3.2.1 gemfile: Gemfile.6.1.pg - ruby: 3.2.1 gemfile: Gemfile.7.0.pg + - ruby: 3.3.6 + gemfile: Gemfile.7.0.pg + - ruby: 3.3.6 + gemfile: Gemfile.7.1.pg + - ruby: 3.3.6 + gemfile: Gemfile.7.2.pg env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b5e35f..936ff5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html ### Compatible changes +- Add support for Rails 7.1, 7.2 and Ruby 3.3 + ## 1.2.1 - 2024-10-25 diff --git a/Gemfile.7.1.pg b/Gemfile.7.1.pg new file mode 100644 index 0000000..1326e66 --- /dev/null +++ b/Gemfile.7.1.pg @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.1.5' +gem 'pg', '>=1.3' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'gemika', '>=0.8.1' +gem 'pry-byebug', '>=3.10.1' + +# Gem under test +gem 'has_defaults', path: '.' diff --git a/Gemfile.7.1.pg.lock b/Gemfile.7.1.pg.lock new file mode 100644 index 0000000..0e3c74d --- /dev/null +++ b/Gemfile.7.1.pg.lock @@ -0,0 +1,91 @@ +PATH + remote: . + specs: + has_defaults (1.2.1) + activerecord + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.1.5) + activesupport (= 7.1.5) + activerecord (7.1.5) + activemodel (= 7.1.5) + activesupport (= 7.1.5) + timeout (>= 0.4.0) + activesupport (7.1.5) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + mutex_m + securerandom (>= 0.3) + tzinfo (~> 2.0) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.8) + byebug (11.1.3) + coderay (1.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.1.0) + 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) + gemika (0.8.3) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + logger (1.6.1) + method_source (1.1.0) + minitest (5.25.2) + mutex_m (0.3.0) + pg (1.5.9) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.10.1) + byebug (~> 11.0) + pry (>= 0.13, < 0.15) + 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.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + securerandom (0.3.2) + timeout (0.4.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + +DEPENDENCIES + activerecord (~> 7.1.5) + database_cleaner + gemika (>= 0.8.1) + has_defaults! + pg (>= 1.3) + pry-byebug (>= 3.10.1) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.3.26 diff --git a/Gemfile.7.2.pg b/Gemfile.7.2.pg new file mode 100644 index 0000000..17f65c1 --- /dev/null +++ b/Gemfile.7.2.pg @@ -0,0 +1,15 @@ +source 'https://rubygems.org' + +# Runtime dependencies +gem 'activerecord', '~>7.2.2' +gem 'pg', '>=1.3' + +# Development dependencies +gem 'rake' +gem 'database_cleaner' +gem 'rspec', '~>3.5' +gem 'gemika', '>=0.8.1' +gem 'pry-byebug', '>=3.10.1' + +# Gem under test +gem 'has_defaults', path: '.' diff --git a/Gemfile.7.2.pg.lock b/Gemfile.7.2.pg.lock new file mode 100644 index 0000000..b76b28f --- /dev/null +++ b/Gemfile.7.2.pg.lock @@ -0,0 +1,89 @@ +PATH + remote: . + specs: + has_defaults (1.2.1) + activerecord + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.2.2) + activesupport (= 7.2.2) + activerecord (7.2.2) + activemodel (= 7.2.2) + activesupport (= 7.2.2) + timeout (>= 0.4.0) + activesupport (7.2.2) + base64 + benchmark (>= 0.3) + 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) + benchmark (0.4.0) + bigdecimal (3.1.8) + byebug (11.1.3) + coderay (1.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + database_cleaner (2.1.0) + 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) + gemika (0.8.3) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + logger (1.6.1) + method_source (1.1.0) + minitest (5.25.2) + pg (1.5.9) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.10.1) + byebug (~> 11.0) + pry (>= 0.13, < 0.15) + 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.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + securerandom (0.3.2) + timeout (0.4.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + +DEPENDENCIES + activerecord (~> 7.2.2) + database_cleaner + gemika (>= 0.8.1) + has_defaults! + pg (>= 1.3) + pry-byebug (>= 3.10.1) + rake + rspec (~> 3.5) + +BUNDLED WITH + 2.5.23