.rubocop_todo.yml in grape-swagger-representable-0.1.4 vs .rubocop_todo.yml in grape-swagger-representable-0.1.5
- old
+ new
@@ -1,44 +1,55 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2016-05-11 07:25:12 +0300 using RuboCop version 0.39.0.
+# on 2017-11-19 22:40:01 +0200 using RuboCop version 0.51.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
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
Metrics/AbcSize:
- Max: 30
+ Max: 34
+# Offense count: 8
+# Configuration parameters: CountComments, ExcludedMethods.
+Metrics/BlockLength:
+ Max: 132
+
# Offense count: 2
Metrics/CyclomaticComplexity:
- Max: 11
+ Max: 15
-# Offense count: 65
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
+# Offense count: 67
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
- Max: 152
+ Max: 160
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 36
+# Offense count: 1
+# Configuration parameters: CountKeywordArgs.
+Metrics/ParameterLists:
+ Max: 6
+
# Offense count: 2
Metrics/PerceivedComplexity:
- Max: 14
+ Max: 18
+# Offense count: 1
+# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
+# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
+Naming/FileName:
+ Exclude:
+ - 'lib/grape-swagger-representable.rb'
+
# Offense count: 2
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/grape-swagger/representable.rb'
- 'lib/grape-swagger/representable/parser.rb'
-
-# Offense count: 1
-# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
-Style/FileName:
- Exclude:
- - 'lib/grape-swagger-representable.rb'