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) 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