From 6cbbd618b642bb2e6a960879511bfabc793a23d1 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 06:11:57 +0000 Subject: [PATCH] Update all Bundler dependencies (2026-05-11) --- Gemfile.lock | 10 +++++----- app/controllers/feeds_controller.rb | 2 +- app/controllers/imports_controller.rb | 5 ++++- app/controllers/settings_controller.rb | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fde945430..d1cae5cf7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - action_text-trix (2.1.18) + action_text-trix (2.1.19) railties actioncable (8.1.3) actionpack (= 8.1.3) @@ -95,7 +95,7 @@ GEM bcrypt (3.1.22) bigdecimal (4.1.2) bindex (0.8.1) - bootsnap (1.24.1) + bootsnap (1.24.3) msgpack (~> 1.2) brakeman (8.0.4) racc @@ -149,7 +149,7 @@ GEM erubi (1.13.1) et-orbi (1.4.0) tzinfo - factory_bot (6.5.6) + factory_bot (6.6.0) activesupport (>= 6.1.0) factory_bot_rails (6.5.1) factory_bot (~> 6.5) @@ -216,7 +216,7 @@ GEM prism (~> 1.5) mize (0.6.1) msgpack (1.8.0) - multi_xml (0.9.0) + multi_xml (0.9.1) bigdecimal (>= 3.1, < 5) net-imap (0.6.4) date @@ -361,7 +361,7 @@ GEM rubocop-i18n (3.3.0) lint_roller (~> 1.1) rubocop (>= 1.72.1) - rubocop-rails (2.34.3) + rubocop-rails (2.35.0) activesupport (>= 4.2.0) lint_roller (~> 1.1) rack (>= 1.1) diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index b54de2d4e..5c4805d11 100644 --- a/app/controllers/feeds_controller.rb +++ b/app/controllers/feeds_controller.rb @@ -55,7 +55,7 @@ def update end def destroy - authorization.check(Feed.find(params[:id])) + authorization.check(Feed.find(params.expect(:id))) FeedRepository.delete(params[:id]) flash[:success] = t(".success") diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb index c8887548c..664d736fc 100644 --- a/app/controllers/imports_controller.rb +++ b/app/controllers/imports_controller.rb @@ -7,7 +7,10 @@ def new def create authorization.skip - Feed::ImportFromOpml.call(params["opml_file"].read, user: current_user) + Feed::ImportFromOpml.call( + params.expect("opml_file").read, + user: current_user + ) redirect_to("/setup/tutorial") end diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 8452f4ca6..ee3dde19c 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -8,7 +8,7 @@ def index def update authorization.skip - setting = Setting.find(params[:id]) + setting = Setting.find(params.expect(:id)) setting.update!(setting_params) redirect_to(settings_path)