11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-21 08:55:52 UTC using RuboCop version 1.48.1.
3+ # on 2023-04-24 08:52:31 UTC using RuboCop version 1.48.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
@@ -139,12 +139,12 @@ Lint/SuppressedException:
139139 - ' lib/puppet/parser/functions/getvar.rb'
140140 - ' lib/puppet/parser/functions/has_interface_with.rb'
141141
142- # Offense count: 6
142+ # Offense count: 7
143143# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
144144Metrics/AbcSize :
145145 Max : 44
146146
147- # Offense count: 21
147+ # Offense count: 22
148148# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
149149# AllowedMethods: refine
150150Metrics/BlockLength :
@@ -205,6 +205,12 @@ Naming/VariableNumber:
205205 Exclude :
206206 - ' spec/functions/delete_undef_values_spec.rb'
207207
208+ # Offense count: 2
209+ # Configuration parameters: MinSize.
210+ Performance/CollectionLiteralInLoop :
211+ Exclude :
212+ - ' lib/puppet/functions/ensure_packages.rb'
213+
208214# Offense count: 1
209215# This cop supports unsafe autocorrection (--autocorrect-all).
210216Performance/MapCompact :
@@ -251,7 +257,7 @@ RSpec/ClassCheck:
251257 Exclude :
252258 - ' spec/functions/type_of_spec.rb'
253259
254- # Offense count: 36
260+ # Offense count: 38
255261# Configuration parameters: Prefixes, AllowedPatterns.
256262# Prefixes: when, with, without
257263RSpec/ContextWording :
@@ -353,7 +359,7 @@ RSpec/MatchArray:
353359 - ' spec/functions/keys_spec.rb'
354360 - ' spec/functions/values_spec.rb'
355361
356- # Offense count: 77
362+ # Offense count: 78
357363RSpec/MultipleExpectations :
358364 Max : 5
359365
@@ -362,13 +368,13 @@ RSpec/MultipleExpectations:
362368RSpec/MultipleMemoizedHelpers :
363369 Max : 9
364370
365- # Offense count: 60
371+ # Offense count: 64
366372# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
367373# SupportedStyles: always, named_only
368374RSpec/NamedSubject :
369375 Enabled : false
370376
371- # Offense count: 25
377+ # Offense count: 27
372378# Configuration parameters: AllowedGroups.
373379RSpec/NestedGroups :
374380 Max : 4
@@ -469,7 +475,7 @@ Style/FileWrite:
469475 - ' spec/unit/puppet/provider/file_line/ruby_spec_alter.rb'
470476 - ' spec/unit/puppet/provider/file_line/ruby_spec_use_cases.rb'
471477
472- # Offense count: 3
478+ # Offense count: 5
473479# This cop supports unsafe autocorrection (--autocorrect-all).
474480# Configuration parameters: EnforcedStyle.
475481# SupportedStyles: always, always_true, never
@@ -478,6 +484,8 @@ Style/FrozenStringLiteralComment:
478484 - ' lib/puppet_x/stdlib.rb'
479485 - ' lib/puppet_x/stdlib/toml_dumper.rb'
480486 - ' spec/functions/stdlib_deferrable_epp_spec.rb'
487+ - ' spec/type_aliases/http__method_spec.rb'
488+ - ' spec/type_aliases/http__status_spec.rb'
481489
482490# Offense count: 4
483491# This cop supports safe autocorrection (--autocorrect).
@@ -495,7 +503,7 @@ Style/HashTransformKeys:
495503 Exclude :
496504 - ' lib/puppet/functions/to_json_pretty.rb'
497505
498- # Offense count: 156
506+ # Offense count: 155
499507# This cop supports safe autocorrection (--autocorrect).
500508Style/IfUnlessModifier :
501509 Enabled : false
0 commit comments