.rubocop_todo.yml in grape-swagger-1.4.2 vs .rubocop_todo.yml in grape-swagger-1.5.0
- old
+ new
@@ -1,40 +1,60 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2019-06-05 12:13:59 +0000 using RuboCop version 0.71.0.
+# on 2022-01-14 10:22:29 UTC using RuboCop version 1.24.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: Include.
# Include: **/*.gemspec
+Gemspec/RequireMFA:
+ Exclude:
+ - 'grape-swagger.gemspec'
+
+# Offense count: 1
+# Configuration parameters: Include.
+# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'grape-swagger.gemspec'
-# Offense count: 30
+# Offense count: 31
+# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 59
+ Max: 56
-# Offense count: 10
-Metrics/CyclomaticComplexity:
- Max: 13
-
-# Offense count: 22
-# Configuration parameters: CountComments, ExcludedMethods.
+# Offense count: 30
+# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
- Max: 45
+ Max: 28
# Offense count: 7
+# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 16
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/grape-swagger/doc_methods.rb'
-# Offense count: 22
+# Offense count: 23
+# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
+
+# Offense count: 43
+Style/OpenStructUse:
+ Exclude:
+ - 'spec/lib/endpoint_spec.rb'
+ - 'spec/lib/version_spec.rb'
+ - 'spec/support/mock_parser.rb'
+ - 'spec/support/model_parsers/mock_parser.rb'
+ - 'spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb'
+ - 'spec/swagger_v2/api_swagger_v2_mounted_spec.rb'
+ - 'spec/swagger_v2/api_swagger_v2_spec.rb'
+ - 'spec/swagger_v2/errors_spec.rb'
+ - 'spec/swagger_v2/reference_entity_spec.rb'