From ee60fd6c21cad47f51783c0d9aa9b1576641ceaf Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 6 Jun 2023 23:33:53 +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..9a10692 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-06-06 23:33:53 UTC using RuboCop version 1.52.0. # 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 1d6b603d9fa286a1db69a4f7e25732f5e69a8ed2 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 6 Jun 2023 23:33:59 +0000 Subject: [PATCH 2/3] :police_car: Layout/SpaceInsideParens --- .rubocop_todo.yml | 7 ------- lib/dispatch-rider/handlers/base.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9a10692..8914851 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -69,13 +69,6 @@ Layout/SpaceInLambdaLiteral: - 'lib/dispatch-rider/scheduled_job.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: space, compact, no_space -Layout/SpaceInsideParens: - Exclude: - - 'lib/dispatch-rider/handlers/base.rb' # Offense count: 13 # Configuration parameters: AllowedMethods. diff --git a/lib/dispatch-rider/handlers/base.rb b/lib/dispatch-rider/handlers/base.rb index 4765f2d..b46ecf5 100644 --- a/lib/dispatch-rider/handlers/base.rb +++ b/lib/dispatch-rider/handlers/base.rb @@ -7,7 +7,7 @@ class Base extend InheritanceTracking class << self - def set_default_retry( amount ) + def set_default_retry(amount) define_method(:retry_timeout) do amount end From 8dbd51a89c46045369e9be4a8ed5328cecdfec92 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 6 Jun 2023 23:34: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 8914851..d83bf45 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-06-06 23:33:53 UTC using RuboCop version 1.52.0. +# on 2023-06-06 23:34:06 UTC using RuboCop version 1.52.0. # 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 @@ -69,7 +69,6 @@ Layout/SpaceInLambdaLiteral: - 'lib/dispatch-rider/scheduled_job.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - # Offense count: 13 # Configuration parameters: AllowedMethods. # AllowedMethods: enums