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: 349173da07675bc261cfebb4afe7fd78469c676124df1d98e79075e9e572ed26
4
- data.tar.gz: cfa930fad43ccd74c31fae24097291acc10aad7ef16bd2c2611e6bc5a551fe19
3
+ metadata.gz: 6188f4bcefb0c6466202ed84d9a4a13b0ebdace7885c8d78da307d135ab7eca6
4
+ data.tar.gz: 46b8356e53ec07eb3073e1ddb1a08eeb5423f6efee7d40ae12fd904de05d7614
5
5
  SHA512:
6
- metadata.gz: d051a58dc9b844d570b621688f5babfd1a593341cb57eb27fec8e3d04cd6bb50ba153260466a6fcd41ff6e8bf97f1a7b1aff7c35c8b681322c218aed44b5bdb7
7
- data.tar.gz: 6ebb258e441e3fbb52179b4a859d85b1e4a8b42f61f05b13ec3941dc2ecbc19fc280e6a1b866af5be6ed10b82d15d314d46daa8430f867875a9af30ffdbea735
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 = ['-t', 'rspec']
115
- args.push('--').concat(ENV['CI_SPEC_OPTIONS'].strip.split).push('--') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetlabsSpecHelper
4
- VERSION = '7.2.0'
4
+ VERSION = '7.3.0'
5
5
  end
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.2.0
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-04-22 00:00:00.000000000 Z
12
+ date: 2024-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha