diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2d540c9..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-04-20 23:33:11 UTC using RuboCop version 1.50.2. +# 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,14 +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. # AllowedMethods: enums 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