Skip to content

Commit

Permalink
chore: Upgrade to Rails 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed Aug 10, 2024
1 parent fec9abf commit b40221c
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 52 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.rc1', '< 7.3'
gem 'activerecord', '~> 7.2.0', '< 7.3'
end
36 changes: 18 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (7.2.0.rc1)
actionview (= 7.2.0.rc1)
activesupport (= 7.2.0.rc1)
actionpack (7.2.0)
actionview (= 7.2.0)
activesupport (= 7.2.0)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
Expand All @@ -20,19 +20,19 @@ GEM
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (7.2.0.rc1)
activesupport (= 7.2.0.rc1)
actionview (7.2.0)
activesupport (= 7.2.0)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
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)
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.rc1)
activesupport (7.2.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
Expand All @@ -56,7 +56,7 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
Expand Down Expand Up @@ -85,8 +85,8 @@ GEM
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.1)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
Expand All @@ -111,9 +111,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.2.0.rc1)
actionpack (= 7.2.0.rc1)
activesupport (= 7.2.0.rc1)
railties (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -152,7 +152,7 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
Expand Down
8 changes: 4 additions & 4 deletions gemfiles/activerecord_6.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
Expand All @@ -69,8 +69,8 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.1)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
Expand Down Expand Up @@ -123,7 +123,7 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
Expand Down
8 changes: 4 additions & 4 deletions gemfiles/activerecord_7.0.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
Expand All @@ -68,8 +68,8 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.1)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
Expand Down Expand Up @@ -123,7 +123,7 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
Expand Down
8 changes: 4 additions & 4 deletions gemfiles/activerecord_7.1.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
Expand Down Expand Up @@ -83,8 +83,8 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.1)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
Expand Down Expand Up @@ -150,7 +150,7 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
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.rc1", "< 7.3"
gem "activerecord", "~> 7.2.0", "< 7.3"

gemspec path: "../"
38 changes: 19 additions & 19 deletions gemfiles/activerecord_7.2.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (7.2.0.rc1)
actionview (= 7.2.0.rc1)
activesupport (= 7.2.0.rc1)
actionpack (7.2.0)
actionview (= 7.2.0)
activesupport (= 7.2.0)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
Expand All @@ -20,19 +20,19 @@ GEM
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (7.2.0.rc1)
activesupport (= 7.2.0.rc1)
actionview (7.2.0)
activesupport (= 7.2.0)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
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)
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.rc1)
activesupport (7.2.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
Expand All @@ -56,7 +56,7 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner-active_record (2.2.0)
Expand Down Expand Up @@ -93,8 +93,8 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.1)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.5.7)
Expand All @@ -119,9 +119,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.2.0.rc1)
actionpack (= 7.2.0.rc1)
activesupport (= 7.2.0.rc1)
railties (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -160,7 +160,7 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
Expand Down Expand Up @@ -204,7 +204,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activerecord (~> 7.2.0.rc1, < 7.3)
activerecord (~> 7.2.0, < 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.rc1')
if ActiveRecord.gem_version < Gem::Version.new('7.2.0')
connection_pool.connection
else
connection_pool.lease_connection
Expand Down

0 comments on commit b40221c

Please sign in to comment.