11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2015-08-19 13:28:59 -0400 using RuboCop version 0.33.0 .
3+ # on 2015-11-23 14:55:46 -0500 using RuboCop version 0.35.1 .
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 1
10+ Lint/DuplicatedKey :
11+ Exclude :
12+ - ' spec/grape/validations_spec.rb'
13+
914# Offense count: 1
1015Lint/NestedMethodDefinition :
1116 Exclude :
@@ -22,18 +27,18 @@ Metrics/BlockNesting:
2227# Offense count: 5
2328# Configuration parameters: CountComments.
2429Metrics/ClassLength :
25- Max : 300
30+ Max : 277
2631
27- # Offense count: 23
32+ # Offense count: 22
2833Metrics/CyclomaticComplexity :
29- Max : 16
34+ Max : 14
3035
31- # Offense count: 717
36+ # Offense count: 751
3237# Configuration parameters: AllowURI, URISchemes.
3338Metrics/LineLength :
3439 Max : 215
3540
36- # Offense count: 42
41+ # Offense count: 44
3742# Configuration parameters: CountComments.
3843Metrics/MethodLength :
3944 Max : 36
@@ -43,17 +48,22 @@ Metrics/MethodLength:
4348Metrics/ModuleLength :
4449 Max : 272
4550
46- # Offense count: 17
51+ # Offense count: 15
4752Metrics/PerceivedComplexity :
48- Max : 18
53+ Max : 16
4954
50- # Offense count: 30
55+ # Offense count: 44
5156# Cop supports --auto-correct.
5257# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
5358Style/BlockDelimiters :
54- Enabled : false
59+ Exclude :
60+ - ' spec/grape/api_spec.rb'
61+ - ' spec/grape/exceptions/validation_errors_spec.rb'
62+ - ' spec/grape/middleware/versioner/header_spec.rb'
63+ - ' spec/grape/request_spec.rb'
5564
56- # Offense count: 167
65+ # Offense count: 105
66+ # Configuration parameters: Exclude.
5767Style/Documentation :
5868 Enabled : false
5969
@@ -65,13 +75,6 @@ Style/DoubleNegation:
6575 - ' lib/grape/middleware/versioner/header.rb'
6676 - ' lib/grape/path.rb'
6777
68- # Offense count: 3
69- Style/EachWithObject :
70- Exclude :
71- - ' lib/grape/dsl/inside_route.rb'
72- - ' lib/grape/exceptions/base.rb'
73- - ' lib/grape/formatter/serializable_hash.rb'
74-
7578# Offense count: 14
7679# Configuration parameters: EnforcedStyle, SupportedStyles.
7780Style/RaiseArgs :
0 commit comments