beaker-puppet 2.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bc65e2503149c21a4515df6509372d5a412fad921bbf0bd7fa7bb9e62c2bb7
4
- data.tar.gz: edd02a9dcc6f30d5f4953d72246aa2ef9d2b70cec02f2dda5e116c954213ad95
3
+ metadata.gz: a3fe57eaf8134ebaf8e7d3059b5cbf927a023b9264fba6bed84ab25c8fc475b8
4
+ data.tar.gz: b336af52d9d10b87473a51b76471f17f23d9913a59071c76395e413e5096331f
5
5
  SHA512:
6
- metadata.gz: 25e8f68c738a41d6dc8885d0234a0bc5403e7eccd3886f4bdc4265b1ccab40e6127818788c734a8fe2094de762be2f56e4e030885f1b333513f63eea81e3c564
7
- data.tar.gz: 916a2f0173aedb4e45885582e7507c7e3092a6c5ccf36c43056b4555e03db84b9f20154dd2133fe0d0e7bce939a5ecc52f8891dfae0b567068e86035eb6079f9
6
+ metadata.gz: 93fabb76ba35f1d2af79beb763da85bc9e65bd1fd412214f2f0d898251fd1018630a00ac319b15098b57258ef925ed835a50d83fee98f1d6d25c3e50a83320c8
7
+ data.tar.gz: caddb56e11d1c2f44996d70bc9b732321ce3aa48d8e492da82b67fca3f2d0b871e4e4015348429db1147b23f912739447a8d7eabf009bbf63c44261fbe470a56
@@ -8,9 +8,9 @@ on:
8
8
  jobs:
9
9
  release:
10
10
  runs-on: ubuntu-latest
11
- if: github.repository_owner == 'voxpupuli'
11
+ if: github.repository_owner == 'puppetlabs'
12
12
  steps:
13
- - uses: actions/checkout@v3
13
+ - uses: actions/checkout@v4
14
14
  - name: Install Ruby 3.0
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
@@ -4,7 +4,7 @@ on:
4
4
  pull_request: {}
5
5
  push:
6
6
  branches:
7
- - master
7
+ - main
8
8
 
9
9
  env:
10
10
  BUNDLE_WITHOUT: release
@@ -13,7 +13,7 @@ jobs:
13
13
  rubocop:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: actions/checkout@v3
16
+ - uses: actions/checkout@v4
17
17
  - name: Install Ruby ${{ matrix.ruby }}
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
@@ -38,7 +38,7 @@ jobs:
38
38
  COVERAGE: ${{ matrix.coverage }}
39
39
  name: RSpec - Ruby ${{ matrix.ruby }}
40
40
  steps:
41
- - uses: actions/checkout@v3
41
+ - uses: actions/checkout@v4
42
42
  - name: Install Ruby ${{ matrix.ruby }}
43
43
  uses: ruby/setup-ruby@v1
44
44
  with:
@@ -0,0 +1,3 @@
1
+ project=beaker-puppet
2
+ user=puppetlabs
3
+ exclude_labels=maintenance
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2023-05-05 13:27:13 UTC using RuboCop version 1.50.2.
3
+ # on 2023-12-19 12:29:40 UTC using RuboCop version 1.57.2.
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
@@ -15,6 +15,7 @@ Gemspec/DeprecatedAttributeAssignment:
15
15
  - 'beaker-puppet.gemspec'
16
16
 
17
17
  # Offense count: 2
18
+ # This cop supports safe autocorrection (--autocorrect).
18
19
  # Configuration parameters: AllowedMethods, AllowedPatterns.
19
20
  Lint/AmbiguousBlockAssociation:
20
21
  Exclude:
@@ -79,8 +80,14 @@ Lint/ParenthesesAsGroupedExpression:
79
80
  - 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
80
81
  - 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
81
82
 
82
- # Offense count: 2
83
+ # Offense count: 1
83
84
  # This cop supports safe autocorrection (--autocorrect).
85
+ Lint/RedundantCopDisableDirective:
86
+ Exclude:
87
+ - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
88
+
89
+ # Offense count: 2
90
+ # This cop supports unsafe autocorrection (--autocorrect-all).
84
91
  Lint/RedundantRequireStatement:
85
92
  Exclude:
86
93
  - 'spec/spec_helper.rb'
@@ -133,6 +140,7 @@ Lint/UnusedMethodArgument:
133
140
  - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
134
141
 
135
142
  # Offense count: 17
143
+ # This cop supports unsafe autocorrection (--autocorrect-all).
136
144
  Lint/UselessAssignment:
137
145
  Exclude:
138
146
  - 'acceptance/tests/clone_git_repo_on_test.rb'
