.rubocop_todo.yml in amqp-client-1.0.0 vs .rubocop_todo.yml in amqp-client-1.0.1
- old
+ new
@@ -1,92 +1,48 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2021-06-01 23:54:39 UTC using RuboCop version 1.15.0.
+# on 2021-09-06 19:39:47 UTC using RuboCop version 1.19.1.
# 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
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
-# URISchemes: http, https
-Layout/LineLength:
- Max: 123
-
-# Offense count: 15
+# Offense count: 18
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 142
+ Max: 179
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
- Max: 37
+ Max: 40
-# Offense count: 2
+# Offense count: 3
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
-# Offense count: 2
+# Offense count: 5
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
- Max: 191
+ Max: 400
# Offense count: 9
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
- Max: 30
+ Max: 44
-# Offense count: 26
+# Offense count: 40
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
- Max: 124
+ Max: 170
-# Offense count: 3
+# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
- Max: 300
+ Max: 500
-# Offense count: 5
-# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
-Metrics/ParameterLists:
- Max: 7
-
-# Offense count: 7
+# Offense count: 4
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
- Max: 18
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, IgnoredMethods.
-# SupportedStyles: predicate, comparison
-Style/NumericPredicate:
- Exclude:
- - 'spec/**/*'
- - 'lib/amqp/client/channel.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: implicit, explicit
-Style/RescueStandardError:
- Exclude:
- - 'lib/amqp/client.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
-Style/YodaCondition:
- Exclude:
- - 'lib/amqp/client/channel.rb'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
-# URISchemes: http, https
-Layout/LineLength:
- Max: 123
+ Max: 22