1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2015-08-19 13:28:59 -0400 using RuboCop version 0.33.0 .
3
+ # on 2015-11-23 18:15:01 -0500 using RuboCop version 0.35.1 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
+ # Offense count: 1
10
+ Lint/DuplicatedKey :
11
+ Exclude :
12
+ - ' spec/grape/validations_spec.rb'
13
+
9
14
# Offense count: 1
10
15
Lint/NestedMethodDefinition :
11
16
Exclude :
@@ -22,18 +27,18 @@ Metrics/BlockNesting:
22
27
# Offense count: 5
23
28
# Configuration parameters: CountComments.
24
29
Metrics/ClassLength :
25
- Max : 300
30
+ Max : 277
26
31
27
- # Offense count: 23
32
+ # Offense count: 22
28
33
Metrics/CyclomaticComplexity :
29
- Max : 16
34
+ Max : 14
30
35
31
- # Offense count: 717
36
+ # Offense count: 750
32
37
# Configuration parameters: AllowURI, URISchemes.
33
38
Metrics/LineLength :
34
39
Max : 215
35
40
36
- # Offense count: 42
41
+ # Offense count: 44
37
42
# Configuration parameters: CountComments.
38
43
Metrics/MethodLength :
39
44
Max : 36
@@ -43,17 +48,22 @@ Metrics/MethodLength:
43
48
Metrics/ModuleLength :
44
49
Max : 272
45
50
46
- # Offense count: 17
51
+ # Offense count: 15
47
52
Metrics/PerceivedComplexity :
48
- Max : 18
53
+ Max : 16
49
54
50
- # Offense count: 30
55
+ # Offense count: 44
51
56
# Cop supports --auto-correct.
52
57
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
53
58
Style/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'
55
64
56
- # Offense count: 167
65
+ # Offense count: 105
66
+ # Configuration parameters: Exclude.
57
67
Style/Documentation :
58
68
Enabled : false
59
69
@@ -65,13 +75,6 @@ Style/DoubleNegation:
65
75
- ' lib/grape/middleware/versioner/header.rb'
66
76
- ' lib/grape/path.rb'
67
77
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
-
75
78
# Offense count: 14
76
79
# Configuration parameters: EnforcedStyle, SupportedStyles.
77
80
Style/RaiseArgs :
0 commit comments