From 69fa2c2ae56223e09d42cc706641b199fbba7590 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 18:59:44 +0000 Subject: [PATCH 1/2] Update dependency rails to '~> 8.1.0' --- Gemfile | 2 +- Gemfile.lock | 146 ++++++++++++++++++++++++++------------------------- 2 files changed, 76 insertions(+), 72 deletions(-) diff --git a/Gemfile b/Gemfile index 88071f64..c082f436 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ source 'https://rubygems.org' ruby '3.4.7' # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" -gem 'rails', '~> 8.0.0' +gem 'rails', '~> 8.1.0' # Use postgresql as the database for Active Record gem 'pg', '~> 1.1' diff --git a/Gemfile.lock b/Gemfile.lock index a4e5102e..85d7c068 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,29 +1,31 @@ GEM remote: https://rubygems.org/ specs: - actioncable (8.0.4) - actionpack (= 8.0.4) - activesupport (= 8.0.4) + action_text-trix (2.1.18) + railties + actioncable (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (8.0.4) - actionpack (= 8.0.4) - activejob (= 8.0.4) - activerecord (= 8.0.4) - activestorage (= 8.0.4) - activesupport (= 8.0.4) + actionmailbox (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) mail (>= 2.8.0) - actionmailer (8.0.4) - actionpack (= 8.0.4) - actionview (= 8.0.4) - activejob (= 8.0.4) - activesupport (= 8.0.4) + actionmailer (8.1.3) + actionpack (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activesupport (= 8.1.3) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (8.0.4) - actionview (= 8.0.4) - activesupport (= 8.0.4) + actionpack (8.1.3) + actionview (= 8.1.3) + activesupport (= 8.1.3) nokogiri (>= 1.8.5) rack (>= 2.2.4) rack-session (>= 1.0.1) @@ -31,42 +33,43 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (8.0.4) - actionpack (= 8.0.4) - activerecord (= 8.0.4) - activestorage (= 8.0.4) - activesupport (= 8.0.4) + actiontext (8.1.3) + action_text-trix (~> 2.1.15) + actionpack (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (8.0.4) - activesupport (= 8.0.4) + actionview (8.1.3) + activesupport (= 8.1.3) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (8.0.4) - activesupport (= 8.0.4) + activejob (8.1.3) + activesupport (= 8.1.3) globalid (>= 0.3.6) - activemodel (8.0.4) - activesupport (= 8.0.4) - activerecord (8.0.4) - activemodel (= 8.0.4) - activesupport (= 8.0.4) + activemodel (8.1.3) + activesupport (= 8.1.3) + activerecord (8.1.3) + activemodel (= 8.1.3) + activesupport (= 8.1.3) timeout (>= 0.4.0) - activestorage (8.0.4) - actionpack (= 8.0.4) - activejob (= 8.0.4) - activerecord (= 8.0.4) - activesupport (= 8.0.4) + activestorage (8.1.3) + actionpack (= 8.1.3) + activejob (= 8.1.3) + activerecord (= 8.1.3) + activesupport (= 8.1.3) marcel (~> 1.0) - activesupport (8.0.4) + activesupport (8.1.3) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) @@ -77,7 +80,6 @@ GEM ast (2.4.3) base64 (0.3.0) bcrypt (3.1.22) - benchmark (0.5.0) bigdecimal (3.3.1) binding_of_caller (1.0.1) debug_inspector (>= 1.2.0) @@ -157,8 +159,9 @@ GEM mini_magick (>= 4.9.5, < 6) ruby-vips (>= 2.0.17, < 3) io-console (0.8.2) - irb (1.16.0) + irb (1.17.0) pp (>= 0.6.0) + prism (>= 1.3.0) rdoc (>= 4.0.0) reline (>= 0.4.2) json (2.19.3) @@ -173,15 +176,16 @@ GEM activesupport (>= 4) railties (>= 4) request_store (~> 1.0) - loofah (2.25.0) + loofah (2.25.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) - mail (2.8.1) + mail (2.9.0) + logger mini_mime (>= 0.1.1) net-imap net-pop net-smtp - marcel (1.0.4) + marcel (1.1.0) method_source (1.1.0) mini_magick (4.13.2) mini_mime (1.1.5) @@ -190,7 +194,7 @@ GEM msgpack (1.8.0) multi_xml (0.7.2) bigdecimal (~> 3.1) - net-imap (0.5.13) + net-imap (0.6.3) date net-protocol net-pop (0.1.2) @@ -200,7 +204,7 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.18.10) + nokogiri (1.19.2) mini_portile2 (~> 2.8.2) racc (~> 1.4) open3 (0.2.1) @@ -231,38 +235,38 @@ GEM nio4r (~> 2.0) raabro (1.4.0) racc (1.8.1) - rack (3.2.4) - rack-session (2.1.1) + rack (3.2.6) + rack-session (2.1.2) base64 (>= 0.1.0) rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) rackup (2.3.1) rack (>= 3) - rails (8.0.4) - actioncable (= 8.0.4) - actionmailbox (= 8.0.4) - actionmailer (= 8.0.4) - actionpack (= 8.0.4) - actiontext (= 8.0.4) - actionview (= 8.0.4) - activejob (= 8.0.4) - activemodel (= 8.0.4) - activerecord (= 8.0.4) - activestorage (= 8.0.4) - activesupport (= 8.0.4) + rails (8.1.3) + actioncable (= 8.1.3) + actionmailbox (= 8.1.3) + actionmailer (= 8.1.3) + actionpack (= 8.1.3) + actiontext (= 8.1.3) + actionview (= 8.1.3) + activejob (= 8.1.3) + activemodel (= 8.1.3) + activerecord (= 8.1.3) + activestorage (= 8.1.3) + activesupport (= 8.1.3) bundler (>= 1.15.0) - railties (= 8.0.4) + railties (= 8.1.3) rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.2) - loofah (~> 2.21) + rails-html-sanitizer (1.7.0) + loofah (~> 2.25) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - railties (8.0.4) - actionpack (= 8.0.4) - activesupport (= 8.0.4) + railties (8.1.3) + actionpack (= 8.1.3) + activesupport (= 8.1.3) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -270,7 +274,7 @@ GEM tsort (>= 0.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.4.1) + rake (13.4.2) rdoc (6.17.0) erb psych (>= 4.0.0) @@ -375,8 +379,8 @@ GEM simplecov_json_formatter (0.1.4) stringio (3.2.0) test-prof (1.5.0) - thor (1.4.0) - timeout (0.6.0) + thor (1.5.0) + timeout (0.6.1) triangulum (0.13.0) base64 (~> 0.3) json (~> 2.19) @@ -393,11 +397,11 @@ GEM parser (>= 3.3.0) uri (1.1.1) useragent (0.16.11) - websocket-driver (0.7.7) + websocket-driver (0.8.0) base64 websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - zeitwerk (2.7.4) + zeitwerk (2.7.5) PLATFORMS ruby @@ -422,7 +426,7 @@ DEPENDENCIES pry (~> 0.15.0) pry-byebug (~> 3.10) puma (>= 5.0) - rails (~> 8.0.0) + rails (~> 8.1.0) rotp rspec-parameterized (~> 2.0) rspec-rails (~> 8.0) From b797f0034df359e89896559d004fe28f0d74b612 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Tue, 21 Apr 2026 21:43:50 +0200 Subject: [PATCH 2/2] Finalize rails 8.1 update --- Gemfile | 2 ++ Gemfile.lock | 2 ++ bin/rubocop | 2 +- config/application.rb | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c082f436..df7661da 100644 --- a/Gemfile +++ b/Gemfile @@ -93,3 +93,5 @@ gem 'image_processing', '>= 1.2' gem 'json-schema', '~> 6.0' gem 'triangulum', '0.13.0' + +gem 'benchmark' diff --git a/Gemfile.lock b/Gemfile.lock index 85d7c068..f06223d7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -80,6 +80,7 @@ GEM ast (2.4.3) base64 (0.3.0) bcrypt (3.1.22) + benchmark (0.5.0) bigdecimal (3.3.1) binding_of_caller (1.0.1) debug_inspector (>= 1.2.0) @@ -408,6 +409,7 @@ PLATFORMS DEPENDENCIES bcrypt (~> 3.1.7) + benchmark bootsnap code0-identities (~> 0.0.3) code0-license (~> 0.3.0) diff --git a/bin/rubocop b/bin/rubocop index 40330c0f..5a205047 100644 --- a/bin/rubocop +++ b/bin/rubocop @@ -2,7 +2,7 @@ require "rubygems" require "bundler/setup" -# explicit rubocop config increases performance slightly while avoiding config confusion. +# Explicit RuboCop config increases performance slightly while avoiding config confusion. ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__)) load Gem.bin_path("rubocop", "rubocop") diff --git a/config/application.rb b/config/application.rb index 25b5c803..cddad99f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -15,7 +15,7 @@ module Sagittarius class Application < Rails::Application - config.load_defaults 8.0 + config.load_defaults 8.1 # Use SQL instead of Active Record's schema dumper when creating the database. # This is necessary if your schema can't be completely dumped by the schema dumper,