puppetlabs-onceover 5.0.3 → 5.0.4

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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.rubocop_todo.yml +35 -15
  4. data/CHANGELOG.md +387 -3
  5. data/Gemfile +1 -0
  6. data/lib/puppetlabs-onceover/cli/plugins.rb +3 -3
  7. data/lib/puppetlabs-onceover/controlrepo.rb +8 -7
  8. data/lib/puppetlabs-onceover/version.rb +1 -1
  9. data/spec/fixtures/controlrepos/deploy_test/Puppetfile +3 -0
  10. data/spec/fixtures/controlrepos/deploy_test/a_dir/nested_file.txt +1 -0
  11. data/spec/fixtures/controlrepos/deploy_test/a_symlink +1 -0
  12. data/spec/fixtures/controlrepos/deploy_test/environment.conf +1 -0
  13. data/spec/fixtures/controlrepos/deploy_test/regular_file.txt +1 -0
  14. data/spec/puppetlabs-onceover/beaker_spec.rb +293 -0
  15. data/spec/puppetlabs-onceover/class_spec.rb +89 -0
  16. data/spec/puppetlabs-onceover/cli/run_spec.rb +80 -0
  17. data/spec/puppetlabs-onceover/cli/show_spec.rb +67 -0
  18. data/spec/puppetlabs-onceover/cli_spec.rb +79 -0
  19. data/spec/puppetlabs-onceover/controlrepo_spec.rb +787 -5
  20. data/spec/puppetlabs-onceover/deploy_spec.rb +246 -0
  21. data/spec/puppetlabs-onceover/group_spec.rb +121 -0
  22. data/spec/puppetlabs-onceover/logger_spec.rb +30 -0
  23. data/spec/puppetlabs-onceover/node_spec.rb +124 -0
  24. data/spec/puppetlabs-onceover/rake_tasks_spec.rb +173 -0
  25. data/spec/puppetlabs-onceover/rspec/formatters_spec.rb +361 -0
  26. data/spec/puppetlabs-onceover/runner_spec.rb +307 -0
  27. data/spec/puppetlabs-onceover/test_spec.rb +177 -0
  28. data/spec/puppetlabs-onceover/testconfig_spec.rb +451 -0
  29. data/spec/puppetlabs-onceover/vendored_modules_spec.rb +302 -0
  30. data/spec/puppetlabs-onceover/version_spec.rb +10 -0
  31. data/spec/spec_helper.rb +8 -0
  32. metadata +22 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb1a24d9bef771393d000adc120dab6bd26792308495f707c1387e945145258c
4
- data.tar.gz: a56a0f741a879b4e6842efc2f221426dbc8c4b77f5edb298ca3d7d962e8076e1
3
+ metadata.gz: e95581c2065fec671dd17a38351cbb3ea0d0a196c83e814c9f3ec1122ba1cbd9
4
+ data.tar.gz: aaf03ff8479d236f38d53e86199d5787136761c2f6e35da34db4665d56d58fa9
5
5
  SHA512:
6
- metadata.gz: 5a38763ed527cc6c56a7e25df2f71485a8e46359bd78add331ba772c305f21eb1b39917c35d77ccb79f3100ce56be4f20f732000e3b5075d51901e5239ae1ff1
7
- data.tar.gz: 3ca76442583fb941fa5c934d837f20cfd2b36fdc79e7ec2328571dcac369d8e2f682a4d0891692906549787b1d33f2d9fe11ca9d1bd19b53bf0cda87ae6b0c3f
6
+ metadata.gz: 43b88d11469774667a11c9e73549497bf94ffae4180e6bcab33b8dd196cfbd25d76f438ed9d09c6bc496dee3dde39f2465d3db027b84eca75ff63748adbd3056
7
+ data.tar.gz: c09f20f9eed9c02347dd79857d4ee6018d07370c09f3ba3a4c25c7a0e468cb61863b56d80f929503704f8529ef1a0925ef2f771b16e98f3a0f14672547c67d73
data/.gitignore CHANGED
@@ -7,10 +7,14 @@ Gemfile.local
7
7
  /.bundle
8
8
  /.bin
9
9
  /.ruby-version
10
+ /mise.toml
10
11
  tmp
11
12
  /vendor
12
13
  /.vendor
13
14
 
15
+ # rspec/simplecov coverage reports
16
+ /coverage
17
+
14
18
  # Vim
15
19
  /.projections.json
16
20
  /tags
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --no-auto-gen-timestamp`
3
- # using RuboCop version 1.85.1.
3
+ # using RuboCop version 1.90.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
@@ -41,7 +41,7 @@ Layout/IndentationWidth:
41
41
 
42
42
  # Offense count: 12
43
43
  # This cop supports safe autocorrection (--autocorrect).
44
- # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation.
44
+ # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation, AllowYARDCommentBlockSeparator.
45
45
  Layout/LeadingCommentSpace:
46
46
  Exclude:
47
47
  - 'lib/puppetlabs-onceover/beaker/spec_helper.rb'
@@ -184,6 +184,12 @@ Lint/AssignmentInCondition:
184
184
  - 'lib/puppetlabs-onceover/controlrepo.rb'
185
185
  - 'lib/puppetlabs-onceover/node.rb'
186
186
 
187
+ # Offense count: 1
188
+ # Configuration parameters: AllowComments.
189
+ Lint/EmptyClass:
190
+ Exclude:
191
+ - 'spec/puppetlabs-onceover/beaker_spec.rb'
192
+
187
193
  # Offense count: 4
188
194
  # This cop supports safe autocorrection (--autocorrect).
189
195
  Lint/ErbNewArguments:
@@ -246,27 +252,32 @@ Lint/UselessAssignment:
246
252
  Metrics/AbcSize:
247
253
  Max: 156
248
254
 
249
- # Offense count: 5
255
+ # Offense count: 54
250
256
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
251
257
  # AllowedMethods: refine
252
258
  Metrics/BlockLength:
253
- Max: 51
259
+ Max: 656
254
260
 
255
261
  # Offense count: 6
256
262
  # Configuration parameters: CountComments, CountAsOne.
257
263
  Metrics/ClassLength:
258
- Max: 494
264
+ Max: 495
259
265
 
260
- # Offense count: 15
266
+ # Offense count: 14
261
267
  # Configuration parameters: AllowedMethods, AllowedPatterns.
262
268
  Metrics/CyclomaticComplexity:
263
269
  Max: 31
264
270
 
265
- # Offense count: 51
271
+ # Offense count: 53
266
272
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
267
273
  Metrics/MethodLength:
268
274
  Max: 110
269
275
 
276
+ # Offense count: 2
277
+ # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
278
+ Metrics/ParameterLists:
279
+ Max: 6
280
+
270
281
  # Offense count: 15
271
282
  # Configuration parameters: AllowedMethods, AllowedPatterns.
272
283
  Metrics/PerceivedComplexity:
@@ -367,7 +378,7 @@ Style/ClassAndModuleChildren:
367
378
  Exclude:
368
379
  - 'lib/puppetlabs-onceover/logger.rb'
369
380
 
370
- # Offense count: 6
381
+ # Offense count: 24
371
382
  Style/ClassVars:
372
383
  Exclude:
373
384
  - 'lib/puppetlabs-onceover/class.rb'
@@ -375,6 +386,12 @@ Style/ClassVars:
375
386
  - 'lib/puppetlabs-onceover/group.rb'
376
387
  - 'lib/puppetlabs-onceover/node.rb'
377
388
  - 'lib/puppetlabs-onceover/test.rb'
389
+ - 'spec/puppetlabs-onceover/class_spec.rb'
390
+ - 'spec/puppetlabs-onceover/controlrepo_spec.rb'
391
+ - 'spec/puppetlabs-onceover/group_spec.rb'
392
+ - 'spec/puppetlabs-onceover/node_spec.rb'
393
+ - 'spec/puppetlabs-onceover/test_spec.rb'
394
+ - 'spec/puppetlabs-onceover/testconfig_spec.rb'
378
395
 
379
396
  # Offense count: 1
380
397
  # This cop supports unsafe autocorrection (--autocorrect-all).
@@ -428,7 +445,7 @@ Style/Encoding:
428
445
  Exclude:
429
446
  - 'puppetlabs-onceover.gemspec'
430
447
 
431
- # Offense count: 34
448
+ # Offense count: 50
432
449
  # This cop supports unsafe autocorrection (--autocorrect-all).
433
450
  # Configuration parameters: EnforcedStyle.
434
451
  # SupportedStyles: always, always_true, never
@@ -442,12 +459,13 @@ Style/GlobalStdStream:
442
459
  - 'features/step_definitions/formatter.rb'
443
460
  - 'lib/puppetlabs-onceover/runner.rb'
444
461
 
445
- # Offense count: 6
462
+ # Offense count: 8
446
463
  # Configuration parameters: AllowedVariables.
447
464
  Style/GlobalVars:
448
465
  Exclude:
449
466
  - 'lib/puppetlabs-onceover/controlrepo.rb'
450
467
  - 'lib/puppetlabs-onceover/logger.rb'
468
+ - 'spec/puppetlabs-onceover/logger_spec.rb'
451
469
 
452
470
  # Offense count: 5
453
471
  # This cop supports safe autocorrection (--autocorrect).
@@ -572,6 +590,8 @@ Style/NumericPredicate:
572
590
  # Configuration parameters: AllowedClasses.
573
591
  Style/OneClassPerFile:
574
592
  Exclude:
593
+ - 'spec/**/*'
594
+ - 'test/**/*'
575
595
  - 'lib/puppetlabs-onceover/rspec/formatters.rb'
576
596
 
577
597
  # Offense count: 2
@@ -739,14 +759,14 @@ Style/StringConcatenation:
739
759
  - 'lib/puppetlabs-onceover/rspec/formatters.rb'
740
760
  - 'lib/puppetlabs-onceover/runner.rb'
741
761
 
742
- # Offense count: 95
762
+ # Offense count: 343
743
763
  # This cop supports safe autocorrection (--autocorrect).
744
764
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
745
765
  # SupportedStyles: single_quotes, double_quotes
746
766
  Style/StringLiterals:
747
767
  Enabled: false
748
768
 
749
- # Offense count: 5
769
+ # Offense count: 9
750
770
  # This cop supports safe autocorrection (--autocorrect).
751
771
  # Configuration parameters: MinSize.
752
772
  # SupportedStyles: percent, brackets
@@ -763,7 +783,7 @@ Style/SymbolProc:
763
783
  - 'lib/puppetlabs-onceover/testconfig.rb'
764
784
  - 'spec/spec_helper.rb'
765
785
 
766
- # Offense count: 4
786
+ # Offense count: 3
767
787
  # This cop supports safe autocorrection (--autocorrect).
768
788
  # Configuration parameters: EnforcedStyleForMultiline.
769
789
  # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
@@ -796,9 +816,9 @@ Style/WhileUntilDo:
796
816
  Exclude:
797
817
  - 'lib/puppetlabs-onceover/controlrepo.rb'
798
818
 
799
- # Offense count: 31
819
+ # Offense count: 65
800
820
  # This cop supports safe autocorrection (--autocorrect).
801
821
  # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
802
822
  # URISchemes: http, https
803
823
  Layout/LineLength:
804
- Max: 421
824
+ Max: 421
data/CHANGELOG.md CHANGED
@@ -5,14 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
7
7
 
8
+ ## [v5.0.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v5.0.4) - 2026-09-03
9
+
10
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v5.0.3...v5.0.4)
11
+
12
+ ### Other
13
+
14
+ - (CAT-2820) Raise rspec unit test coverage to >90% [#23](https://github.com/puppetlabs/puppetlabs-onceover/pull/23) ([actowery](https://github.com/actowery))
15
+ - Fix plugin-discovery regex for renamed addon gems (CAT-2819) [#21](https://github.com/puppetlabs/puppetlabs-onceover/pull/21) ([actowery](https://github.com/actowery))
16
+ - (CAT-2817) Fix malformed CHANGELOG.md archive-boundary heading [#20](https://github.com/puppetlabs/puppetlabs-onceover/pull/20) ([actowery](https://github.com/actowery))
17
+
8
18
  ## [v5.0.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v5.0.3) - 2026-09-03
9
19
 
10
20
  [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v5.0.2...v5.0.3)
11
21
 
12
22
  ### Changed
13
23
 
14
- This version is a pure refactor of the original gem into a new namespace. For more information, see the following PRs:
15
-
16
24
  - (CAT-2814) Drop voxpupuli-test's monolithic rake integration [#16](https://github.com/puppetlabs/puppetlabs-onceover/pull/16) ([actowery](https://github.com/actowery))
17
25
  - (CAT-2778) Decouple from voxpupuli-test; fix stale pre-rename rake_tasks require [#13](https://github.com/puppetlabs/puppetlabs-onceover/pull/13) ([actowery](https://github.com/actowery))
18
26
  - (CAT-2775/CAT-2776) Land namespace rename + dependency flip on main [#10](https://github.com/puppetlabs/puppetlabs-onceover/pull/10) ([actowery](https://github.com/actowery))
@@ -20,6 +28,382 @@ This version is a pure refactor of the original gem into a new namespace. For m
20
28
  - (CAT-2775) Rename runtime namespace: Onceover -> PuppetlabsOnceover (Gate 3) [#6](https://github.com/puppetlabs/puppetlabs-onceover/pull/6) ([actowery](https://github.com/actowery))
21
29
  - (CAT-2774) Rename gem publisher identity: onceover -> puppetlabs-onceover (Gate 2) [#5](https://github.com/puppetlabs/puppetlabs-onceover/pull/5) ([actowery](https://github.com/actowery))
22
30
 
31
+ ### Other
32
+
33
+ - Fix release workflow [#19](https://github.com/puppetlabs/puppetlabs-onceover/pull/19) ([gavindidrichsen](https://github.com/gavindidrichsen))
34
+
23
35
  ## [v5.0.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v5.0.2) - 2025-10-10
24
36
 
25
- For all previous changes see [ARCHIVE.md](ARCHIVE.md)
37
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v5.0.1...v5.0.2)
38
+
39
+ ## [v5.0.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v5.0.1) - 2025-10-10
40
+
41
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v5.0.0...v5.0.1)
42
+
43
+ ## [v5.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v5.0.0) - 2025-06-27
44
+
45
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v4.0.0...v5.0.0)
46
+
47
+ ## [v4.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v4.0.0) - 2024-11-21
48
+
49
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.22.0...v4.0.0)
50
+
51
+ ## [v3.22.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.22.0) - 2024-03-16
52
+
53
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.21.0...v3.22.0)
54
+
55
+ ## [v3.21.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.21.0) - 2023-06-17
56
+
57
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.20.0...v3.21.0)
58
+
59
+ ## [v3.20.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.20.0) - 2021-04-08
60
+
61
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.19.2...v3.20.0)
62
+
63
+ ## [v3.19.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.19.2) - 2021-03-17
64
+
65
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.19.1...v3.19.2)
66
+
67
+ ## [v3.19.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.19.1) - 2021-01-26
68
+
69
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.19.0...v3.19.1)
70
+
71
+ ## [v3.19.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.19.0) - 2020-11-10
72
+
73
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.18.1...v3.19.0)
74
+
75
+ ## [v3.18.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.18.1) - 2020-09-23
76
+
77
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.18.0...v3.18.1)
78
+
79
+ ## [v3.18.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.18.0) - 2020-07-29
80
+
81
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.17.3...v3.18.0)
82
+
83
+ ## [v3.17.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.17.3) - 2020-07-17
84
+
85
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.17.2...v3.17.3)
86
+
87
+ ## [v3.17.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.17.2) - 2020-07-08
88
+
89
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.17.1...v3.17.2)
90
+
91
+ ## [v3.17.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.17.1) - 2020-07-01
92
+
93
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.17.0...v3.17.1)
94
+
95
+ ## [v3.17.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.17.0) - 2020-05-04
96
+
97
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.16.0...v3.17.0)
98
+
99
+ ## [v3.16.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.16.0) - 2020-04-21
100
+
101
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.15.2...v3.16.0)
102
+
103
+ ## [v3.15.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.15.2) - 2020-03-20
104
+
105
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.15.1...v3.15.2)
106
+
107
+ ## [v3.15.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.15.1) - 2020-03-10
108
+
109
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.15.0...v3.15.1)
110
+
111
+ ## [v3.15.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.15.0) - 2019-10-19
112
+
113
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.14.1...v3.15.0)
114
+
115
+ ## [v3.14.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.14.1) - 2019-06-19
116
+
117
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.14.0...v3.14.1)
118
+
119
+ ## [v3.14.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.14.0) - 2019-06-19
120
+
121
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.13.4...v3.14.0)
122
+
123
+ ## [v3.13.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.13.4) - 2019-06-12
124
+
125
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.13.3...v3.13.4)
126
+
127
+ ## [v3.13.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.13.3) - 2019-06-11
128
+
129
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.13.2...v3.13.3)
130
+
131
+ ## [v3.13.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.13.2) - 2019-06-04
132
+
133
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.13.1...v3.13.2)
134
+
135
+ ## [v3.13.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.13.1) - 2019-06-04
136
+
137
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.13.0...v3.13.1)
138
+
139
+ ## [v3.13.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.13.0) - 2019-05-08
140
+
141
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.5...v3.13.0)
142
+
143
+ ## [v3.12.5](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.5) - 2019-04-09
144
+
145
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.4...v3.12.5)
146
+
147
+ ## [v3.12.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.4) - 2019-04-03
148
+
149
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.3...v3.12.4)
150
+
151
+ ## [v3.12.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.3) - 2019-03-27
152
+
153
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.2...v3.12.3)
154
+
155
+ ## [v3.12.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.2) - 2019-03-21
156
+
157
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.1...v3.12.2)
158
+
159
+ ## [v3.12.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.1) - 2019-03-17
160
+
161
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.12.0...v3.12.1)
162
+
163
+ ## [v3.12.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.12.0) - 2019-03-16
164
+
165
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.11.1...v3.12.0)
166
+
167
+ ## [v3.11.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.11.1) - 2019-02-26
168
+
169
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.11.0...v3.11.1)
170
+
171
+ ## [v3.11.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.11.0) - 2019-02-26
172
+
173
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.10.2...v3.11.0)
174
+
175
+ ## [v3.10.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.10.2) - 2019-02-06
176
+
177
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.10.1...v3.10.2)
178
+
179
+ ## [v3.10.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.10.1) - 2019-02-06
180
+
181
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.10.0...v3.10.1)
182
+
183
+ ## [v3.10.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.10.0) - 2019-02-05
184
+
185
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.9.0...v3.10.0)
186
+
187
+ ## [v3.9.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.9.0) - 2018-12-24
188
+
189
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.8.0...v3.9.0)
190
+
191
+ ## [v3.8.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.8.0) - 2018-09-05
192
+
193
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.7.0...v3.8.0)
194
+
195
+ ## [v3.7.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.7.0) - 2018-05-15
196
+
197
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.6.2...v3.7.0)
198
+
199
+ ## [v3.6.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.6.2) - 2018-05-13
200
+
201
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.6.1...v3.6.2)
202
+
203
+ ## [v3.6.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.6.1) - 2018-04-05
204
+
205
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.6.0...v3.6.1)
206
+
207
+ ## [v3.6.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.6.0) - 2018-03-27
208
+
209
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.5.2...v3.6.0)
210
+
211
+ ## [v3.5.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.5.2) - 2018-03-15
212
+
213
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.5.1...v3.5.2)
214
+
215
+ ## [v3.5.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.5.1) - 2018-03-08
216
+
217
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.5.0...v3.5.1)
218
+
219
+ ## [v3.5.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.5.0) - 2018-03-06
220
+
221
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.4.0...v3.5.0)
222
+
223
+ ## [v3.4.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.4.0) - 2018-02-27
224
+
225
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.3.3...v3.4.0)
226
+
227
+ ## [v3.3.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.3.3) - 2018-02-26
228
+
229
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.3.2...v3.3.3)
230
+
231
+ ## [v3.3.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.3.2) - 2018-01-16
232
+
233
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.3.1...v3.3.2)
234
+
235
+ ## [v3.3.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.3.1) - 2018-01-05
236
+
237
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.3.0...v3.3.1)
238
+
239
+ ## [v3.3.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.3.0) - 2018-01-05
240
+
241
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.8...v3.3.0)
242
+
243
+ ## [v3.2.8](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.8) - 2017-12-11
244
+
245
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.7...v3.2.8)
246
+
247
+ ## [v3.2.7](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.7) - 2017-10-04
248
+
249
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.6...v3.2.7)
250
+
251
+ ## [v3.2.6](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.6) - 2017-09-12
252
+
253
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.5...v3.2.6)
254
+
255
+ ## [v3.2.5](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.5) - 2017-08-29
256
+
257
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.4...v3.2.5)
258
+
259
+ ## [v3.2.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.4) - 2017-08-29
260
+
261
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.3...v3.2.4)
262
+
263
+ ## [v3.2.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.3) - 2017-08-07
264
+
265
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.2...v3.2.3)
266
+
267
+ ## [v3.2.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.2) - 2017-07-13
268
+
269
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.1...v3.2.2)
270
+
271
+ ## [v3.2.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.1) - 2017-07-13
272
+
273
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.2.0...v3.2.1)
274
+
275
+ ## [v3.2.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.2.0) - 2017-03-13
276
+
277
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.1.1...v3.2.0)
278
+
279
+ ## [v3.1.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.1.1) - 2017-03-04
280
+
281
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.1.0...v3.1.1)
282
+
283
+ ## [v3.1.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.1.0) - 2017-02-21
284
+
285
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.11...v3.1.0)
286
+
287
+ ## [v3.0.11](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.11) - 2017-01-19
288
+
289
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.10...v3.0.11)
290
+
291
+ ## [v3.0.10](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.10) - 2016-12-14
292
+
293
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.9...v3.0.10)
294
+
295
+ ## [v3.0.9](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.9) - 2016-12-13
296
+
297
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.8...v3.0.9)
298
+
299
+ ## [v3.0.8](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.8) - 2016-10-15
300
+
301
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.7...v3.0.8)
302
+
303
+ ## [v3.0.7](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.7) - 2016-05-31
304
+
305
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.6...v3.0.7)
306
+
307
+ ## [v3.0.6](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.6) - 2016-05-24
308
+
309
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.5...v3.0.6)
310
+
311
+ ## [v3.0.5](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.5) - 2016-05-16
312
+
313
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.4...v3.0.5)
314
+
315
+ ## [v3.0.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.4) - 2016-05-15
316
+
317
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.3...v3.0.4)
318
+
319
+ ## [v3.0.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.3) - 2016-05-06
320
+
321
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.2...v3.0.3)
322
+
323
+ ## [v3.0.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.2) - 2016-04-30
324
+
325
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.1...v3.0.2)
326
+
327
+ ## [v3.0.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.1) - 2016-04-28
328
+
329
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v3.0.0...v3.0.1)
330
+
331
+ ## [v3.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v3.0.0) - 2016-04-28
332
+
333
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.10...v3.0.0)
334
+
335
+ ## [v2.0.10](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.10) - 2016-03-21
336
+
337
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.9...v2.0.10)
338
+
339
+ ## [v2.0.9](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.9) - 2016-03-21
340
+
341
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.8...v2.0.9)
342
+
343
+ ## [v2.0.8](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.8) - 2016-02-11
344
+
345
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.7...v2.0.8)
346
+
347
+ ## [v2.0.7](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.7) - 2016-02-11
348
+
349
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.6...v2.0.7)
350
+
351
+ ## [v2.0.6](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.6) - 2016-02-11
352
+
353
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.5...v2.0.6)
354
+
355
+ ## [v2.0.5](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.5) - 2016-02-08
356
+
357
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.4...v2.0.5)
358
+
359
+ ## [v2.0.4](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.4) - 2016-02-08
360
+
361
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.3...v2.0.4)
362
+
363
+ ## [v2.0.3](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.3) - 2015-11-20
364
+
365
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.2...v2.0.3)
366
+
367
+ ## [v2.0.2](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.2) - 2015-11-20
368
+
369
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.1...v2.0.2)
370
+
371
+ ## [v2.0.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.1) - 2015-11-16
372
+
373
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v2.0.0...v2.0.1)
374
+
375
+ ## [v2.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v2.0.0) - 2015-11-11
376
+
377
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/2.0.0...v2.0.0)
378
+
379
+ ## [2.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/2.0.0) - 2015-11-11
380
+
381
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/1.1.1...2.0.0)
382
+
383
+ ## [1.1.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/1.1.1) - 2015-11-10
384
+
385
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/v1.1.0...1.1.1)
386
+
387
+ ## [v1.1.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/v1.1.0) - 2015-11-06
388
+
389
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/1.1.0...v1.1.0)
390
+
391
+ ## [1.1.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/1.1.0) - 2015-10-28
392
+
393
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/1.0.0...1.1.0)
394
+
395
+ ## [1.0.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/1.0.0) - 2015-10-19
396
+
397
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/0.2.0...1.0.0)
398
+
399
+ ## [0.2.0](https://github.com/puppetlabs/puppetlabs-onceover/tree/0.2.0) - 2015-09-29
400
+
401
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/0.1.1...0.2.0)
402
+
403
+ ## [0.1.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/0.1.1) - 2015-09-28
404
+
405
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/0.0.1...0.1.1)
406
+
407
+ ## [0.0.1](https://github.com/puppetlabs/puppetlabs-onceover/tree/0.0.1) - 2015-09-24
408
+
409
+ [Full Changelog](https://github.com/puppetlabs/puppetlabs-onceover/compare/192099961f3ffe616b5811815a9df013f1284e54...0.0.1)
data/Gemfile CHANGED
@@ -38,6 +38,7 @@ end
38
38
  group :test do
39
39
  # Required for the final controlrepo tests
40
40
  gem 'rexml', '~> 3.3', '>= 3.3.9'
41
+ gem 'simplecov', require: false
41
42
  gem 'toml-rb'
42
43
  end
43
44
 
@@ -1,10 +1,10 @@
1
1
  require 'rubygems'
2
2
 
3
- # Get all of the gems that start with onceover-
3
+ # Get all of the gems that start with puppetlabs-onceover-
4
4
  plugins = Gem::Specification.group_by{ |g| g.name }.keep_if do |name, details|
5
- name =~ /^onceover-.*$/
5
+ name =~ /^puppetlabs-onceover-.*$/
6
6
  end.keys
7
7
 
8
8
  plugins.each do |plugin|
9
- require plugin.gsub('-', '/')
9
+ require plugin.sub('puppetlabs-onceover-', 'puppetlabs-onceover/')
10
10
  end
@@ -672,14 +672,15 @@ class PuppetlabsOnceover
672
672
  end
673
673
 
674
674
  def find_classname(filename)
675
- file = File.new(filename, "r")
676
- while (line = file.gets)
677
- begin
678
- if line =~ /^class (\w+(?:::\w+)*)/
679
- return $1
675
+ File.open(filename, "r") do |file|
676
+ while (line = file.gets)
677
+ begin
678
+ if line =~ /^class (\w+(?:::\w+)*)/
679
+ return $1
680
+ end
681
+ rescue ArgumentError => e
682
+ logger.error "ignoring invalid line in file: #{filename} (#{e.message}) - line: '#{line}'"
680
683
  end
681
- rescue ArgumentError => e
682
- logger.error "ignoring invalid line in file: #{filename} (#{e.message}) - line: '#{line}'"
683
684
  end
684
685
  end
685
686
  return nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PuppetlabsOnceover
4
- VERSION = '5.0.3'
4
+ VERSION = '5.0.4'
5
5
  end
@@ -0,0 +1,3 @@
1
+ forge "https://forge.puppet.com"
2
+
3
+ mod "puppetlabs/stdlib", '4.11.0'
@@ -0,0 +1 @@
1
+ regular_file.txt
@@ -0,0 +1 @@
1
+ modulepath = site:modules:$basemodulepath