11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-07-23 11:24:53 UTC using RuboCop version 1.64 .1.
3+ # on 2024-10-06 16:00:59 UTC using RuboCop version 1.66 .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- # Configuration parameters: AllowedMethods.
11- # AllowedMethods: enums
12- Lint/ConstantDefinitionInBlock :
13- Exclude :
14- - ' spec/grape/validations/validators/except_values_spec.rb'
15-
169# Offense count: 1
1710# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
1811Metrics/MethodLength :
@@ -29,17 +22,6 @@ Naming/VariableNumber:
2922 - ' spec/grape/exceptions/validation_errors_spec.rb'
3023 - ' spec/grape/validations_spec.rb'
3124
32- # Offense count: 1
33- # Configuration parameters: IgnoredMetadata.
34- RSpec/DescribeClass :
35- Exclude :
36- - ' **/spec/features/**/*'
37- - ' **/spec/requests/**/*'
38- - ' **/spec/routing/**/*'
39- - ' **/spec/system/**/*'
40- - ' **/spec/views/**/*'
41- - ' spec/grape/named_api_spec.rb'
42-
4325# Offense count: 2
4426# This cop supports unsafe autocorrection (--autocorrect-all).
4527# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
@@ -68,7 +50,7 @@ RSpec/ExpectActual:
6850# Offense count: 1
6951RSpec/ExpectInHook :
7052 Exclude :
71- - ' spec/grape/validations/validators/values_spec .rb'
53+ - ' spec/grape/validations/validators/values_validator_spec .rb'
7254
7355# Offense count: 6
7456# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
@@ -78,7 +60,7 @@ RSpec/IndexedLet:
7860 - ' spec/grape/presenters/presenter_spec.rb'
7961 - ' spec/shared/versioning_examples.rb'
8062
81- # Offense count: 39
63+ # Offense count: 38
8264# Configuration parameters: AssignmentOnly.
8365RSpec/InstanceVariable :
8466 Exclude :
@@ -87,12 +69,6 @@ RSpec/InstanceVariable:
8769 - ' spec/grape/middleware/base_spec.rb'
8870 - ' spec/grape/middleware/versioner/accept_version_header_spec.rb'
8971 - ' spec/grape/middleware/versioner/header_spec.rb'
90- - ' spec/grape/validations/validators/except_values_spec.rb'
91-
92- # Offense count: 6
93- RSpec/LeakyConstantDeclaration :
94- Exclude :
95- - ' spec/grape/validations/validators/except_values_spec.rb'
9672
9773# Offense count: 1
9874RSpec/MessageChain :
@@ -109,22 +85,22 @@ RSpec/RepeatedDescription:
10985 Exclude :
11086 - ' spec/grape/api_spec.rb'
11187 - ' spec/grape/endpoint_spec.rb'
112- - ' spec/grape/validations/validators/allow_blank_spec .rb'
113- - ' spec/grape/validations/validators/values_spec .rb'
88+ - ' spec/grape/validations/validators/allow_blank_validator_spec .rb'
89+ - ' spec/grape/validations/validators/values_validator_spec .rb'
11490
11591# Offense count: 6
11692RSpec/RepeatedExample :
11793 Exclude :
11894 - ' spec/grape/middleware/versioner/accept_version_header_spec.rb'
119- - ' spec/grape/validations/validators/allow_blank_spec .rb'
95+ - ' spec/grape/validations/validators/allow_blank_validator_spec .rb'
12096
12197# Offense count: 10
12298RSpec/RepeatedExampleGroupDescription :
12399 Exclude :
124100 - ' spec/grape/api_spec.rb'
125101 - ' spec/grape/endpoint_spec.rb'
126102 - ' spec/grape/util/inheritable_setting_spec.rb'
127- - ' spec/grape/validations/validators/values_spec .rb'
103+ - ' spec/grape/validations/validators/values_validator_spec .rb'
128104
129105# Offense count: 4
130106RSpec/StubbedMock :
@@ -133,7 +109,7 @@ RSpec/StubbedMock:
133109 - ' spec/grape/dsl/routing_spec.rb'
134110 - ' spec/grape/middleware/formatter_spec.rb'
135111
136- # Offense count: 121
112+ # Offense count: 118
137113RSpec/SubjectStub :
138114 Exclude :
139115 - ' spec/grape/api_spec.rb'
@@ -150,7 +126,7 @@ RSpec/SubjectStub:
150126 - ' spec/grape/middleware/globals_spec.rb'
151127 - ' spec/grape/middleware/stack_spec.rb'
152128
153- # Offense count: 23
129+ # Offense count: 22
154130# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
155131RSpec/VerifiedDoubles :
156132 Exclude :
0 commit comments