@@ -276,12 +284,13 @@ Performance/StringReplacement:
276
284
  - 'lib/beaker-puppet/install_utils/windows_utils.rb'
277
285
  - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
278
286
 
279
- # Offense count: 5
287
+ # Offense count: 6
280
288
  # This cop supports unsafe autocorrection (--autocorrect-all).
281
289
  RSpec/BeEq:
282
290
  Exclude:
283
291
  - 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
284
292
  - 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
293
+ - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
285
294
  - 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
286
295
 
287
296
  # Offense count: 2
@@ -336,6 +345,12 @@ RSpec/EmptyLineAfterHook:
336
345
  - 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
337
346
  - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
338
347
 
348
+ # Offense count: 1
349
+ # This cop supports safe autocorrection (--autocorrect).
350
+ RSpec/Eq:
351
+ Exclude:
352
+ - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
353
+
339
354
  # Offense count: 138
340
355
  # Configuration parameters: CountAsOne.
341
356
  RSpec/ExampleLength:
@@ -388,7 +403,7 @@ RSpec/HookArgument:
388
403
  - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
389
404
 
390
405
  # Offense count: 2
391
- # Configuration parameters: Max.
406
+ # Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
392
407
  RSpec/IndexedLet:
393
408
  Exclude:
394
409
  - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
@@ -494,6 +509,16 @@ RSpec/ReceiveCounts:
494
509
  - 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
495
510
  - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
496
511
 
512
+ # Offense count: 66
513
+ # This cop supports unsafe autocorrection (--autocorrect-all).
514
+ RSpec/ReceiveMessages:
515
+ Exclude:
516
+ - 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
517
+ - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
518
+ - 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
519
+ - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
520
+ - 'spec/helpers.rb'
521
+
497
522
  # Offense count: 19
498
523
  # This cop supports safe autocorrection (--autocorrect).
499
524
  RSpec/ReceiveNever:
@@ -519,6 +544,24 @@ RSpec/ReturnFromStub:
519
544
  - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
520
545
  - 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
521
546
 
547
+ # Offense count: 11
548
+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
549
+ # Include: **/*_spec.rb
550
+ RSpec/SpecFilePathFormat:
551
+ Exclude:
552
+ - '**/spec/routing/**/*'
553
+ - 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
554
+ - 'spec/beaker-puppet/helpers/host_helpers_spec.rb'
555
+ - 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
556
+ - 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
557
+ - 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
558
+ - 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
559
+ - 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
560
+ - 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
561
+ - 'spec/beaker-puppet/install_utils/puppet_utils_spec.rb'
562
+ - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
563
+ - 'spec/beaker-puppet/wrappers_spec.rb'
564
+
522
565
  # Offense count: 106
523
566
  RSpec/StubbedMock:
524
567
  Exclude:
@@ -642,11 +685,13 @@ Style/ClassAndModuleChildren:
642
685
 
643
686
  # Offense count: 1
644
687
  # This cop supports unsafe autocorrection (--autocorrect-all).
688
+ # Configuration parameters: AllowedReceivers.
645
689
  Style/CollectionCompact:
646
690
  Exclude:
647
691
  - 'lib/beaker-puppet/install_utils/foss_utils.rb'
648
692
 
649
693
  # Offense count: 1
694
+ # This cop supports unsafe autocorrection (--autocorrect-all).
650
695
  Style/CombinableLoops:
651
696
  Exclude:
652
697
  - 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
@@ -694,7 +739,7 @@ Style/IdenticalConditionalBranches:
694
739
  - 'lib/beaker-puppet/helpers/tk_helpers.rb'
695
740
  - 'lib/beaker-puppet/install_utils/ezbake_utils.rb'
696
741
 
697
- # Offense count: 12
742
+ # Offense count: 13
698
743
  # This cop supports safe autocorrection (--autocorrect).
699
744
  Style/IfUnlessModifier:
700
745
  Exclude:
@@ -736,7 +781,7 @@ Style/NonNilCheck:
736
781
  Exclude:
737
782
  - 'lib/beaker-puppet/install_utils/foss_utils.rb'
738
783
 
739
- # Offense count: 10
784
+ # Offense count: 11
740
785
  # This cop supports unsafe autocorrection (--autocorrect-all).
741
786
  # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
742
787
  # SupportedStyles: predicate, comparison
@@ -834,7 +879,7 @@ Style/ZeroLengthPredicate:
834
879
  - 'lib/beaker-puppet/helpers/puppet_helpers.rb'
835
880
  - 'lib/beaker-puppet/install_utils/foss_utils.rb'
836
881
 
837
- # Offense count: 121
882
+ # Offense count: 122
838
883
  # This cop supports safe autocorrection (--autocorrect).
839
884
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
840
885
  # URISchemes: http, https