From fd6eadeff48c5f8d6fb607dfe795a5e0d2883a3b Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 09:31:17 +0000 Subject: [PATCH 1/2] Update rubocop-rails to version 2.20.2 --- Gemfile.lock | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c0da8cd9..a654d6f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -175,6 +175,7 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) + language_server-protocol (3.17.0.3) listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -302,10 +303,11 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.51.0) + rubocop (1.54.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.0.0) + parser (>= 3.2.2.3) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) @@ -318,7 +320,7 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.23.1) rubocop (~> 1.33) - rubocop-rails (2.19.1) + rubocop-rails (2.20.2) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) From fa8f7f626ed4ceba88dfbda1971c9b768ce24828 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Fri, 11 Aug 2023 16:20:42 +0200 Subject: [PATCH 2/2] Correct Style/RedundantFilterChain lint --- lib/tasks/dev.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/dev.rake b/lib/tasks/dev.rake index d0b8eb56..736958db 100644 --- a/lib/tasks/dev.rake +++ b/lib/tasks/dev.rake @@ -44,7 +44,7 @@ namespace :dev do ENV['PATH'].split(':').each do |path| next unless File.exist?(path) - found = !Find.find(path).select { |f| f.match(/\bsearchd$/) && File.executable?(f) }.empty? + found = Find.find(path).any? { |f| f.match(/\bsearchd$/) && File.executable?(f) } break if found end