onceover 4.0.0 → 5.0.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/release.yaml +89 -15
- data/.github/workflows/tests.yaml +1 -3
- data/.rubocop.yml +10 -2
- data/.rubocop_todo.yml +68 -119
- data/CHANGELOG.md +28 -7
- data/Gemfile +1 -3
- data/README.md +2 -2
- data/Rakefile +6 -3
- data/features/zzz_run.feature +1 -1
- data/lib/onceover/rake_tasks.rb +1 -0
- data/lib/onceover/rspec/formatters.rb +3 -1
- data/lib/onceover/runner.rb +3 -3
- data/lib/onceover/vendored_modules.rb +1 -1
- data/onceover.gemspec +19 -20
- data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +1 -1
- data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +1 -1
- data/templates/factsets_README.md.erb +5 -2
- data/templates/spec_helper.rb.erb +0 -1
- data/templates/testconfig_Rakefile.erb +2 -2
- metadata +68 -85
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13b36f4288ac28fad2e2dacae0a53bbac7e9d060607172b291f8dba9c7fe11c9
|
4
|
+
data.tar.gz: 5f492f55c749369cb49367670868379fd540b28cd30349849f2e5cd122139ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c829ee671937eef47fdf2ee390547bfe1b4aff450508f415fe455a05e9f10cf17095dfc01aa0253182b652e26929c15303346fbbcd9e7db497fb8f2cc1c00b
|
7
|
+
data.tar.gz: 25485562b7c19edce1fd0aa3808d2071612583b52508c96a5c056c89cb1e6eab84cc0f7433df168982f3df307bb88069b2a724a465796ee870c27cd1178648f9
|
@@ -1,32 +1,106 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
name: Gem Release
|
2
3
|
|
3
4
|
on:
|
4
5
|
push:
|
5
6
|
tags:
|
6
7
|
- '*'
|
7
8
|
|
9
|
+
permissions: {}
|
10
|
+
|
8
11
|
jobs:
|
9
|
-
release:
|
10
|
-
|
12
|
+
build-release:
|
13
|
+
# Prevent releases from forked repositories
|
11
14
|
if: github.repository_owner == 'voxpupuli'
|
15
|
+
name: Build the gem
|
16
|
+
runs-on: ubuntu-24.04
|
12
17
|
steps:
|
13
18
|
- uses: actions/checkout@v4
|
14
|
-
- name: Install Ruby
|
19
|
+
- name: Install Ruby
|
15
20
|
uses: ruby/setup-ruby@v1
|
16
21
|
with:
|
17
|
-
ruby-version: '
|
18
|
-
env:
|
19
|
-
BUNDLE_WITHOUT: release:development:rubocop
|
22
|
+
ruby-version: 'ruby'
|
20
23
|
- name: Build gem
|
24
|
+
shell: bash
|
21
25
|
run: gem build --verbose *.gemspec
|
26
|
+
- name: Upload gem to GitHub cache
|
27
|
+
uses: actions/upload-artifact@v4
|
28
|
+
with:
|
29
|
+
name: gem-artifact
|
30
|
+
path: '*.gem'
|
31
|
+
retention-days: 1
|
32
|
+
compression-level: 0
|
33
|
+
|
34
|
+
create-github-release:
|
35
|
+
needs: build-release
|
36
|
+
name: Create GitHub release
|
37
|
+
runs-on: ubuntu-24.04
|
38
|
+
permissions:
|
39
|
+
contents: write # clone repo and create release
|
40
|
+
steps:
|
41
|
+
- name: Download gem from GitHub cache
|
42
|
+
uses: actions/download-artifact@v4
|
43
|
+
with:
|
44
|
+
name: gem-artifact
|
45
|
+
- name: Create Release
|
46
|
+
shell: bash
|
47
|
+
env:
|
48
|
+
GH_TOKEN: ${{ github.token }}
|
49
|
+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
|
50
|
+
|
51
|
+
release-to-github:
|
52
|
+
needs: build-release
|
53
|
+
name: Release to GitHub
|
54
|
+
runs-on: ubuntu-24.04
|
55
|
+
permissions:
|
56
|
+
packages: write # publish to rubygems.pkg.github.com
|
57
|
+
steps:
|
58
|
+
- name: Download gem from GitHub cache
|
59
|
+
uses: actions/download-artifact@v4
|
60
|
+
with:
|
61
|
+
name: gem-artifact
|
62
|
+
- name: Publish gem to GitHub packages
|
63
|
+
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
64
|
+
env:
|
65
|
+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
66
|
+
|
67
|
+
release-to-rubygems:
|
68
|
+
needs: build-release
|
69
|
+
name: Release gem to rubygems.org
|
70
|
+
runs-on: ubuntu-24.04
|
71
|
+
environment: release # recommended by rubygems.org
|
72
|
+
permissions:
|
73
|
+
id-token: write # rubygems.org authentication
|
74
|
+
steps:
|
75
|
+
- name: Download gem from GitHub cache
|
76
|
+
uses: actions/download-artifact@v4
|
77
|
+
with:
|
78
|
+
name: gem-artifact
|
79
|
+
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
22
80
|
- name: Publish gem to rubygems.org
|
81
|
+
shell: bash
|
23
82
|
run: gem push *.gem
|
24
|
-
|
25
|
-
|
26
|
-
|
83
|
+
|
84
|
+
release-verification:
|
85
|
+
name: Check that all releases are done
|
86
|
+
runs-on: ubuntu-24.04
|
87
|
+
permissions:
|
88
|
+
contents: read # minimal permissions that we have to grant
|
89
|
+
needs:
|
90
|
+
- create-github-release
|
91
|
+
- release-to-github
|
92
|
+
- release-to-rubygems
|
93
|
+
steps:
|
94
|
+
- name: Download gem from GitHub cache
|
95
|
+
uses: actions/download-artifact@v4
|
96
|
+
with:
|
97
|
+
name: gem-artifact
|
98
|
+
- name: Install Ruby
|
99
|
+
uses: ruby/setup-ruby@v1
|
100
|
+
with:
|
101
|
+
ruby-version: 'ruby'
|
102
|
+
- name: Wait for release to propagate
|
103
|
+
shell: bash
|
27
104
|
run: |
|
28
|
-
|
29
|
-
|
30
|
-
chmod 0600 ~/.gem/credentials
|
31
|
-
- name: Publish gem to GitHub packages
|
32
|
-
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
105
|
+
gem install rubygems-await
|
106
|
+
gem await *.gem
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
---
|
2
2
|
inherit_from: .rubocop_todo.yml
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
AllCops:
|
5
|
+
NewCops: enable
|
6
|
+
DisplayCopNames: true
|
7
|
+
ExtraDetails: true
|
8
|
+
DisplayStyleGuide: true
|
9
|
+
TargetRubyVersion: 3.2
|
10
|
+
Exclude:
|
11
|
+
- vendor/**/*
|
12
|
+
- .vendor/**/*
|
13
|
+
- spec/fixtures/**/*
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2025-06-27 14:03:27 UTC using RuboCop version 1.50.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
|
@@ -40,7 +40,7 @@ Layout/IndentationWidth:
|
|
40
40
|
|
41
41
|
# Offense count: 12
|
42
42
|
# This cop supports safe autocorrection (--autocorrect).
|
43
|
-
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment
|
43
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
|
44
44
|
Layout/LeadingCommentSpace:
|
45
45
|
Exclude:
|
46
46
|
- 'lib/onceover/beaker/spec_helper.rb'
|
@@ -87,9 +87,8 @@ Layout/SpaceAroundBlockParameters:
|
|
87
87
|
|
88
88
|
# Offense count: 4
|
89
89
|
# This cop supports safe autocorrection (--autocorrect).
|
90
|
-
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator
|
90
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
91
91
|
# SupportedStylesForExponentOperator: space, no_space
|
92
|
-
# SupportedStylesForRationalLiterals: space, no_space
|
93
92
|
Layout/SpaceAroundOperators:
|
94
93
|
Exclude:
|
95
94
|
- 'lib/onceover/controlrepo.rb'
|
@@ -165,7 +164,7 @@ Layout/TrailingEmptyLines:
|
|
165
164
|
- 'features/step_definitions/formatter.rb'
|
166
165
|
- 'features/support/env.rb'
|
167
166
|
|
168
|
-
# Offense count:
|
167
|
+
# Offense count: 7
|
169
168
|
# This cop supports safe autocorrection (--autocorrect).
|
170
169
|
# Configuration parameters: AllowInHeredoc.
|
171
170
|
Layout/TrailingWhitespace:
|
@@ -173,7 +172,6 @@ Layout/TrailingWhitespace:
|
|
173
172
|
- 'features/step_definitions/common.rb'
|
174
173
|
- 'features/step_definitions/formatter.rb'
|
175
174
|
- 'lib/onceover/node.rb'
|
176
|
-
- 'lib/onceover/rspec/formatters.rb'
|
177
175
|
- 'lib/onceover/testconfig.rb'
|
178
176
|
|
179
177
|
# Offense count: 3
|
@@ -190,12 +188,6 @@ Lint/ErbNewArguments:
|
|
190
188
|
Exclude:
|
191
189
|
- 'lib/onceover/rake_tasks.rb'
|
192
190
|
|
193
|
-
# Offense count: 1
|
194
|
-
# This cop supports safe autocorrection (--autocorrect).
|
195
|
-
Lint/RedundantCopDisableDirective:
|
196
|
-
Exclude:
|
197
|
-
- 'onceover.gemspec'
|
198
|
-
|
199
191
|
# Offense count: 10
|
200
192
|
# This cop supports safe autocorrection (--autocorrect).
|
201
193
|
Lint/RedundantStringCoercion:
|
@@ -219,7 +211,7 @@ Lint/UnderscorePrefixedVariableName:
|
|
219
211
|
|
220
212
|
# Offense count: 20
|
221
213
|
# This cop supports safe autocorrection (--autocorrect).
|
222
|
-
# Configuration parameters:
|
214
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
223
215
|
Lint/UnusedBlockArgument:
|
224
216
|
Exclude:
|
225
217
|
- 'lib/onceover/cli.rb'
|
@@ -233,97 +225,62 @@ Lint/UnusedBlockArgument:
|
|
233
225
|
|
234
226
|
# Offense count: 8
|
235
227
|
# This cop supports safe autocorrection (--autocorrect).
|
236
|
-
# Configuration parameters:
|
228
|
+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
237
229
|
Lint/UnusedMethodArgument:
|
238
230
|
Exclude:
|
239
231
|
- 'lib/onceover/beaker.rb'
|
240
232
|
- 'lib/onceover/rspec/formatters.rb'
|
241
233
|
|
242
234
|
# Offense count: 3
|
243
|
-
# This cop supports safe autocorrection (--autocorrect).
|
244
|
-
# Configuration parameters: AutoCorrect.
|
245
235
|
Lint/UselessAssignment:
|
246
236
|
Exclude:
|
247
237
|
- 'lib/onceover/rspec/formatters.rb'
|
248
238
|
- 'lib/onceover/runner.rb'
|
249
239
|
|
250
|
-
# Offense count:
|
251
|
-
# Configuration parameters:
|
252
|
-
|
253
|
-
|
254
|
-
Exclude:
|
255
|
-
- 'features/support/cache_helper.rb'
|
256
|
-
- 'features/support/command_helper.rb'
|
257
|
-
- 'features/support/controlrepo_helper.rb'
|
258
|
-
|
259
|
-
# Offense count: 1
|
260
|
-
# This cop supports safe autocorrection (--autocorrect).
|
261
|
-
Performance/RedundantBlockCall:
|
262
|
-
Exclude:
|
263
|
-
- 'lib/onceover/controlrepo.rb'
|
240
|
+
# Offense count: 37
|
241
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
242
|
+
Metrics/AbcSize:
|
243
|
+
Max: 156
|
264
244
|
|
265
|
-
# Offense count:
|
266
|
-
#
|
267
|
-
#
|
268
|
-
|
269
|
-
|
270
|
-
- 'lib/onceover/group.rb'
|
271
|
-
- 'lib/onceover/test.rb'
|
245
|
+
# Offense count: 5
|
246
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
247
|
+
# AllowedMethods: refine
|
248
|
+
Metrics/BlockLength:
|
249
|
+
Max: 51
|
272
250
|
|
273
|
-
# Offense count:
|
274
|
-
#
|
275
|
-
|
276
|
-
|
277
|
-
- 'lib/onceover/deploy.rb'
|
251
|
+
# Offense count: 2
|
252
|
+
# Configuration parameters: CountBlocks.
|
253
|
+
Metrics/BlockNesting:
|
254
|
+
Max: 4
|
278
255
|
|
279
256
|
# Offense count: 6
|
280
|
-
#
|
281
|
-
|
282
|
-
|
283
|
-
- 'Rakefile'
|
284
|
-
- 'features/step_definitions/run.rb'
|
285
|
-
- 'lib/onceover/beaker.rb'
|
286
|
-
- 'lib/onceover/controlrepo.rb'
|
287
|
-
- 'lib/onceover/deploy.rb'
|
257
|
+
# Configuration parameters: CountComments, CountAsOne.
|
258
|
+
Metrics/ClassLength:
|
259
|
+
Max: 494
|
288
260
|
|
289
|
-
# Offense count:
|
290
|
-
#
|
291
|
-
|
292
|
-
|
293
|
-
- 'lib/onceover/deploy.rb'
|
294
|
-
|
295
|
-
# Offense count: 3
|
296
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
297
|
-
Performance/StringInclude:
|
298
|
-
Exclude:
|
299
|
-
- 'lib/onceover/beaker.rb'
|
300
|
-
- 'lib/onceover/deploy.rb'
|
301
|
-
|
302
|
-
# Offense count: 3
|
303
|
-
# This cop supports safe autocorrection (--autocorrect).
|
304
|
-
Performance/StringReplacement:
|
305
|
-
Exclude:
|
306
|
-
- 'lib/onceover/cli/plugins.rb'
|
307
|
-
- 'lib/onceover/testconfig.rb'
|
261
|
+
# Offense count: 15
|
262
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
263
|
+
Metrics/CyclomaticComplexity:
|
264
|
+
Max: 31
|
308
265
|
|
309
|
-
# Offense count:
|
310
|
-
# Configuration parameters:
|
311
|
-
|
312
|
-
|
313
|
-
Exclude:
|
314
|
-
- 'spec/onceover/controlrepo_spec.rb'
|
266
|
+
# Offense count: 51
|
267
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
268
|
+
Metrics/MethodLength:
|
269
|
+
Max: 110
|
315
270
|
|
316
|
-
# Offense count:
|
317
|
-
# Configuration parameters:
|
318
|
-
|
319
|
-
|
320
|
-
- 'spec/onceover/controlrepo_spec.rb'
|
271
|
+
# Offense count: 15
|
272
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
273
|
+
Metrics/PerceivedComplexity:
|
274
|
+
Max: 33
|
321
275
|
|
322
|
-
# Offense count:
|
323
|
-
#
|
324
|
-
|
276
|
+
# Offense count: 3
|
277
|
+
# Configuration parameters: AllowedNames.
|
278
|
+
# AllowedNames: module_parent
|
279
|
+
Naming/ClassAndModuleCamelCase:
|
325
280
|
Exclude:
|
326
|
-
- '
|
281
|
+
- 'features/support/cache_helper.rb'
|
282
|
+
- 'features/support/command_helper.rb'
|
283
|
+
- 'features/support/controlrepo_helper.rb'
|
327
284
|
|
328
285
|
# Offense count: 2
|
329
286
|
Security/Eval:
|
@@ -341,7 +298,7 @@ Security/Open:
|
|
341
298
|
Exclude:
|
342
299
|
- 'features/support/controlrepo_helper.rb'
|
343
300
|
|
344
|
-
# Offense count:
|
301
|
+
# Offense count: 43
|
345
302
|
# This cop supports safe autocorrection (--autocorrect).
|
346
303
|
# Configuration parameters: EnforcedStyle.
|
347
304
|
# SupportedStyles: separated, grouped
|
@@ -443,7 +400,7 @@ Style/EmptyCaseCondition:
|
|
443
400
|
|
444
401
|
# Offense count: 2
|
445
402
|
# This cop supports safe autocorrection (--autocorrect).
|
446
|
-
# Configuration parameters:
|
403
|
+
# Configuration parameters: EnforcedStyle, AllowComments.
|
447
404
|
# SupportedStyles: empty, nil, both
|
448
405
|
Style/EmptyElse:
|
449
406
|
Exclude:
|
@@ -487,17 +444,17 @@ Style/GuardClause:
|
|
487
444
|
- 'lib/onceover/testconfig.rb'
|
488
445
|
|
489
446
|
# Offense count: 1
|
490
|
-
# This cop supports
|
447
|
+
# This cop supports safe autocorrection (--autocorrect).
|
491
448
|
# Configuration parameters: AllowSplatArgument.
|
492
449
|
Style/HashConversion:
|
493
450
|
Exclude:
|
494
451
|
- 'features/support/cache_helper.rb'
|
495
452
|
|
496
|
-
# Offense count:
|
453
|
+
# Offense count: 42
|
497
454
|
# This cop supports safe autocorrection (--autocorrect).
|
498
455
|
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
499
456
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
500
|
-
# SupportedShorthandSyntax: always, never, either, consistent
|
457
|
+
# SupportedShorthandSyntax: always, never, either, consistent
|
501
458
|
Style/HashSyntax:
|
502
459
|
Exclude:
|
503
460
|
- 'lib/onceover/beaker.rb'
|
@@ -507,7 +464,9 @@ Style/HashSyntax:
|
|
507
464
|
- 'lib/onceover/cli/show.rb'
|
508
465
|
- 'lib/onceover/cli/update.rb'
|
509
466
|
- 'lib/onceover/controlrepo.rb'
|
467
|
+
- 'lib/onceover/deploy.rb'
|
510
468
|
- 'lib/onceover/logger.rb'
|
469
|
+
- 'lib/onceover/rake_tasks.rb'
|
511
470
|
|
512
471
|
# Offense count: 4
|
513
472
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
@@ -522,7 +481,7 @@ Style/IfInsideElse:
|
|
522
481
|
Exclude:
|
523
482
|
- 'lib/onceover/controlrepo.rb'
|
524
483
|
|
525
|
-
# Offense count:
|
484
|
+
# Offense count: 18
|
526
485
|
# This cop supports safe autocorrection (--autocorrect).
|
527
486
|
Style/IfUnlessModifier:
|
528
487
|
Exclude:
|
@@ -551,14 +510,6 @@ Style/MixinUsage:
|
|
551
510
|
- 'lib/onceover/controlrepo.rb'
|
552
511
|
- 'lib/onceover/testconfig.rb'
|
553
512
|
|
554
|
-
# Offense count: 3
|
555
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
556
|
-
# Configuration parameters: EnforcedStyle.
|
557
|
-
# SupportedStyles: literals, strict
|
558
|
-
Style/MutableConstant:
|
559
|
-
Exclude:
|
560
|
-
- 'lib/onceover/rspec/formatters.rb'
|
561
|
-
|
562
513
|
# Offense count: 2
|
563
514
|
# This cop supports safe autocorrection (--autocorrect).
|
564
515
|
# Configuration parameters: AllowedMethods.
|
@@ -659,6 +610,12 @@ Style/RedundantPercentQ:
|
|
659
610
|
- 'features/step_definitions/init.rb'
|
660
611
|
- 'features/step_definitions/run.rb'
|
661
612
|
|
613
|
+
# Offense count: 2
|
614
|
+
# This cop supports safe autocorrection (--autocorrect).
|
615
|
+
Style/RedundantRegexpCharacterClass:
|
616
|
+
Exclude:
|
617
|
+
- 'lib/onceover/controlrepo.rb'
|
618
|
+
|
662
619
|
# Offense count: 2
|
663
620
|
# This cop supports safe autocorrection (--autocorrect).
|
664
621
|
Style/RedundantRegexpEscape:
|
@@ -755,7 +712,7 @@ Style/StringConcatenation:
|
|
755
712
|
- 'lib/onceover/rspec/formatters.rb'
|
756
713
|
- 'lib/onceover/runner.rb'
|
757
714
|
|
758
|
-
# Offense count:
|
715
|
+
# Offense count: 95
|
759
716
|
# This cop supports safe autocorrection (--autocorrect).
|
760
717
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
761
718
|
# SupportedStyles: single_quotes, double_quotes
|
@@ -781,38 +738,30 @@ Style/SymbolProc:
|
|
781
738
|
|
782
739
|
# Offense count: 4
|
783
740
|
# This cop supports safe autocorrection (--autocorrect).
|
784
|
-
# Configuration parameters:
|
785
|
-
#
|
786
|
-
Style/
|
741
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
742
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
743
|
+
Style/TrailingCommaInArguments:
|
787
744
|
Exclude:
|
788
|
-
- 'lib/onceover/
|
789
|
-
- 'lib/onceover/
|
790
|
-
- 'lib/onceover/deploy.rb'
|
745
|
+
- 'lib/onceover/rspec/formatters.rb'
|
746
|
+
- 'lib/onceover/vendored_modules.rb'
|
791
747
|
|
792
|
-
# Offense count:
|
748
|
+
# Offense count: 1
|
793
749
|
# This cop supports safe autocorrection (--autocorrect).
|
794
750
|
# Configuration parameters: EnforcedStyleForMultiline.
|
795
751
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
796
|
-
Style/
|
752
|
+
Style/TrailingCommaInArrayLiteral:
|
797
753
|
Exclude:
|
798
|
-
- 'lib/onceover/
|
799
|
-
- 'lib/onceover/logger.rb'
|
800
|
-
- 'lib/onceover/runner.rb'
|
801
|
-
- 'lib/onceover/testconfig.rb'
|
802
|
-
- 'spec/onceover/controlrepo_spec.rb'
|
754
|
+
- 'lib/onceover/deploy.rb'
|
803
755
|
|
804
|
-
# Offense count:
|
756
|
+
# Offense count: 7
|
805
757
|
# This cop supports safe autocorrection (--autocorrect).
|
806
758
|
# Configuration parameters: EnforcedStyleForMultiline.
|
807
759
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
808
760
|
Style/TrailingCommaInHashLiteral:
|
809
761
|
Exclude:
|
810
|
-
- '
|
811
|
-
- 'lib/onceover/
|
812
|
-
- 'lib/onceover/
|
813
|
-
- 'lib/onceover/test.rb'
|
814
|
-
- 'lib/onceover/testconfig.rb'
|
815
|
-
- 'spec/onceover/controlrepo_spec.rb'
|
762
|
+
- 'lib/onceover/beaker.rb'
|
763
|
+
- 'lib/onceover/beaker/spec_helper.rb'
|
764
|
+
- 'lib/onceover/rspec/formatters.rb'
|
816
765
|
|
817
766
|
# Offense count: 1
|
818
767
|
# This cop supports safe autocorrection (--autocorrect).
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,29 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v5.0.0](https://github.com/voxpupuli/onceover/tree/v5.0.0) (2025-06-27)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/voxpupuli/onceover/compare/
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/onceover/compare/v4.0.0...v5.0.0)
|
6
|
+
|
7
|
+
**Breaking changes:**
|
8
|
+
|
9
|
+
- Update: switch to openvox gem, remove puppetlabs\_spec\_helper gem, update gem dependencies, require Ruby 3.2+ [\#354](https://github.com/voxpupuli/onceover/pull/354) ([rwaffen](https://github.com/rwaffen))
|
10
|
+
|
11
|
+
**Implemented enhancements:**
|
12
|
+
|
13
|
+
- Add ARM runner to CI [\#347](https://github.com/voxpupuli/onceover/pull/347) ([bastelfreak](https://github.com/bastelfreak))
|
14
|
+
|
15
|
+
**Closed issues:**
|
16
|
+
|
17
|
+
- be more clear where/how to generate factssets [\#351](https://github.com/voxpupuli/onceover/issues/351)
|
18
|
+
|
19
|
+
**Merged pull requests:**
|
20
|
+
|
21
|
+
- docs: add info about trusted facts/data to README.md of factsets dir [\#352](https://github.com/voxpupuli/onceover/pull/352) ([rwaffen](https://github.com/rwaffen))
|
22
|
+
- Fix example on how to pull facts from puppetdb [\#345](https://github.com/voxpupuli/onceover/pull/345) ([tuxmea](https://github.com/tuxmea))
|
23
|
+
|
24
|
+
## [v4.0.0](https://github.com/voxpupuli/onceover/tree/v4.0.0) (2024-11-21)
|
25
|
+
|
26
|
+
[Full Changelog](https://github.com/voxpupuli/onceover/compare/v3.22.0...v4.0.0)
|
6
27
|
|
7
28
|
**Breaking changes:**
|
8
29
|
|
@@ -993,15 +1014,15 @@
|
|
993
1014
|
|
994
1015
|
## [v2.0.1](https://github.com/voxpupuli/onceover/tree/v2.0.1) (2015-11-16)
|
995
1016
|
|
996
|
-
[Full Changelog](https://github.com/voxpupuli/onceover/compare/
|
1017
|
+
[Full Changelog](https://github.com/voxpupuli/onceover/compare/v2.0.0...v2.0.1)
|
997
1018
|
|
998
|
-
## [
|
1019
|
+
## [v2.0.0](https://github.com/voxpupuli/onceover/tree/v2.0.0) (2015-11-11)
|
999
1020
|
|
1000
|
-
[Full Changelog](https://github.com/voxpupuli/onceover/compare/
|
1021
|
+
[Full Changelog](https://github.com/voxpupuli/onceover/compare/2.0.0...v2.0.0)
|
1001
1022
|
|
1002
|
-
## [
|
1023
|
+
## [2.0.0](https://github.com/voxpupuli/onceover/tree/2.0.0) (2015-11-11)
|
1003
1024
|
|
1004
|
-
[Full Changelog](https://github.com/voxpupuli/onceover/compare/1.1.1...
|
1025
|
+
[Full Changelog](https://github.com/voxpupuli/onceover/compare/1.1.1...2.0.0)
|
1005
1026
|
|
1006
1027
|
## [1.1.1](https://github.com/voxpupuli/onceover/tree/1.1.1) (2015-11-10)
|
1007
1028
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -338,7 +338,7 @@ puppet facts > fact_set_name.json
|
|
338
338
|
|
339
339
|
Its recommended to run this on each of the types of nodes that you run in your infrastructure to have good coverage.
|
340
340
|
|
341
|
-
If you are using [Trusted Facts](#trusted-facts) or [Trusted External Data](#trusted-external-data)
|
341
|
+
If you are using [Trusted Facts](#trusted-facts) or [Trusted External Data](#trusted-external-data) run the following on a primary, compiler or host with the [PE client tools](https://puppet.com/docs/pe/latest/installing_pe_client_tools.html):
|
342
342
|
|
343
343
|
```shell
|
344
344
|
puppet facts --terminus puppetdb > fact_set_name.json
|
@@ -347,7 +347,7 @@ puppet facts --terminus puppetdb > fact_set_name.json
|
|
347
347
|
or
|
348
348
|
|
349
349
|
```shell
|
350
|
-
puppet facts
|
350
|
+
puppet facts find <node certname> --terminus puppetdb > fact_set_name.json
|
351
351
|
```
|
352
352
|
|
353
353
|
Factsets are named based on their filename, i.e. `myfactset` in `onceover.yaml` refers `spec/factsets/myfactset.json`
|
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@ require 'rubygems/tasks'
|
|
2
2
|
require 'rspec/core/rake_task'
|
3
3
|
require 'cucumber/rake/task'
|
4
4
|
require 'puppet/version'
|
5
|
+
require 'voxpupuli/test/rake'
|
5
6
|
Gem::Tasks.new
|
6
7
|
|
7
8
|
def windows?
|
@@ -63,9 +64,9 @@ task :fixtures do
|
|
63
64
|
end
|
64
65
|
|
65
66
|
begin
|
66
|
-
require 'voxpupuli/
|
67
|
+
require 'voxpupuli/test/rake'
|
67
68
|
rescue LoadError
|
68
|
-
# the voxpupuli-
|
69
|
+
# the voxpupuli-test gem is optional
|
69
70
|
end
|
70
71
|
|
71
72
|
begin
|
@@ -79,6 +80,8 @@ else
|
|
79
80
|
config.user = 'voxpupuli'
|
80
81
|
config.project = 'onceover'
|
81
82
|
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
|
82
|
-
config.future_release = gem_version
|
83
|
+
config.future_release = "v#{gem_version}"
|
83
84
|
end
|
84
85
|
end
|
86
|
+
|
87
|
+
PuppetSyntax.exclude_paths = ['vendor/**/*', 'templates/**/*', 'spec/fixtures/**/*']
|
data/features/zzz_run.feature
CHANGED
@@ -69,7 +69,7 @@ Feature: Run rspec and acceptance test suites
|
|
69
69
|
Scenario: Running tests that fail to compile
|
70
70
|
Given control repo "function_mocking"
|
71
71
|
When I run onceover command "run spec" with class "role::fail"
|
72
|
-
Then I should see message pattern "
|
72
|
+
Then I should see message pattern "Syntax error at 'is'"
|
73
73
|
And Onceover should exit 1
|
74
74
|
|
75
75
|
Scenario: Run with a custom Puppetfile
|
data/lib/onceover/rake_tasks.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'rspec'
|
2
|
+
require 'rspec-puppet'
|
2
3
|
require 'pathname'
|
4
|
+
require 'English'
|
3
5
|
|
4
6
|
class OnceoverFormatter
|
5
7
|
RSpec::Core::Formatters.register(
|
@@ -279,7 +281,7 @@ class OnceoverFormatterParallel < OnceoverFormatter
|
|
279
281
|
# Read all files and merge them
|
280
282
|
errs.merge(YAML.load_file(file)) {|key, oldval, newval| [oldval, newval].flatten }
|
281
283
|
end
|
282
|
-
|
284
|
+
|
283
285
|
# Delete files from the disk
|
284
286
|
files.each { |f| File.delete(f) }
|
285
287
|
|
data/lib/onceover/runner.rb
CHANGED
@@ -92,8 +92,8 @@ class Onceover
|
|
92
92
|
result = run_command(@command_prefix.strip.split, 'rake', 'parallel_spec')
|
93
93
|
else
|
94
94
|
require 'io/console'
|
95
|
-
logger.debug "Running #{@command_prefix}rake
|
96
|
-
result = run_command(@command_prefix.strip.split, 'rake', '
|
95
|
+
logger.debug "Running #{@command_prefix}rake spec:standalone from #{@repo.tempdir}"
|
96
|
+
result = run_command(@command_prefix.strip.split, 'rake', 'spec:standalone')
|
97
97
|
end
|
98
98
|
|
99
99
|
# Reset env to previous state if we modified it
|
@@ -118,7 +118,7 @@ class Onceover
|
|
118
118
|
|
119
119
|
Dir.chdir(@repo.tempdir) do
|
120
120
|
#`bundle install --binstubs`
|
121
|
-
#`bin/rake
|
121
|
+
#`bin/rake spec:standalone`
|
122
122
|
logger.debug "Running #{@command_prefix}rake acceptance from #{@repo.tempdir}"
|
123
123
|
result = run_command(@command_prefix.strip.split, 'rake', 'acceptance')
|
124
124
|
end
|
@@ -49,7 +49,7 @@ class Onceover
|
|
49
49
|
# Get the entire file tree of the puppetlabs/puppet-agent repository
|
50
50
|
# https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#get-a-tree
|
51
51
|
puppet_agent_tree = query_or_cache(
|
52
|
-
"https://api.github.com/repos/
|
52
|
+
"https://api.github.com/repos/OpenVoxProject/openvox-agent/git/trees/#{@puppet_version}",
|
53
53
|
{ recursive: true },
|
54
54
|
component_cache('repo_tree'),
|
55
55
|
)
|
data/onceover.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path('lib', __dir__)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s| # rubocop:disable Gemspec/RequireMFA
|
6
6
|
s.name = "onceover"
|
7
|
-
s.version = "
|
7
|
+
s.version = "5.0.0"
|
8
8
|
s.authors = ["Dylan Ratcliffe", 'Vox Pupuli']
|
9
9
|
s.email = ["voxpupuli@groups.io"]
|
10
10
|
s.homepage = "https://github.com/voxpupuli/onceover"
|
@@ -17,25 +17,24 @@ Gem::Specification.new do |s| # rubocop:disable Gemspec/RequireMFA
|
|
17
17
|
s.bindir = 'bin'
|
18
18
|
s.executables = 'onceover'
|
19
19
|
|
20
|
-
s.required_ruby_version = Gem::Requirement.new('>= 2
|
20
|
+
s.required_ruby_version = Gem::Requirement.new('>= 3.2')
|
21
21
|
|
22
22
|
# Runtime dependencies, but also probably dependencies of requiring projects
|
23
|
-
s.add_dependency 'backticks', '
|
24
|
-
s.add_dependency 'colored', '
|
25
|
-
s.add_dependency 'cri', '
|
26
|
-
s.add_dependency 'deep_merge', '
|
27
|
-
s.add_dependency 'git'
|
28
|
-
s.add_dependency 'logging', '
|
29
|
-
s.add_dependency 'multi_json', '
|
30
|
-
s.add_dependency '
|
31
|
-
s.add_dependency '
|
32
|
-
s.add_dependency '
|
33
|
-
s.add_dependency '
|
34
|
-
s.add_dependency '
|
35
|
-
s.add_dependency '
|
36
|
-
s.add_dependency '
|
37
|
-
s.add_dependency '
|
38
|
-
s.add_dependency '
|
39
|
-
s.add_dependency '
|
40
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~> 3.0.0'
|
23
|
+
s.add_dependency 'backticks', '~> 1.0'
|
24
|
+
s.add_dependency 'colored', '~> 1.2'
|
25
|
+
s.add_dependency 'cri', '~> 2.6'
|
26
|
+
s.add_dependency 'deep_merge', '~> 1.0'
|
27
|
+
s.add_dependency 'git', '~> 3.1'
|
28
|
+
s.add_dependency 'logging', '~> 2.0'
|
29
|
+
s.add_dependency 'multi_json', '~> 1.10'
|
30
|
+
s.add_dependency 'openvox', '~> 8.0'
|
31
|
+
s.add_dependency 'parallel_tests', '~> 5.3'
|
32
|
+
s.add_dependency 'r10k', '~> 5.0'
|
33
|
+
s.add_dependency 'rake', '~> 13.3'
|
34
|
+
s.add_dependency 'rspec', '~> 3.0'
|
35
|
+
s.add_dependency 'rspec_junit_formatter', '~> 0.6'
|
36
|
+
s.add_dependency 'rspec-puppet', '~> 5.0'
|
37
|
+
s.add_dependency 'terminal-table', '~> 4.0'
|
38
|
+
s.add_dependency 'versionomy', '~> 0.5'
|
39
|
+
s.add_dependency 'voxpupuli-test', '~> 11.0'
|
41
40
|
end
|
@@ -1,7 +1,10 @@
|
|
1
1
|
# Factsets
|
2
2
|
|
3
|
-
This directory is where we put any custom factsets that we want to use.
|
3
|
+
This directory is where we put any custom factsets that we want to use.
|
4
|
+
They can be generated by running `puppet facts` on the target system.
|
5
|
+
|
6
|
+
If you are using Trusted Facts or Trusted External Data see: <https://github.com/voxpupuli/onceover#factsets>
|
4
7
|
|
5
8
|
**Hot tip:** If you already have factsets in here when you run `onceover init` they will be picked up and added to the config file Automatically
|
6
9
|
|
7
|
-
More info: https://github.com/voxpupuli/onceover#factsets
|
10
|
+
More info: <https://github.com/voxpupuli/onceover#factsets>
|
metadata
CHANGED
@@ -1,268 +1,253 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
- Vox Pupuli
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: backticks
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
|
-
- - "
|
17
|
+
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.0
|
19
|
+
version: '1.0'
|
21
20
|
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- - "
|
24
|
+
- - "~>"
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.0
|
26
|
+
version: '1.0'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: colored
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
|
-
- - "
|
31
|
+
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
33
|
version: '1.2'
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
|
-
- - "
|
38
|
+
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: '1.2'
|
42
41
|
- !ruby/object:Gem::Dependency
|
43
42
|
name: cri
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
45
44
|
requirements:
|
46
|
-
- - "
|
45
|
+
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
47
|
version: '2.6'
|
49
48
|
type: :runtime
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
|
-
- - "
|
52
|
+
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '2.6'
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
56
|
name: deep_merge
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
59
58
|
requirements:
|
60
|
-
- - "
|
59
|
+
- - "~>"
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version: 1.0
|
61
|
+
version: '1.0'
|
63
62
|
type: :runtime
|
64
63
|
prerelease: false
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
|
-
- - "
|
66
|
+
- - "~>"
|
68
67
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.0
|
68
|
+
version: '1.0'
|
70
69
|
- !ruby/object:Gem::Dependency
|
71
70
|
name: git
|
72
71
|
requirement: !ruby/object:Gem::Requirement
|
73
72
|
requirements:
|
74
|
-
- - "
|
73
|
+
- - "~>"
|
75
74
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
75
|
+
version: '3.1'
|
77
76
|
type: :runtime
|
78
77
|
prerelease: false
|
79
78
|
version_requirements: !ruby/object:Gem::Requirement
|
80
79
|
requirements:
|
81
|
-
- - "
|
80
|
+
- - "~>"
|
82
81
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
82
|
+
version: '3.1'
|
84
83
|
- !ruby/object:Gem::Dependency
|
85
84
|
name: logging
|
86
85
|
requirement: !ruby/object:Gem::Requirement
|
87
86
|
requirements:
|
88
|
-
- - "
|
87
|
+
- - "~>"
|
89
88
|
- !ruby/object:Gem::Version
|
90
|
-
version: 2.0
|
89
|
+
version: '2.0'
|
91
90
|
type: :runtime
|
92
91
|
prerelease: false
|
93
92
|
version_requirements: !ruby/object:Gem::Requirement
|
94
93
|
requirements:
|
95
|
-
- - "
|
94
|
+
- - "~>"
|
96
95
|
- !ruby/object:Gem::Version
|
97
|
-
version: 2.0
|
96
|
+
version: '2.0'
|
98
97
|
- !ruby/object:Gem::Dependency
|
99
98
|
name: multi_json
|
100
99
|
requirement: !ruby/object:Gem::Requirement
|
101
100
|
requirements:
|
102
|
-
- - "
|
101
|
+
- - "~>"
|
103
102
|
- !ruby/object:Gem::Version
|
104
103
|
version: '1.10'
|
105
104
|
type: :runtime
|
106
105
|
prerelease: false
|
107
106
|
version_requirements: !ruby/object:Gem::Requirement
|
108
107
|
requirements:
|
109
|
-
- - "
|
108
|
+
- - "~>"
|
110
109
|
- !ruby/object:Gem::Version
|
111
110
|
version: '1.10'
|
112
111
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 2.0.0
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 2.0.0
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: puppet
|
112
|
+
name: openvox
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
114
|
requirements:
|
130
|
-
- - "
|
115
|
+
- - "~>"
|
131
116
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
117
|
+
version: '8.0'
|
133
118
|
type: :runtime
|
134
119
|
prerelease: false
|
135
120
|
version_requirements: !ruby/object:Gem::Requirement
|
136
121
|
requirements:
|
137
|
-
- - "
|
122
|
+
- - "~>"
|
138
123
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
124
|
+
version: '8.0'
|
140
125
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
126
|
+
name: parallel_tests
|
142
127
|
requirement: !ruby/object:Gem::Requirement
|
143
128
|
requirements:
|
144
|
-
- - "
|
129
|
+
- - "~>"
|
145
130
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
131
|
+
version: '5.3'
|
147
132
|
type: :runtime
|
148
133
|
prerelease: false
|
149
134
|
version_requirements: !ruby/object:Gem::Requirement
|
150
135
|
requirements:
|
151
|
-
- - "
|
136
|
+
- - "~>"
|
152
137
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
138
|
+
version: '5.3'
|
154
139
|
- !ruby/object:Gem::Dependency
|
155
140
|
name: r10k
|
156
141
|
requirement: !ruby/object:Gem::Requirement
|
157
142
|
requirements:
|
158
|
-
- - "
|
143
|
+
- - "~>"
|
159
144
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
145
|
+
version: '5.0'
|
161
146
|
type: :runtime
|
162
147
|
prerelease: false
|
163
148
|
version_requirements: !ruby/object:Gem::Requirement
|
164
149
|
requirements:
|
165
|
-
- - "
|
150
|
+
- - "~>"
|
166
151
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
152
|
+
version: '5.0'
|
168
153
|
- !ruby/object:Gem::Dependency
|
169
154
|
name: rake
|
170
155
|
requirement: !ruby/object:Gem::Requirement
|
171
156
|
requirements:
|
172
|
-
- - "
|
157
|
+
- - "~>"
|
173
158
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
159
|
+
version: '13.3'
|
175
160
|
type: :runtime
|
176
161
|
prerelease: false
|
177
162
|
version_requirements: !ruby/object:Gem::Requirement
|
178
163
|
requirements:
|
179
|
-
- - "
|
164
|
+
- - "~>"
|
180
165
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
166
|
+
version: '13.3'
|
182
167
|
- !ruby/object:Gem::Dependency
|
183
168
|
name: rspec
|
184
169
|
requirement: !ruby/object:Gem::Requirement
|
185
170
|
requirements:
|
186
|
-
- - "
|
171
|
+
- - "~>"
|
187
172
|
- !ruby/object:Gem::Version
|
188
|
-
version: 3.0
|
173
|
+
version: '3.0'
|
189
174
|
type: :runtime
|
190
175
|
prerelease: false
|
191
176
|
version_requirements: !ruby/object:Gem::Requirement
|
192
177
|
requirements:
|
193
|
-
- - "
|
178
|
+
- - "~>"
|
194
179
|
- !ruby/object:Gem::Version
|
195
|
-
version: 3.0
|
180
|
+
version: '3.0'
|
196
181
|
- !ruby/object:Gem::Dependency
|
197
182
|
name: rspec_junit_formatter
|
198
183
|
requirement: !ruby/object:Gem::Requirement
|
199
184
|
requirements:
|
200
|
-
- - "
|
185
|
+
- - "~>"
|
201
186
|
- !ruby/object:Gem::Version
|
202
|
-
version: 0.
|
187
|
+
version: '0.6'
|
203
188
|
type: :runtime
|
204
189
|
prerelease: false
|
205
190
|
version_requirements: !ruby/object:Gem::Requirement
|
206
191
|
requirements:
|
207
|
-
- - "
|
192
|
+
- - "~>"
|
208
193
|
- !ruby/object:Gem::Version
|
209
|
-
version: 0.
|
194
|
+
version: '0.6'
|
210
195
|
- !ruby/object:Gem::Dependency
|
211
196
|
name: rspec-puppet
|
212
197
|
requirement: !ruby/object:Gem::Requirement
|
213
198
|
requirements:
|
214
|
-
- - "
|
199
|
+
- - "~>"
|
215
200
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
201
|
+
version: '5.0'
|
217
202
|
type: :runtime
|
218
203
|
prerelease: false
|
219
204
|
version_requirements: !ruby/object:Gem::Requirement
|
220
205
|
requirements:
|
221
|
-
- - "
|
206
|
+
- - "~>"
|
222
207
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
208
|
+
version: '5.0'
|
224
209
|
- !ruby/object:Gem::Dependency
|
225
210
|
name: terminal-table
|
226
211
|
requirement: !ruby/object:Gem::Requirement
|
227
212
|
requirements:
|
228
|
-
- - "
|
213
|
+
- - "~>"
|
229
214
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
215
|
+
version: '4.0'
|
231
216
|
type: :runtime
|
232
217
|
prerelease: false
|
233
218
|
version_requirements: !ruby/object:Gem::Requirement
|
234
219
|
requirements:
|
235
|
-
- - "
|
220
|
+
- - "~>"
|
236
221
|
- !ruby/object:Gem::Version
|
237
|
-
version:
|
222
|
+
version: '4.0'
|
238
223
|
- !ruby/object:Gem::Dependency
|
239
224
|
name: versionomy
|
240
225
|
requirement: !ruby/object:Gem::Requirement
|
241
226
|
requirements:
|
242
|
-
- - "
|
227
|
+
- - "~>"
|
243
228
|
- !ruby/object:Gem::Version
|
244
|
-
version: 0.5
|
229
|
+
version: '0.5'
|
245
230
|
type: :runtime
|
246
231
|
prerelease: false
|
247
232
|
version_requirements: !ruby/object:Gem::Requirement
|
248
233
|
requirements:
|
249
|
-
- - "
|
234
|
+
- - "~>"
|
250
235
|
- !ruby/object:Gem::Version
|
251
|
-
version: 0.5
|
236
|
+
version: '0.5'
|
252
237
|
- !ruby/object:Gem::Dependency
|
253
|
-
name: voxpupuli-
|
238
|
+
name: voxpupuli-test
|
254
239
|
requirement: !ruby/object:Gem::Requirement
|
255
240
|
requirements:
|
256
241
|
- - "~>"
|
257
242
|
- !ruby/object:Gem::Version
|
258
|
-
version:
|
259
|
-
type: :
|
243
|
+
version: '11.0'
|
244
|
+
type: :runtime
|
260
245
|
prerelease: false
|
261
246
|
version_requirements: !ruby/object:Gem::Requirement
|
262
247
|
requirements:
|
263
248
|
- - "~>"
|
264
249
|
- !ruby/object:Gem::Version
|
265
|
-
version:
|
250
|
+
version: '11.0'
|
266
251
|
description: Automatically generates tests for your Puppet code
|
267
252
|
email:
|
268
253
|
- voxpupuli@groups.io
|
@@ -592,7 +577,6 @@ homepage: https://github.com/voxpupuli/onceover
|
|
592
577
|
licenses:
|
593
578
|
- Apache-2.0
|
594
579
|
metadata: {}
|
595
|
-
post_install_message:
|
596
580
|
rdoc_options: []
|
597
581
|
require_paths:
|
598
582
|
- lib
|
@@ -600,15 +584,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
600
584
|
requirements:
|
601
585
|
- - ">="
|
602
586
|
- !ruby/object:Gem::Version
|
603
|
-
version: '2
|
587
|
+
version: '3.2'
|
604
588
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
605
589
|
requirements:
|
606
590
|
- - ">="
|
607
591
|
- !ruby/object:Gem::Version
|
608
592
|
version: '0'
|
609
593
|
requirements: []
|
610
|
-
rubygems_version: 3.
|
611
|
-
signing_key:
|
594
|
+
rubygems_version: 3.6.7
|
612
595
|
specification_version: 4
|
613
596
|
summary: Testing tools for Puppet controlrepos
|
614
597
|
test_files: []
|