puppetlabs_spec_helper 7.2.0 → 7.3.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6188f4bcefb0c6466202ed84d9a4a13b0ebdace7885c8d78da307d135ab7eca6
|
|
4
|
+
data.tar.gz: 46b8356e53ec07eb3073e1ddb1a08eeb5423f6efee7d40ae12fd904de05d7614
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abe28cf72356674ee59c2d759e4def9b3bd424f2d8ea3034109834985bc9d3cecde412a6186eb1690a110f1b1b56b9f3159ae8f2387ef88bb1e328942ed6ee19
|
|
7
|
+
data.tar.gz: cba65825d5c9be5b64bf1898396ab949f6b2426c714d5113a12672727d405a89239f5825d7dde208bfeb6a4fdbac20e45fd2e7f1687574c55688bbe9e04a731a
|
|
@@ -46,9 +46,8 @@ end
|
|
|
46
46
|
task default: [:help]
|
|
47
47
|
|
|
48
48
|
pattern = 'spec/{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit}/**/*_spec.rb'
|
|
49
|
-
|
|
50
49
|
RSpec::Core::RakeTask.new(:spec_standalone) do |t, args|
|
|
51
|
-
t.rspec_opts = []
|
|
50
|
+
t.rspec_opts = ['--format', 'documentation', '--color']
|
|
52
51
|
t.rspec_opts << ENV['CI_SPEC_OPTIONS'] unless ENV['CI_SPEC_OPTIONS'].nil?
|
|
53
52
|
if ENV['CI_NODE_TOTAL'] && ENV['CI_NODE_INDEX']
|
|
54
53
|
ci_total = ENV['CI_NODE_TOTAL'].to_i
|
|
@@ -111,8 +110,9 @@ task :parallel_spec_standalone do |_t, args|
|
|
|
111
110
|
warn 'No files for parallel_spec to run against'
|
|
112
111
|
else
|
|
113
112
|
|
|
114
|
-
args = ['
|
|
115
|
-
|
|
113
|
+
args = ['--type', 'rspec']
|
|
114
|
+
additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split
|
|
115
|
+
args.push('--').concat(additional_options).push('--')
|
|
116
116
|
args.concat(Rake::FileList[pattern].to_a)
|
|
117
117
|
|
|
118
118
|
ParallelTests::CLI.new.run(args)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppetlabs_spec_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.
|
|
4
|
+
version: 7.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet, Inc.
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mocha
|