beaker-puppet 4.1.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +2 -0
- data/.rubocop_todo.yml +323 -83
- data/CHANGELOG.md +14 -4
- data/beaker-puppet.gemspec +2 -2
- data/lib/beaker-puppet/helpers/puppet_helpers.rb +1 -2
- data/lib/beaker-puppet/helpers/tk_helpers.rb +1 -2
- data/lib/beaker-puppet/inifile.rb +635 -0
- data/lib/beaker-puppet/version.rb +1 -1
- data/lib/beaker-puppet.rb +1 -0
- data/spec/beaker-puppet/helpers/facter_helpers_spec.rb +1 -1
- metadata +9 -8
data/.rubocop_todo.yml
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2025-01-17 01:06:09 UTC using RuboCop version 1.67.0.
|
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: 2
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: Include.
|
12
|
+
# Include: **/*.gemspec
|
13
|
+
Gemspec/AddRuntimeDependency:
|
14
|
+
Exclude:
|
15
|
+
- 'beaker-puppet.gemspec'
|
16
|
+
|
9
17
|
# Offense count: 1
|
10
18
|
# This cop supports safe autocorrection (--autocorrect).
|
11
19
|
# Configuration parameters: Severity, Include.
|
@@ -14,6 +22,103 @@ Gemspec/DeprecatedAttributeAssignment:
|
|
14
22
|
Exclude:
|
15
23
|
- 'beaker-puppet.gemspec'
|
16
24
|
|
25
|
+
# Offense count: 4
|
26
|
+
# This cop supports safe autocorrection (--autocorrect).
|
27
|
+
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
|
28
|
+
# SupportedStyles: case, end
|
29
|
+
Layout/CaseIndentation:
|
30
|
+
Exclude:
|
31
|
+
- 'lib/beaker-puppet/inifile.rb'
|
32
|
+
|
33
|
+
# Offense count: 5
|
34
|
+
# This cop supports safe autocorrection (--autocorrect).
|
35
|
+
Layout/EmptyLineAfterGuardClause:
|
36
|
+
Exclude:
|
37
|
+
- 'lib/beaker-puppet/inifile.rb'
|
38
|
+
|
39
|
+
# Offense count: 2
|
40
|
+
# This cop supports safe autocorrection (--autocorrect).
|
41
|
+
# Configuration parameters: EnforcedStyle.
|
42
|
+
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
43
|
+
Layout/EmptyLinesAroundClassBody:
|
44
|
+
Exclude:
|
45
|
+
- 'lib/beaker-puppet/inifile.rb'
|
46
|
+
|
47
|
+
# Offense count: 2
|
48
|
+
# This cop supports safe autocorrection (--autocorrect).
|
49
|
+
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
50
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
51
|
+
Layout/EndAlignment:
|
52
|
+
Exclude:
|
53
|
+
- 'lib/beaker-puppet/inifile.rb'
|
54
|
+
|
55
|
+
# Offense count: 3
|
56
|
+
# This cop supports safe autocorrection (--autocorrect).
|
57
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
58
|
+
Layout/ExtraSpacing:
|
59
|
+
Exclude:
|
60
|
+
- 'lib/beaker-puppet/inifile.rb'
|
61
|
+
|
62
|
+
# Offense count: 1
|
63
|
+
# This cop supports safe autocorrection (--autocorrect).
|
64
|
+
Layout/HeredocIndentation:
|
65
|
+
Exclude:
|
66
|
+
- 'setup/common/003_solaris_cert_fix.rb'
|
67
|
+
|
68
|
+
# Offense count: 2
|
69
|
+
# This cop supports safe autocorrection (--autocorrect).
|
70
|
+
# Configuration parameters: Width, AllowedPatterns.
|
71
|
+
Layout/IndentationWidth:
|
72
|
+
Exclude:
|
73
|
+
- 'lib/beaker-puppet/inifile.rb'
|
74
|
+
|
75
|
+
# Offense count: 1
|
76
|
+
# This cop supports safe autocorrection (--autocorrect).
|
77
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation.
|
78
|
+
Layout/LeadingCommentSpace:
|
79
|
+
Exclude:
|
80
|
+
- 'lib/beaker-puppet/inifile.rb'
|
81
|
+
|
82
|
+
# Offense count: 9
|
83
|
+
# This cop supports safe autocorrection (--autocorrect).
|
84
|
+
Layout/SpaceAfterComma:
|
85
|
+
Exclude:
|
86
|
+
- 'lib/beaker-puppet/inifile.rb'
|
87
|
+
|
88
|
+
# Offense count: 2
|
89
|
+
# This cop supports safe autocorrection (--autocorrect).
|
90
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
91
|
+
# SupportedStylesForExponentOperator: space, no_space
|
92
|
+
# SupportedStylesForRationalLiterals: space, no_space
|
93
|
+
Layout/SpaceAroundOperators:
|
94
|
+
Exclude:
|
95
|
+
- 'lib/beaker-puppet/inifile.rb'
|
96
|
+
|
97
|
+
# Offense count: 14
|
98
|
+
# This cop supports safe autocorrection (--autocorrect).
|
99
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
100
|
+
# SupportedStyles: space, no_space
|
101
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
102
|
+
Layout/SpaceInsideBlockBraces:
|
103
|
+
Exclude:
|
104
|
+
- 'lib/beaker-puppet/inifile.rb'
|
105
|
+
|
106
|
+
# Offense count: 40
|
107
|
+
# This cop supports safe autocorrection (--autocorrect).
|
108
|
+
# Configuration parameters: EnforcedStyle.
|
109
|
+
# SupportedStyles: space, compact, no_space
|
110
|
+
Layout/SpaceInsideParens:
|
111
|
+
Exclude:
|
112
|
+
- 'lib/beaker-puppet/inifile.rb'
|
113
|
+
|
114
|
+
# Offense count: 1
|
115
|
+
# This cop supports safe autocorrection (--autocorrect).
|
116
|
+
# Configuration parameters: EnforcedStyle.
|
117
|
+
# SupportedStyles: final_newline, final_blank_line
|
118
|
+
Layout/TrailingEmptyLines:
|
119
|
+
Exclude:
|
120
|
+
- 'lib/beaker-puppet/inifile.rb'
|
121
|
+
|
17
122
|
# Offense count: 2
|
18
123
|
# This cop supports safe autocorrection (--autocorrect).
|
19
124
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
@@ -103,12 +208,6 @@ Lint/ShadowingOuterLocalVariable:
|
|
103
208
|
Exclude:
|
104
209
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
105
210
|
|
106
|
-
# Offense count: 1
|
107
|
-
# This cop supports safe autocorrection (--autocorrect).
|
108
|
-
Lint/UnifiedInteger:
|
109
|
-
Exclude:
|
110
|
-
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
111
|
-
|
112
211
|
# Offense count: 1
|
113
212
|
# Configuration parameters: AllowedPatterns.
|
114
213
|
# AllowedPatterns: (?-mix:(exactly|at_least|at_most)\(\d+\)\.times)
|
@@ -118,7 +217,7 @@ Lint/UnreachableLoop:
|
|
118
217
|
|
119
218
|
# Offense count: 19
|
120
219
|
# This cop supports safe autocorrection (--autocorrect).
|
121
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
220
|
+
# Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
122
221
|
Lint/UnusedBlockArgument:
|
123
222
|
Exclude:
|
124
223
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
@@ -133,14 +232,15 @@ Lint/UnusedBlockArgument:
|
|
133
232
|
|
134
233
|
# Offense count: 3
|
135
234
|
# This cop supports safe autocorrection (--autocorrect).
|
136
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
235
|
+
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
137
236
|
Lint/UnusedMethodArgument:
|
138
237
|
Exclude:
|
139
238
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
140
239
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
141
240
|
|
142
|
-
# Offense count:
|
143
|
-
# This cop supports
|
241
|
+
# Offense count: 13
|
242
|
+
# This cop supports safe autocorrection (--autocorrect).
|
243
|
+
# Configuration parameters: AutoCorrect.
|
144
244
|
Lint/UselessAssignment:
|
145
245
|
Exclude:
|
146
246
|
- 'acceptance/tests/clone_git_repo_on_test.rb'
|
@@ -162,7 +262,7 @@ Naming/AccessorMethodName:
|
|
162
262
|
Exclude:
|
163
263
|
- 'Rakefile'
|
164
264
|
|
165
|
-
# Offense count:
|
265
|
+
# Offense count: 6
|
166
266
|
Naming/ConstantName:
|
167
267
|
Exclude:
|
168
268
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
@@ -191,6 +291,17 @@ Naming/HeredocDelimiterNaming:
|
|
191
291
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
192
292
|
- 'tasks/ci.rake'
|
193
293
|
|
294
|
+
# Offense count: 1
|
295
|
+
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
|
296
|
+
# NamePrefix: is_, has_, have_
|
297
|
+
# ForbiddenPrefixes: is_, has_, have_
|
298
|
+
# AllowedMethods: is_a?
|
299
|
+
# MethodDefinitionMacros: define_method, define_singleton_method
|
300
|
+
Naming/PredicateName:
|
301
|
+
Exclude:
|
302
|
+
- 'spec/**/*'
|
303
|
+
- 'lib/beaker-puppet/inifile.rb'
|
304
|
+
|
194
305
|
# Offense count: 7
|
195
306
|
# This cop supports safe autocorrection (--autocorrect).
|
196
307
|
# Configuration parameters: PreferredName.
|
@@ -209,12 +320,6 @@ Naming/VariableNumber:
|
|
209
320
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
210
321
|
- 'setup/git/000_EnvSetup.rb'
|
211
322
|
|
212
|
-
# Offense count: 1
|
213
|
-
# This cop supports safe autocorrection (--autocorrect).
|
214
|
-
Performance/BlockGivenWithExplicitBlock:
|
215
|
-
Exclude:
|
216
|
-
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
217
|
-
|
218
323
|
# Offense count: 1
|
219
324
|
# Configuration parameters: MinSize.
|
220
325
|
Performance/CollectionLiteralInLoop:
|
@@ -241,7 +346,7 @@ Performance/RedundantMerge:
|
|
241
346
|
Exclude:
|
242
347
|
- 'lib/beaker-puppet/helpers/facter_helpers.rb'
|
243
348
|
|
244
|
-
# Offense count:
|
349
|
+
# Offense count: 41
|
245
350
|
# This cop supports safe autocorrection (--autocorrect).
|
246
351
|
Performance/RegexpMatch:
|
247
352
|
Exclude:
|
@@ -258,7 +363,20 @@ Performance/RegexpMatch:
|
|
258
363
|
- 'setup/gem/010_GemInstall.rb'
|
259
364
|
- 'setup/git/000_EnvSetup.rb'
|
260
365
|
|
261
|
-
# Offense count:
|
366
|
+
# Offense count: 1
|
367
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
368
|
+
# Configuration parameters: SafeMultiline.
|
369
|
+
Performance/StartWith:
|
370
|
+
Exclude:
|
371
|
+
- 'lib/beaker-puppet/inifile.rb'
|
372
|
+
|
373
|
+
# Offense count: 1
|
374
|
+
# This cop supports safe autocorrection (--autocorrect).
|
375
|
+
Performance/StringIdentifierArgument:
|
376
|
+
Exclude:
|
377
|
+
- 'spec/beaker-puppet/wrappers_spec.rb'
|
378
|
+
|
379
|
+
# Offense count: 28
|
262
380
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
263
381
|
Performance/StringInclude:
|
264
382
|
Exclude:
|
@@ -299,7 +417,7 @@ RSpec/ContextMethod:
|
|
299
417
|
Exclude:
|
300
418
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
301
419
|
|
302
|
-
# Offense count:
|
420
|
+
# Offense count: 41
|
303
421
|
# Configuration parameters: Prefixes, AllowedPatterns.
|
304
422
|
# Prefixes: when, with, without
|
305
423
|
RSpec/ContextWording:
|
@@ -311,7 +429,7 @@ RSpec/ContextWording:
|
|
311
429
|
- 'spec/beaker-puppet/install_utils/puppet_utils_spec.rb'
|
312
430
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
313
431
|
|
314
|
-
# Offense count:
|
432
|
+
# Offense count: 22
|
315
433
|
# This cop supports safe autocorrection (--autocorrect).
|
316
434
|
# Configuration parameters: AllowConsecutiveOneLiners.
|
317
435
|
RSpec/EmptyLineAfterExample:
|
@@ -327,7 +445,7 @@ RSpec/EmptyLineAfterExampleGroup:
|
|
327
445
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
328
446
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
329
447
|
|
330
|
-
# Offense count:
|
448
|
+
# Offense count: 16
|
331
449
|
# This cop supports safe autocorrection (--autocorrect).
|
332
450
|
RSpec/EmptyLineAfterFinalLet:
|
333
451
|
Exclude:
|
@@ -336,12 +454,11 @@ RSpec/EmptyLineAfterFinalLet:
|
|
336
454
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
337
455
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
338
456
|
|
339
|
-
# Offense count:
|
457
|
+
# Offense count: 3
|
340
458
|
# This cop supports safe autocorrection (--autocorrect).
|
341
459
|
# Configuration parameters: AllowConsecutiveOneLiners.
|
342
460
|
RSpec/EmptyLineAfterHook:
|
343
461
|
Exclude:
|
344
|
-
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
345
462
|
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
346
463
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
347
464
|
|
@@ -351,12 +468,12 @@ RSpec/Eq:
|
|
351
468
|
Exclude:
|
352
469
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
353
470
|
|
354
|
-
# Offense count:
|
471
|
+
# Offense count: 113
|
355
472
|
# Configuration parameters: CountAsOne.
|
356
473
|
RSpec/ExampleLength:
|
357
|
-
Max:
|
474
|
+
Max: 30
|
358
475
|
|
359
|
-
# Offense count:
|
476
|
+
# Offense count: 34
|
360
477
|
# This cop supports safe autocorrection (--autocorrect).
|
361
478
|
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
362
479
|
# DisallowedExamples: works
|
@@ -365,32 +482,16 @@ RSpec/ExampleWording:
|
|
365
482
|
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
366
483
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
367
484
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
485
|
+
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
368
486
|
- 'spec/beaker-puppet/wrappers_spec.rb'
|
369
487
|
|
370
|
-
# Offense count:
|
488
|
+
# Offense count: 4
|
371
489
|
RSpec/ExpectInHook:
|
372
490
|
Exclude:
|
373
491
|
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
374
492
|
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
375
493
|
|
376
|
-
# Offense count:
|
377
|
-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
|
378
|
-
# Include: **/*_spec*rb*, **/spec/**/*
|
379
|
-
RSpec/FilePath:
|
380
|
-
Exclude:
|
381
|
-
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
382
|
-
- 'spec/beaker-puppet/helpers/host_helpers_spec.rb'
|
383
|
-
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
384
|
-
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
385
|
-
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
386
|
-
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
387
|
-
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
388
|
-
- 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
|
389
|
-
- 'spec/beaker-puppet/install_utils/puppet_utils_spec.rb'
|
390
|
-
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
391
|
-
- 'spec/beaker-puppet/wrappers_spec.rb'
|
392
|
-
|
393
|
-
# Offense count: 26
|
494
|
+
# Offense count: 22
|
394
495
|
# This cop supports safe autocorrection (--autocorrect).
|
395
496
|
# Configuration parameters: EnforcedStyle.
|
396
497
|
# SupportedStyles: implicit, each, example
|
@@ -408,7 +509,7 @@ RSpec/IndexedLet:
|
|
408
509
|
Exclude:
|
409
510
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
410
511
|
|
411
|
-
# Offense count:
|
512
|
+
# Offense count: 12
|
412
513
|
# Configuration parameters: AssignmentOnly.
|
413
514
|
RSpec/InstanceVariable:
|
414
515
|
Exclude:
|
@@ -428,13 +529,7 @@ RSpec/IteratedExpectation:
|
|
428
529
|
Exclude:
|
429
530
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
430
531
|
|
431
|
-
# Offense count:
|
432
|
-
# This cop supports safe autocorrection (--autocorrect).
|
433
|
-
RSpec/LetBeforeExamples:
|
434
|
-
Exclude:
|
435
|
-
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
436
|
-
|
437
|
-
# Offense count: 508
|
532
|
+
# Offense count: 412
|
438
533
|
# Configuration parameters: EnforcedStyle.
|
439
534
|
# SupportedStyles: have_received, receive
|
440
535
|
RSpec/MessageSpies:
|
@@ -450,16 +545,16 @@ RSpec/MessageSpies:
|
|
450
545
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
451
546
|
- 'spec/beaker-puppet/wrappers_spec.rb'
|
452
547
|
|
453
|
-
# Offense count:
|
548
|
+
# Offense count: 147
|
454
549
|
RSpec/MultipleExpectations:
|
455
|
-
Max:
|
550
|
+
Max: 8
|
456
551
|
|
457
|
-
# Offense count:
|
552
|
+
# Offense count: 134
|
458
553
|
# Configuration parameters: AllowSubject.
|
459
554
|
RSpec/MultipleMemoizedHelpers:
|
460
555
|
Max: 25
|
461
556
|
|
462
|
-
# Offense count:
|
557
|
+
# Offense count: 800
|
463
558
|
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
|
464
559
|
# SupportedStyles: always, named_only
|
465
560
|
RSpec/NamedSubject:
|
@@ -476,23 +571,21 @@ RSpec/NamedSubject:
|
|
476
571
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
477
572
|
- 'spec/beaker-puppet/wrappers_spec.rb'
|
478
573
|
|
479
|
-
# Offense count:
|
574
|
+
# Offense count: 21
|
480
575
|
# Configuration parameters: AllowedGroups.
|
481
576
|
RSpec/NestedGroups:
|
482
577
|
Max: 5
|
483
578
|
|
484
|
-
# Offense count:
|
579
|
+
# Offense count: 4
|
485
580
|
# Configuration parameters: AllowedPatterns.
|
486
581
|
# AllowedPatterns: ^expect_, ^assert_
|
487
582
|
RSpec/NoExpectationExample:
|
488
583
|
Exclude:
|
489
|
-
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
490
584
|
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
491
585
|
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
492
|
-
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
493
586
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
494
587
|
|
495
|
-
# Offense count:
|
588
|
+
# Offense count: 8
|
496
589
|
# This cop supports safe autocorrection (--autocorrect).
|
497
590
|
# Configuration parameters: EnforcedStyle.
|
498
591
|
# SupportedStyles: not_to, to_not
|
@@ -502,14 +595,14 @@ RSpec/NotToNot:
|
|
502
595
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
503
596
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
504
597
|
|
505
|
-
# Offense count:
|
598
|
+
# Offense count: 16
|
506
599
|
# This cop supports safe autocorrection (--autocorrect).
|
507
600
|
RSpec/ReceiveCounts:
|
508
601
|
Exclude:
|
509
602
|
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
510
603
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
511
604
|
|
512
|
-
# Offense count:
|
605
|
+
# Offense count: 64
|
513
606
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
514
607
|
RSpec/ReceiveMessages:
|
515
608
|
Exclude:
|
@@ -534,7 +627,7 @@ RSpec/RepeatedDescription:
|
|
534
627
|
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
535
628
|
- 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
|
536
629
|
|
537
|
-
# Offense count:
|
630
|
+
# Offense count: 25
|
538
631
|
# This cop supports safe autocorrection (--autocorrect).
|
539
632
|
# Configuration parameters: EnforcedStyle.
|
540
633
|
# SupportedStyles: and_return, block
|
@@ -562,7 +655,13 @@ RSpec/SpecFilePathFormat:
|
|
562
655
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
563
656
|
- 'spec/beaker-puppet/wrappers_spec.rb'
|
564
657
|
|
565
|
-
# Offense count:
|
658
|
+
# Offense count: 1
|
659
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
660
|
+
RSpec/StringAsInstanceDoubleConstant:
|
661
|
+
Exclude:
|
662
|
+
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
663
|
+
|
664
|
+
# Offense count: 88
|
566
665
|
RSpec/StubbedMock:
|
567
666
|
Exclude:
|
568
667
|
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
@@ -574,7 +673,7 @@ RSpec/StubbedMock:
|
|
574
673
|
- 'spec/beaker-puppet/install_utils/puppet_utils_spec.rb'
|
575
674
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
576
675
|
|
577
|
-
# Offense count:
|
676
|
+
# Offense count: 501
|
578
677
|
RSpec/SubjectStub:
|
579
678
|
Exclude:
|
580
679
|
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
@@ -596,11 +695,10 @@ RSpec/VerifiedDoubleReference:
|
|
596
695
|
Exclude:
|
597
696
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
598
697
|
|
599
|
-
# Offense count:
|
698
|
+
# Offense count: 5
|
600
699
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
601
700
|
RSpec/VerifiedDoubles:
|
602
701
|
Exclude:
|
603
|
-
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
604
702
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
605
703
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
606
704
|
- 'spec/helpers.rb'
|
@@ -648,7 +746,23 @@ Security/YAMLLoad:
|
|
648
746
|
Exclude:
|
649
747
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
650
748
|
|
651
|
-
# Offense count:
|
749
|
+
# Offense count: 2
|
750
|
+
# This cop supports safe autocorrection (--autocorrect).
|
751
|
+
# Configuration parameters: EnforcedStyle.
|
752
|
+
# SupportedStyles: separated, grouped
|
753
|
+
Style/AccessorGrouping:
|
754
|
+
Exclude:
|
755
|
+
- 'lib/beaker-puppet/inifile.rb'
|
756
|
+
|
757
|
+
# Offense count: 3
|
758
|
+
# This cop supports safe autocorrection (--autocorrect).
|
759
|
+
# Configuration parameters: EnforcedStyle.
|
760
|
+
# SupportedStyles: prefer_alias, prefer_alias_method
|
761
|
+
Style/Alias:
|
762
|
+
Exclude:
|
763
|
+
- 'lib/beaker-puppet/inifile.rb'
|
764
|
+
|
765
|
+
# Offense count: 5
|
652
766
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
653
767
|
# Configuration parameters: EnforcedStyle.
|
654
768
|
# SupportedStyles: always, conditionals
|
@@ -657,6 +771,17 @@ Style/AndOr:
|
|
657
771
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
658
772
|
- 'lib/beaker-puppet/install_utils/puppet_utils.rb'
|
659
773
|
|
774
|
+
# Offense count: 1
|
775
|
+
# This cop supports safe autocorrection (--autocorrect).
|
776
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
777
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
778
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
779
|
+
# FunctionalMethods: let, let!, subject, watch
|
780
|
+
# AllowedMethods: lambda, proc, it
|
781
|
+
Style/BlockDelimiters:
|
782
|
+
Exclude:
|
783
|
+
- 'lib/beaker-puppet/inifile.rb'
|
784
|
+
|
660
785
|
# Offense count: 10
|
661
786
|
# This cop supports safe autocorrection (--autocorrect).
|
662
787
|
# Configuration parameters: AllowOnConstant, AllowOnSelfClass.
|
@@ -667,20 +792,20 @@ Style/CaseEquality:
|
|
667
792
|
- 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
|
668
793
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
669
794
|
|
670
|
-
# Offense count:
|
795
|
+
# Offense count: 1
|
671
796
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
672
797
|
# Configuration parameters: MinBranchesCount.
|
673
798
|
Style/CaseLikeIf:
|
674
799
|
Exclude:
|
675
800
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
676
|
-
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
677
801
|
|
678
|
-
# Offense count:
|
802
|
+
# Offense count: 2
|
679
803
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
680
804
|
# Configuration parameters: EnforcedStyle.
|
681
805
|
# SupportedStyles: nested, compact
|
682
806
|
Style/ClassAndModuleChildren:
|
683
807
|
Exclude:
|
808
|
+
- 'lib/beaker-puppet/inifile.rb'
|
684
809
|
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
685
810
|
|
686
811
|
# Offense count: 1
|
@@ -696,6 +821,12 @@ Style/CombinableLoops:
|
|
696
821
|
Exclude:
|
697
822
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
698
823
|
|
824
|
+
# Offense count: 1
|
825
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
826
|
+
Style/CommentedKeyword:
|
827
|
+
Exclude:
|
828
|
+
- 'lib/beaker-puppet/inifile.rb'
|
829
|
+
|
699
830
|
# Offense count: 3
|
700
831
|
# Configuration parameters: AllowedConstants.
|
701
832
|
Style/Documentation:
|
@@ -706,12 +837,30 @@ Style/Documentation:
|
|
706
837
|
- 'lib/beaker-puppet/install_utils/puppet5.rb'
|
707
838
|
- 'lib/beaker-puppet/wrappers.rb'
|
708
839
|
|
840
|
+
# Offense count: 2
|
841
|
+
# This cop supports safe autocorrection (--autocorrect).
|
842
|
+
Style/EmptyLiteral:
|
843
|
+
Exclude:
|
844
|
+
- 'lib/beaker-puppet/inifile.rb'
|
845
|
+
|
846
|
+
# Offense count: 1
|
847
|
+
# This cop supports safe autocorrection (--autocorrect).
|
848
|
+
Style/Encoding:
|
849
|
+
Exclude:
|
850
|
+
- 'lib/beaker-puppet/inifile.rb'
|
851
|
+
|
709
852
|
# Offense count: 1
|
710
853
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
711
854
|
Style/EnvHome:
|
712
855
|
Exclude:
|
713
856
|
- 'acceptance/config/acceptance-options.rb'
|
714
857
|
|
858
|
+
# Offense count: 1
|
859
|
+
# This cop supports safe autocorrection (--autocorrect).
|
860
|
+
Style/ExplicitBlockArgument:
|
861
|
+
Exclude:
|
862
|
+
- 'lib/beaker-puppet/inifile.rb'
|
863
|
+
|
715
864
|
# Offense count: 20
|
716
865
|
# This cop supports safe autocorrection (--autocorrect).
|
717
866
|
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
|
@@ -719,19 +868,29 @@ Style/EnvHome:
|
|
719
868
|
Style/FormatStringToken:
|
720
869
|
EnforcedStyle: unannotated
|
721
870
|
|
722
|
-
# Offense count:
|
871
|
+
# Offense count: 75
|
723
872
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
724
873
|
# Configuration parameters: EnforcedStyle.
|
725
874
|
# SupportedStyles: always, always_true, never
|
726
875
|
Style/FrozenStringLiteralComment:
|
727
876
|
Enabled: false
|
728
877
|
|
729
|
-
# Offense count:
|
878
|
+
# Offense count: 2
|
730
879
|
# Configuration parameters: MinBranchesCount.
|
731
880
|
Style/HashLikeCase:
|
732
881
|
Exclude:
|
882
|
+
- 'lib/beaker-puppet/inifile.rb'
|
733
883
|
- 'lib/beaker-puppet/install_utils/windows_utils.rb'
|
734
884
|
|
885
|
+
# Offense count: 1
|
886
|
+
# This cop supports safe autocorrection (--autocorrect).
|
887
|
+
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
888
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
889
|
+
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
|
890
|
+
Style/HashSyntax:
|
891
|
+
Exclude:
|
892
|
+
- 'lib/beaker-puppet/inifile.rb'
|
893
|
+
|
735
894
|
# Offense count: 4
|
736
895
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
737
896
|
Style/IdenticalConditionalBranches:
|
@@ -739,7 +898,7 @@ Style/IdenticalConditionalBranches:
|
|
739
898
|
- 'lib/beaker-puppet/helpers/tk_helpers.rb'
|
740
899
|
- 'lib/beaker-puppet/install_utils/ezbake_utils.rb'
|
741
900
|
|
742
|
-
# Offense count:
|
901
|
+
# Offense count: 12
|
743
902
|
# This cop supports safe autocorrection (--autocorrect).
|
744
903
|
Style/IfUnlessModifier:
|
745
904
|
Exclude:
|
@@ -756,6 +915,12 @@ Style/LineEndConcatenation:
|
|
756
915
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
757
916
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
758
917
|
|
918
|
+
# Offense count: 1
|
919
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
920
|
+
Style/MapIntoArray:
|
921
|
+
Exclude:
|
922
|
+
- 'acceptance/pre_suite/git/install.rb'
|
923
|
+
|
759
924
|
# Offense count: 1
|
760
925
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
761
926
|
Style/MapToHash:
|
@@ -767,7 +932,7 @@ Style/MixinUsage:
|
|
767
932
|
Exclude:
|
768
933
|
- 'tasks/ci.rake'
|
769
934
|
|
770
|
-
# Offense count:
|
935
|
+
# Offense count: 39
|
771
936
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
772
937
|
# Configuration parameters: EnforcedStyle.
|
773
938
|
# SupportedStyles: literals, strict
|
@@ -807,13 +972,27 @@ Style/OptionalBooleanParameter:
|
|
807
972
|
- 'Rakefile'
|
808
973
|
- 'lib/beaker-puppet/helpers/tk_helpers.rb'
|
809
974
|
|
810
|
-
# Offense count:
|
975
|
+
# Offense count: 19
|
976
|
+
# This cop supports safe autocorrection (--autocorrect).
|
977
|
+
# Configuration parameters: PreferredDelimiters.
|
978
|
+
Style/PercentLiteralDelimiters:
|
979
|
+
Exclude:
|
980
|
+
- 'lib/beaker-puppet/inifile.rb'
|
981
|
+
|
982
|
+
# Offense count: 11
|
983
|
+
# This cop supports safe autocorrection (--autocorrect).
|
984
|
+
Style/PerlBackrefs:
|
985
|
+
Exclude:
|
986
|
+
- 'lib/beaker-puppet/inifile.rb'
|
987
|
+
|
988
|
+
# Offense count: 9
|
811
989
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
812
990
|
# Configuration parameters: EnforcedStyle.
|
813
991
|
# SupportedStyles: short, verbose
|
814
992
|
Style/PreferredHashMethods:
|
815
993
|
Exclude:
|
816
994
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
995
|
+
- 'lib/beaker-puppet/inifile.rb'
|
817
996
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
818
997
|
- 'lib/beaker-puppet/install_utils/module_utils.rb'
|
819
998
|
- 'spec/helpers.rb'
|
@@ -826,7 +1005,7 @@ Style/RedundantArgument:
|
|
826
1005
|
- 'Rakefile'
|
827
1006
|
- 'tasks/ci.rake'
|
828
1007
|
|
829
|
-
# Offense count:
|
1008
|
+
# Offense count: 9
|
830
1009
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
831
1010
|
Style/RedundantInterpolation:
|
832
1011
|
Exclude:
|
@@ -838,6 +1017,44 @@ Style/RedundantInterpolation:
|
|
838
1017
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
839
1018
|
- 'tasks/ci.rake'
|
840
1019
|
|
1020
|
+
# Offense count: 2
|
1021
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1022
|
+
Style/RedundantLineContinuation:
|
1023
|
+
Exclude:
|
1024
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1025
|
+
|
1026
|
+
# Offense count: 1
|
1027
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1028
|
+
Style/RedundantParentheses:
|
1029
|
+
Exclude:
|
1030
|
+
- 'setup/git/000_EnvSetup.rb'
|
1031
|
+
|
1032
|
+
# Offense count: 3
|
1033
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1034
|
+
Style/RedundantRegexpArgument:
|
1035
|
+
Exclude:
|
1036
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1037
|
+
|
1038
|
+
# Offense count: 7
|
1039
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1040
|
+
Style/RedundantSelf:
|
1041
|
+
Exclude:
|
1042
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1043
|
+
|
1044
|
+
# Offense count: 19
|
1045
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1046
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
1047
|
+
# SupportedStyles: slashes, percent_r, mixed
|
1048
|
+
Style/RegexpLiteral:
|
1049
|
+
Exclude:
|
1050
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1051
|
+
|
1052
|
+
# Offense count: 1
|
1053
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1054
|
+
Style/RescueModifier:
|
1055
|
+
Exclude:
|
1056
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1057
|
+
|
841
1058
|
# Offense count: 2
|
842
1059
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
843
1060
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
@@ -846,12 +1063,13 @@ Style/SafeNavigation:
|
|
846
1063
|
Exclude:
|
847
1064
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
848
1065
|
|
849
|
-
# Offense count:
|
1066
|
+
# Offense count: 4
|
850
1067
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
851
1068
|
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
852
1069
|
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
853
1070
|
Style/SpecialGlobalVars:
|
854
1071
|
Exclude:
|
1072
|
+
- 'lib/beaker-puppet/inifile.rb'
|
855
1073
|
- 'lib/beaker-puppet/install_utils/puppet5.rb'
|
856
1074
|
|
857
1075
|
# Offense count: 15
|
@@ -864,6 +1082,28 @@ Style/StringConcatenation:
|
|
864
1082
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
865
1083
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
866
1084
|
|
1085
|
+
# Offense count: 6
|
1086
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1087
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
1088
|
+
# SupportedStyles: single_quotes, double_quotes
|
1089
|
+
Style/StringLiterals:
|
1090
|
+
Exclude:
|
1091
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1092
|
+
|
1093
|
+
# Offense count: 1
|
1094
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
1095
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
1096
|
+
# AllowedMethods: define_method
|
1097
|
+
Style/SymbolProc:
|
1098
|
+
Exclude:
|
1099
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1100
|
+
|
1101
|
+
# Offense count: 8
|
1102
|
+
# This cop supports safe autocorrection (--autocorrect).
|
1103
|
+
Style/WhenThen:
|
1104
|
+
Exclude:
|
1105
|
+
- 'lib/beaker-puppet/inifile.rb'
|
1106
|
+
|
867
1107
|
# Offense count: 1
|
868
1108
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
869
1109
|
# Configuration parameters: EnforcedStyle.
|
@@ -879,7 +1119,7 @@ Style/ZeroLengthPredicate:
|
|
879
1119
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
880
1120
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
881
1121
|
|
882
|
-
# Offense count:
|
1122
|
+
# Offense count: 108
|
883
1123
|
# This cop supports safe autocorrection (--autocorrect).
|
884
1124
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
885
1125
|
# URISchemes: http, https
|