diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c24d1fe..6ee6f48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,13 +8,14 @@ jobs: fail-fast: false matrix: ruby: - - '3.0.5' - - '3.1.4' - - '3.2.2' + - '3.1.6' + - '3.2.5' + - '3.3.4' rails: - '6.1' - '7.0' - '7.1' + - '7.2' services: postgres: image: postgres:13 diff --git a/Appraisals b/Appraisals index 706da4c..e70016d 100644 --- a/Appraisals +++ b/Appraisals @@ -9,3 +9,7 @@ end appraise '7.1' do gem 'activerecord', '~> 7.1' end + +appraise '7.2' do + gem 'activerecord', '~> 7.2' +end diff --git a/active_record_distinct_on.gemspec b/active_record_distinct_on.gemspec index 1b5793f..b8d3900 100644 --- a/active_record_distinct_on.gemspec +++ b/active_record_distinct_on.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.files = Dir['lib/**/*'] spec.require_paths = %w{ lib } - spec.add_dependency 'activerecord', '>= 6.1', '< 7.2' + spec.add_dependency 'activerecord', '>= 6.1', '< 7.3' spec.add_development_dependency 'bundler' spec.add_development_dependency 'rake', '>= 12.3.3' diff --git a/gemfiles/7.2.gemfile b/gemfiles/7.2.gemfile new file mode 100644 index 0000000..a957df7 --- /dev/null +++ b/gemfiles/7.2.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 7.2" + +gemspec path: "../" diff --git a/gemfiles/7.2.gemfile.lock b/gemfiles/7.2.gemfile.lock new file mode 100644 index 0000000..eab3dba --- /dev/null +++ b/gemfiles/7.2.gemfile.lock @@ -0,0 +1,109 @@ +PATH + remote: .. + specs: + active_record_distinct_on (1.6.0) + activerecord (>= 6.1, < 7.3) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.2.0) + activesupport (= 7.2.0) + activerecord (7.2.0) + activemodel (= 7.2.0) + activesupport (= 7.2.0) + timeout (>= 0.4.0) + activesupport (7.2.0) + 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) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + base64 (0.2.0) + bigdecimal (3.1.8) + coderay (1.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + diff-lcs (1.5.1) + docile (1.4.1) + drb (2.2.1) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + logger (1.6.0) + method_source (1.1.0) + minitest (5.24.1) + pg (1.5.7) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + 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.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) + 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) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.4) + sqlite3 (2.0.3-aarch64-linux-gnu) + sqlite3 (2.0.3-aarch64-linux-musl) + sqlite3 (2.0.3-arm-linux-gnu) + sqlite3 (2.0.3-arm-linux-musl) + sqlite3 (2.0.3-arm64-darwin) + sqlite3 (2.0.3-x86-linux-gnu) + sqlite3 (2.0.3-x86-linux-musl) + sqlite3 (2.0.3-x86_64-darwin) + sqlite3 (2.0.3-x86_64-linux-gnu) + sqlite3 (2.0.3-x86_64-linux-musl) + thor (1.3.1) + timeout (0.4.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + active_record_distinct_on! + activerecord (~> 7.2) + appraisal + bundler + pg + pry + rake (>= 12.3.3) + rspec + simplecov + sqlite3 + +BUNDLED WITH + 2.5.14