From a0590c774889590c1626a4ae0473beafc661d9f4 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Mon, 9 Jan 2023 14:40:12 -0800 Subject: [PATCH] Upgrade to ruby 3.2.0 --- .ruby-version | 2 +- Gemfile | 35 +++++++++++++++++------------------ Gemfile.lock | 37 ++++++++++++++++++++++--------------- 3 files changed, 40 insertions(+), 34 deletions(-) diff --git a/.ruby-version b/.ruby-version index 7bde84d..a9cadc6 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.1.2 +ruby-3.2.0 diff --git a/Gemfile b/Gemfile index 0ddfd60..918dd68 100644 --- a/Gemfile +++ b/Gemfile @@ -1,34 +1,34 @@ -source "https://rubygems.org" +source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.1.2" +ruby '3.2.0' # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" -gem "rails", "~> 7.0.4" +gem 'rails', '~> 7.0.4' # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] -gem "sprockets-rails" +gem 'sprockets-rails' # Use postgresql as the database for Active Record -gem "pg", "~> 1.1" +gem 'pg', '~> 1.1' # Use the Puma web server [https://github.com/puma/puma] -gem "puma", "~> 5.0" +gem 'puma', '~> 5.0' # Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails] -gem "jsbundling-rails" +gem 'jsbundling-rails' # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] -gem "turbo-rails" +gem 'turbo-rails' # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] -gem "stimulus-rails" +gem 'stimulus-rails' # Bundle and process CSS [https://github.com/rails/cssbundling-rails] -gem "cssbundling-rails" +gem 'cssbundling-rails' # Build JSON APIs with ease [https://github.com/rails/jbuilder] -gem "jbuilder" +gem 'jbuilder' # Use Redis adapter to run Action Cable in production # gem "redis", "~> 4.0" @@ -40,10 +40,10 @@ gem "jbuilder" # gem "bcrypt", "~> 3.1.7" # Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] +gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] # Reduces boot times through caching; required in config/boot.rb -gem "bootsnap", require: false +gem 'bootsnap', require: false # Use Sass to process CSS # gem "sassc-rails" @@ -55,12 +55,12 @@ gem 'mail_form' group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem - gem "debug", platforms: %i[ mri mingw x64_mingw ] + gem 'debug', platforms: %i[mri mingw x64_mingw] end group :development do # Use console on exceptions pages [https://github.com/rails/web-console] - gem "web-console" + gem 'web-console' # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler] # gem "rack-mini-profiler" @@ -69,8 +69,7 @@ group :development do # gem "spring" end - group :development, :test do - gem "rspec-rails" - gem "factory_bot_rails" + gem 'factory_bot_rails' + gem 'rspec-rails' end diff --git a/Gemfile.lock b/Gemfile.lock index 6d862f0..94a8ed5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -74,11 +74,12 @@ GEM crass (1.0.6) cssbundling-rails (1.1.1) railties (>= 6.0.0) + date (3.3.3) debug (1.6.2) irb (>= 1.3.6) reline (>= 0.3.1) diff-lcs (1.5.0) - erubi (1.11.0) + erubi (1.12.0) factory_bot (6.2.1) activesupport (>= 5.0.0) factory_bot_rails (6.2.0) @@ -96,35 +97,41 @@ GEM activesupport (>= 5.0.0) jsbundling-rails (1.0.3) railties (>= 6.0.0) - loofah (2.19.0) + loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.7.1) + mail (2.8.0) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp mail_form (1.9.0) actionmailer (>= 5.2) activemodel (>= 5.2) marcel (1.0.2) method_source (1.0.0) mini_mime (1.1.2) - minitest (5.16.3) + mini_portile2 (2.8.1) + minitest (5.17.0) msgpack (1.6.0) - net-imap (0.3.1) + net-imap (0.3.4) + date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.1.3) + net-protocol (0.2.1) timeout - net-smtp (0.3.2) + net-smtp (0.3.3) net-protocol nio4r (2.5.8) - nokogiri (1.13.8-x86_64-linux) + nokogiri (1.13.10) + mini_portile2 (~> 2.8.0) racc (~> 1.4) pg (1.4.3) puma (5.6.5) nio4r (~> 2.0) - racc (1.6.0) - rack (2.2.4) + racc (1.6.2) + rack (2.2.5) rack-test (2.0.2) rack (>= 1.3) rails (7.0.4) @@ -144,8 +151,8 @@ GEM rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) + rails-html-sanitizer (1.4.4) + loofah (~> 2.19, >= 2.19.1) railties (7.0.4) actionpack (= 7.0.4) activesupport (= 7.0.4) @@ -183,7 +190,7 @@ GEM stimulus-rails (1.1.0) railties (>= 6.0.0) thor (1.2.1) - timeout (0.3.0) + timeout (0.3.1) turbo-rails (1.3.0) actionpack (>= 6.0.0) activejob (>= 6.0.0) @@ -198,7 +205,7 @@ GEM websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.6.1) + zeitwerk (2.6.6) PLATFORMS x86_64-linux @@ -222,7 +229,7 @@ DEPENDENCIES web-console RUBY VERSION - ruby 3.1.2p20 + ruby 3.2.0p0 BUNDLED WITH 2.3.17