11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-11 21:10:40 UTC using RuboCop version 1.50.0 .
3+ # on 2023-09-12 16:05:07 UTC using RuboCop version 1.56.3 .
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: Severity, Include.
11- # Include: **/*.gemspec
12- Gemspec/RequiredRubyVersion :
13- Exclude :
14- - ' rspec-puppet.gemspec'
15-
169# Offense count: 3
1710# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
1811Lint/DuplicateBranch :
@@ -28,6 +21,7 @@ Lint/EmptyBlock:
2821 - ' spec/unit/adapters_spec.rb'
2922
3023# Offense count: 3
24+ # Configuration parameters: AllowedParentClasses.
3125Lint/MissingSuper :
3226 Exclude :
3327 - ' lib/rspec-puppet/errors.rb'
@@ -58,6 +52,7 @@ Lint/UnusedMethodArgument:
5852 - ' lib/rspec-puppet/support.rb'
5953
6054# Offense count: 5
55+ # This cop supports unsafe autocorrection (--autocorrect-all).
6156Lint/UselessAssignment :
6257 Exclude :
6358 - ' lib/rspec-puppet/example/function_example_group.rb'
@@ -98,7 +93,7 @@ Metrics/MethodLength:
9893# Offense count: 2
9994# Configuration parameters: CountComments, CountAsOne.
10095Metrics/ModuleLength :
101- Max : 425
96+ Max : 422
10297
10398# Offense count: 2
10499# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
@@ -140,6 +135,7 @@ Naming/HeredocDelimiterNaming:
140135 - ' spec/unit/matchers/compile_spec.rb'
141136
142137# Offense count: 1
138+ # This cop supports unsafe autocorrection (--autocorrect-all).
143139# Configuration parameters: EnforcedStyleForLeadingUnderscores.
144140# SupportedStylesForLeadingUnderscores: disallowed, required, optional
145141Naming/MemoizedInstanceVariableName :
@@ -180,9 +176,9 @@ RSpec/Be:
180176# Offense count: 2
181177RSpec/BeforeAfterAll :
182178 Exclude :
183- - ' spec/spec_helper.rb'
184- - ' spec/rails_helper.rb'
185- - ' spec/support/**/*.rb'
179+ - ' **/ spec/spec_helper.rb'
180+ - ' **/ spec/rails_helper.rb'
181+ - ' **/ spec/support/**/*.rb'
186182 - ' spec/unit/coverage_spec.rb'
187183
188184# Offense count: 76
@@ -201,27 +197,6 @@ RSpec/DescribeClass:
201197RSpec/ExampleLength :
202198 Max : 12
203199
204- # Offense count: 15
205- # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
206- # Include: **/*_spec*rb*, **/spec/**/*
207- RSpec/FilePath :
208- Exclude :
209- - ' spec/cache_spec.rb'
210- - ' spec/classes/test_multi_os.rb'
211- - ' spec/raw_string_spec.rb'
212- - ' spec/support_spec.rb'
213- - ' spec/unit/coverage_spec.rb'
214- - ' spec/unit/example/function_example_group_spec.rb'
215- - ' spec/unit/facter_impl_spec.rb'
216- - ' spec/unit/matchers/allow_value_spec.rb'
217- - ' spec/unit/matchers/count_generic_spec.rb'
218- - ' spec/unit/matchers/parameter_matcher_spec.rb'
219- - ' spec/unit/matchers/raise_error_spec.rb'
220- - ' spec/unit/matchers/run_spec.rb'
221- - ' spec/unit/monkey_patches/win32/taskscheduler_spec.rb'
222- - ' spec/unit/raw_string_spec.rb'
223- - ' spec/unit/sensitive_spec.rb'
224-
225200# Offense count: 2
226201RSpec/ImplicitBlockExpectation :
227202 Exclude :
@@ -255,7 +230,7 @@ RSpec/MultipleDescribes:
255230 - ' spec/unit/adapters_spec.rb'
256231 - ' spec/unit/monkey_patches_spec.rb'
257232
258- # Offense count: 44
233+ # Offense count: 46
259234RSpec/MultipleExpectations :
260235 Max : 8
261236
@@ -302,6 +277,34 @@ RSpec/RepeatedExampleGroupDescription:
302277 - ' spec/classes/sysctl_common_spec.rb'
303278 - ' spec/defines/sysctl_before_spec.rb'
304279
280+ # Offense count: 14
281+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
282+ # Include: **/*_spec.rb
283+ RSpec/SpecFilePathFormat :
284+ Exclude :
285+ - ' **/spec/routing/**/*'
286+ - ' spec/cache_spec.rb'
287+ - ' spec/raw_string_spec.rb'
288+ - ' spec/support_spec.rb'
289+ - ' spec/unit/coverage_spec.rb'
290+ - ' spec/unit/example/function_example_group_spec.rb'
291+ - ' spec/unit/facter_impl_spec.rb'
292+ - ' spec/unit/matchers/allow_value_spec.rb'
293+ - ' spec/unit/matchers/count_generic_spec.rb'
294+ - ' spec/unit/matchers/parameter_matcher_spec.rb'
295+ - ' spec/unit/matchers/raise_error_spec.rb'
296+ - ' spec/unit/matchers/run_spec.rb'
297+ - ' spec/unit/monkey_patches/win32/taskscheduler_spec.rb'
298+ - ' spec/unit/raw_string_spec.rb'
299+ - ' spec/unit/sensitive_spec.rb'
300+
301+ # Offense count: 1
302+ # Configuration parameters: Include.
303+ # Include: **/*_spec*rb*, **/spec/**/*
304+ RSpec/SpecFilePathSuffix :
305+ Exclude :
306+ - ' spec/classes/test_multi_os.rb'
307+
305308# Offense count: 3
306309RSpec/SubjectStub :
307310 Exclude :
@@ -336,6 +339,7 @@ Style/ClassVars:
336339 - ' lib/rspec-puppet/support.rb'
337340
338341# Offense count: 1
342+ # This cop supports unsafe autocorrection (--autocorrect-all).
339343Style/CombinableLoops :
340344 Exclude :
341345 - ' spec/classes/catalogue_cache_spec.rb'
@@ -353,7 +357,7 @@ Style/FormatString:
353357 Exclude :
354358 - ' lib/rspec-puppet/coverage.rb'
355359
356- # Offense count: 14
360+ # Offense count: 15
357361# This cop supports safe autocorrection (--autocorrect).
358362Style/IfUnlessModifier :
359363 Exclude :
0 commit comments