11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2017-07-11 00:59:31 +0100 using RuboCop version 0.47 .0.
3+ # on 2017-12-10 01:15:22 +0900 using RuboCop version 0.51 .0.
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: 45
9+ # Offense count: 7
10+ # Cop supports --auto-correct.
11+ # Configuration parameters: EnforcedStyle, SupportedStyles.
12+ # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
13+ Layout/IndentHeredoc :
14+ Exclude :
15+ - ' lib/grape/router/route.rb'
16+ - ' spec/grape/api_spec.rb'
17+ - ' spec/grape/entity_spec.rb'
18+
19+ # Offense count: 2
20+ Lint/AmbiguousBlockAssociation :
21+ Exclude :
22+ - ' lib/grape/middleware/stack.rb'
23+ - ' spec/grape/dsl/routing_spec.rb'
24+
25+ # Offense count: 1
26+ Lint/RescueWithoutErrorClass :
27+ Exclude :
28+ - ' lib/grape/validations/validators/coerce.rb'
29+
30+ # Offense count: 49
1031Metrics/AbcSize :
1132 Max : 44
1233
13- # Offense count: 279
34+ # Offense count: 282
1435# Configuration parameters: CountComments, ExcludedMethods.
1536Metrics/BlockLength :
1637 Max : 3117
1738
18- # Offense count: 8
39+ # Offense count: 9
1940# Configuration parameters: CountComments.
2041Metrics/ClassLength :
2142 Max : 288
2243
23- # Offense count: 28
44+ # Offense count: 32
2445Metrics/CyclomaticComplexity :
2546 Max : 14
2647
27- # Offense count: 1114
48+ # Offense count: 1159
2849# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
2950# URISchemes: http, https
3051Metrics/LineLength :
3152 Max : 215
3253
33- # Offense count: 56
54+ # Offense count: 57
3455# Configuration parameters: CountComments.
3556Metrics/MethodLength :
3657 Max : 33
3758
38- # Offense count: 10
59+ # Offense count: 11
3960# Configuration parameters: CountComments.
4061Metrics/ModuleLength :
4162 Max : 212
4263
43- # Offense count: 17
64+ # Offense count: 21
4465Metrics/PerceivedComplexity :
4566 Max : 14
4667
47- # Offense count: 2
68+ # Offense count: 4
69+ # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
70+ # 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
71+ Naming/FileName :
72+ Exclude :
73+ - ' Appraisals'
74+ - ' Gemfile'
75+ - ' Guardfile'
76+ - ' Rakefile'
77+
78+ # Offense count: 1
79+ # Configuration parameters: Blacklist.
80+ # Blacklist: END, (?-mix:EO[A-Z]{1})
81+ Naming/HeredocDelimiterNaming :
82+ Exclude :
83+ - ' lib/grape/router/route.rb'
84+
85+ # Offense count: 3
86+ # Cop supports --auto-correct.
87+ # Configuration parameters: AutoCorrect.
88+ Performance/HashEachMethods :
89+ Exclude :
90+ - ' lib/grape/api.rb'
91+ - ' lib/grape/middleware/versioner/header.rb'
92+
93+ # Offense count: 1
94+ # Cop supports --auto-correct.
95+ # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
96+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
97+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
98+ # FunctionalMethods: let, let!, subject, watch
99+ # IgnoredMethods: lambda, proc, it
48100Style/BlockDelimiters :
49101 Exclude :
50102 - ' spec/grape/middleware/formatter_spec.rb'
51103
104+ # Offense count: 1
105+ Style/CommentedKeyword :
106+ Exclude :
107+ - ' spec/grape/validations_spec.rb'
108+
109+ # Offense count: 2
110+ # Configuration parameters: SupportedStyles.
111+ # SupportedStyles: annotated, template
112+ Style/FormatStringToken :
113+ EnforcedStyle : template
114+
52115# Offense count: 2
53116Style/IdenticalConditionalBranches :
54117 Exclude :
@@ -58,3 +121,8 @@ Style/IdenticalConditionalBranches:
58121Style/MethodMissing :
59122 Exclude :
60123 - ' lib/grape/router/attribute_translator.rb'
124+
125+ # Offense count: 1
126+ Style/MultipleComparison :
127+ Exclude :
128+ - ' lib/grape/validations/types/custom_type_coercer.rb'
0 commit comments