Skip to content

Commit

Permalink
Upgrade Rails to 7.1 (#278)
Browse files Browse the repository at this point in the history
* bundle update

* bin/rails app:update

* Load 7.1 defaults

* Fix warnings and errors on benchmarks
  • Loading branch information
k0kubun authored Jan 25, 2024
1 parent 3774b4b commit c91ccc1
Show file tree
Hide file tree
Showing 50 changed files with 925 additions and 851 deletions.
4 changes: 2 additions & 2 deletions benchmarks/activerecord/Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "https://rubygems.org"
gem "activerecord", "~> 6.0.6"
gem "activerecord", "~> 7.1"
gem "sqlite3", "~> 1.4", platform: :ruby
gem "activerecord-jdbcsqlite3-adapter", "~> 60.4", platform: :jruby
gem "activerecord-jdbcsqlite3-adapter", "~> 70", platform: :jruby
gem "mutex_m"
gem "bigdecimal"
gem "base64"
50 changes: 30 additions & 20 deletions benchmarks/activerecord/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
GEM
remote: https://rubygems.org/
specs:
activemodel (6.0.6.1)
activesupport (= 6.0.6.1)
activerecord (6.0.6.1)
activemodel (= 6.0.6.1)
activesupport (= 6.0.6.1)
activesupport (6.0.6.1)
activemodel (7.1.3)
activesupport (= 7.1.3)
activerecord (7.1.3)
activemodel (= 7.1.3)
activesupport (= 7.1.3)
timeout (>= 0.4.0)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
base64 (0.2.0)
bigdecimal (3.1.6)
concurrent-ruby (1.2.0)
i18n (1.12.0)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
drb (2.2.0)
ruby2_keywords
i18n (1.14.1)
concurrent-ruby (~> 1.0)
minitest (5.17.0)
mini_portile2 (2.8.5)
minitest (5.21.2)
mutex_m (0.2.0)
sqlite3 (1.4.2)
thread_safe (0.3.6)
tzinfo (1.2.11)
thread_safe (~> 0.1)
zeitwerk (2.6.6)
ruby2_keywords (0.0.5)
sqlite3 (1.7.1)
mini_portile2 (~> 2.8.0)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)

PLATFORMS
arm64-darwin-21
Expand All @@ -33,8 +43,8 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activerecord (~> 6.0.6)
activerecord-jdbcsqlite3-adapter (~> 60.4)
activerecord (~> 7.1)
activerecord-jdbcsqlite3-adapter (~> 70)
base64
bigdecimal
mutex_m
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/erubi-rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
actiontext activejob activemodel activerecord
activestorage activesupport railties
].each do |rails_gem|
gem rails_gem, '~> 6.1.4', '>= 6.1.4.1'
gem rails_gem, '~> 7.1'
end

gem 'sprockets-rails', '3.4.0'

# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4', platform: :ruby
gem 'activerecord-jdbcsqlite3-adapter', '~> 61', platform: :jruby
gem 'activerecord-jdbcsqlite3-adapter', '~> 70', platform: :jruby
# Use Puma as the app server
# gem 'puma', '~> 5.6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
Expand Down
Loading

0 comments on commit c91ccc1

Please sign in to comment.