Skip to content

Commit

Permalink
chore: Update Rails 7.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed Aug 7, 2024
1 parent 3cf9591 commit 17fc798
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 34 deletions.
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
32 changes: 17 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.2.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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: "../"
34 changes: 18 additions & 16 deletions gemfiles/activerecord_7.2.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/table_saw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17fc798

Please sign in to comment.