.rubocop_todo.yml in grape-swagger-0.26.1 vs .rubocop_todo.yml in grape-swagger-0.27.0
- old
+ new
@@ -16,15 +16,15 @@
Max: 29
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 265
+ Max: 275
# Offense count: 12
Metrics/CyclomaticComplexity:
- Max: 14
+ Max: 15
# Offense count: 129
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
# URISchemes: http, https
Metrics/LineLength:
@@ -35,29 +35,23 @@
Metrics/MethodLength:
Max: 40
# Offense count: 7
Metrics/PerceivedComplexity:
- Max: 15
+ Max: 16
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/grape-swagger/doc_methods.rb'
# Offense count: 23
Style/Documentation:
Enabled: false
-# Offense count: 5
-# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
-Style/FileName:
+Style/MixinGrouping:
Exclude:
- - 'lib/grape-swagger.rb'
- - 'spec/swagger_v2/api_swagger_v2_definitions-models_spec.rb'
- - 'spec/swagger_v2/api_swagger_v2_format-content_type_spec.rb'
- - 'spec/swagger_v2/api_swagger_v2_type-format_spec.rb'
- - 'spec/swagger_v2/grape-swagger_spec.rb'
+ - spec/**/*
# Offense count: 1
# Cop supports --auto-correct.
Style/MultilineIfModifier:
Exclude: