From f83ebea1f25a4e5b643f41c4c68c289d64ba6862 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 27 Apr 2023 23:32:56 +0000 Subject: [PATCH 1/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2d540c9..81a36e6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-04-20 23:33:11 UTC using RuboCop version 1.50.2. +# on 2023-04-27 23:32:55 UTC using RuboCop version 1.50.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new From cefaa08519eb2700031af3f4d40b88d1b63fe1d0 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 27 Apr 2023 23:33:00 +0000 Subject: [PATCH 2/3] :police_car: Rails/Output --- .rubocop_todo.yml | 7 ------- lib/dispatch-rider/command.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 81a36e6..70dc6b9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -349,13 +349,6 @@ Rails/Exit: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/subscriber.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: Include. -# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb -Rails/Output: - Exclude: - - 'lib/dispatch-rider/command.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). diff --git a/lib/dispatch-rider/command.rb b/lib/dispatch-rider/command.rb index 4c400c5..69e4a75 100644 --- a/lib/dispatch-rider/command.rb +++ b/lib/dispatch-rider/command.rb @@ -35,7 +35,7 @@ def process_args(args) opts = OptionParser.new do |opts| opts.banner = "Usage: #{File.basename($0)} [options] start|stop|restart|run" opts.on('-h', '--help', 'Show this message') do - puts opts + Rails.logger.debug opts exit 1 end opts.on('-i', '--identifier=n', 'A numeric identifier for the worker.') do |n| From 22cb4c5c3ea957295253610c47004de04152057c Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 27 Apr 2023 23:33:06 +0000 Subject: [PATCH 3/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 70dc6b9..e908934 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-04-27 23:32:55 UTC using RuboCop version 1.50.2. +# on 2023-04-27 23:33:05 UTC using RuboCop version 1.50.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -349,7 +349,6 @@ Rails/Exit: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/subscriber.rb' - # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Include.