.rubocop.yml in api-auth-2.2.0 vs .rubocop.yml in api-auth-2.2.1
- old
+ new
@@ -1,63 +1,16 @@
-# This configuration was generated by
-# `rubocop --auto-gen-config`
-# on 2016-02-10 17:06:30 +0100 using RuboCop version 0.37.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.
+inherit_from: .rubocop_todo.yml
-# Offense count: 1
-# Configuration parameters: AllowSafeAssignment.
-Lint/AssignmentInCondition:
- Exclude:
- - 'lib/api_auth/base.rb'
-
-# Offense count: 2
Metrics/AbcSize:
Max: 25
-# Offense count: 2
-Metrics/CyclomaticComplexity:
- Max: 13
-
-# Offense count: 74
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
- Max: 137
+ Max: 140
-# Offense count: 4
-# Configuration parameters: CountComments.
Metrics/MethodLength:
- Max: 30
+ Max: 40
-# Offense count: 1
-Metrics/PerceivedComplexity:
- Max: 8
-
-# Offense count: 8
-Style/AccessorMethodName:
+Naming/FileName:
Exclude:
- - 'lib/api_auth/railtie.rb'
- - 'lib/api_auth/request_drivers/action_controller.rb'
- - 'lib/api_auth/request_drivers/curb.rb'
- - 'lib/api_auth/request_drivers/faraday.rb'
- - 'lib/api_auth/request_drivers/httpi.rb'
- - 'lib/api_auth/request_drivers/net_http.rb'
- - 'lib/api_auth/request_drivers/rack.rb'
- - 'lib/api_auth/request_drivers/rest_client.rb'
-
-# Offense count: 4
-Style/Documentation:
- Exclude:
- - 'spec/**/*'
- - 'test/**/*'
- - 'lib/api_auth/railtie.rb'
- - 'lib/api_auth/request_drivers/rest_client.rb'
-
-# Offense count: 1
-# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
-Style/FileName:
- Exclude:
- 'lib/api-auth.rb'
- - 'Appraisals'