diff --git a/Appraisals b/Appraisals index f622967..e961238 100644 --- a/Appraisals +++ b/Appraisals @@ -19,5 +19,5 @@ appraise 'activerecord-7.1.0' do end appraise 'activerecord-7.2.0' do - gem 'activerecord', '~> 7.2.0.beta3', '< 7.3' + gem 'activerecord', '~> 7.2.0.rc1', '< 7.3' end diff --git a/Gemfile.lock b/Gemfile.lock index 11f04e3..9a8444e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,30 +9,30 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.2.0.beta3) - actionview (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + actionpack (7.2.0.rc1) + actionview (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (7.2.0.beta3) - activesupport (= 7.2.0.beta3) + actionview (7.2.0.rc1) + activesupport (= 7.2.0.rc1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.2.0.beta3) - activesupport (= 7.2.0.beta3) - activerecord (7.2.0.beta3) - activemodel (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + activemodel (7.2.0.rc1) + activesupport (= 7.2.0.rc1) + activerecord (7.2.0.rc1) + activemodel (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) timeout (>= 0.4.0) - activesupport (7.2.0.beta3) + activesupport (7.2.0.rc1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -41,6 +41,7 @@ GEM 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 @@ -110,9 +111,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.2.0.beta3) - actionpack (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + railties (7.2.0.rc1) + actionpack (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -168,6 +169,7 @@ GEM scenic (1.8.0) activerecord (>= 4.0.0) railties (>= 4.0.0) + securerandom (0.3.1) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) diff --git a/gemfiles/activerecord_7.2.0.gemfile b/gemfiles/activerecord_7.2.0.gemfile index f6b977f..12e1da3 100644 --- a/gemfiles/activerecord_7.2.0.gemfile +++ b/gemfiles/activerecord_7.2.0.gemfile @@ -12,6 +12,6 @@ gem "rspec", "~> 3.0" gem "rubocop-rspec", "~> 2.3" gem "scenic", "~> 1.5" gem "simplecov", "~> 0.16" -gem "activerecord", "~> 7.2.0.beta3", "< 7.3" +gem "activerecord", "~> 7.2.0.rc1", "< 7.3" gemspec path: "../" diff --git a/gemfiles/activerecord_7.2.0.gemfile.lock b/gemfiles/activerecord_7.2.0.gemfile.lock index e8e91ee..59f7d16 100644 --- a/gemfiles/activerecord_7.2.0.gemfile.lock +++ b/gemfiles/activerecord_7.2.0.gemfile.lock @@ -9,30 +9,30 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.2.0.beta3) - actionview (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + actionpack (7.2.0.rc1) + actionview (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (7.2.0.beta3) - activesupport (= 7.2.0.beta3) + actionview (7.2.0.rc1) + activesupport (= 7.2.0.rc1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.2.0.beta3) - activesupport (= 7.2.0.beta3) - activerecord (7.2.0.beta3) - activemodel (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + activemodel (7.2.0.rc1) + activesupport (= 7.2.0.rc1) + activerecord (7.2.0.rc1) + activemodel (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) timeout (>= 0.4.0) - activesupport (7.2.0.beta3) + activesupport (7.2.0.rc1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -41,6 +41,7 @@ GEM 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 @@ -118,9 +119,9 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.2.0.beta3) - actionpack (= 7.2.0.beta3) - activesupport (= 7.2.0.beta3) + railties (7.2.0.rc1) + actionpack (= 7.2.0.rc1) + activesupport (= 7.2.0.rc1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -176,6 +177,7 @@ GEM scenic (1.8.0) activerecord (>= 4.0.0) railties (>= 4.0.0) + securerandom (0.3.1) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) @@ -202,7 +204,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - activerecord (~> 7.2.0.beta3, < 7.3) + activerecord (~> 7.2.0.rc1, < 7.3) appraisal bundler (~> 2.0) combustion (~> 1.4) diff --git a/lib/table_saw.rb b/lib/table_saw.rb index 13d6a33..ea0e9b3 100644 --- a/lib/table_saw.rb +++ b/lib/table_saw.rb @@ -40,7 +40,7 @@ def self.connection_pool # :nocov: def self.connection - if ActiveRecord.gem_version < Gem::Version.new('7.2.0.beta3') + if ActiveRecord.gem_version < Gem::Version.new('7.2.0.rc1') connection_pool.connection else connection_pool.lease_connection