puppetlabs_spec_helper 7.1.0 → 7.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edd514b30513c5b65e91cef3cc8c7c1dc4c915e60f0cf22b6de05ae6ac6c677b
4
- data.tar.gz: 49c7c02b201d96ed2c61d56bd6f0fa2ab2f93046289ff9b7b06362b998875576
3
+ metadata.gz: 6188f4bcefb0c6466202ed84d9a4a13b0ebdace7885c8d78da307d135ab7eca6
4
+ data.tar.gz: 46b8356e53ec07eb3073e1ddb1a08eeb5423f6efee7d40ae12fd904de05d7614
5
5
  SHA512:
6
- metadata.gz: 4a72a59fda519d64431d6f41b8e68cfcaddf090df0a71113e5b749f6051450066167656abd12f637d8b68539c16c9d8674493818d973db39825fb5033de4e27d
7
- data.tar.gz: 64b379b436e1371f9856a93f6bfd20c3e5fb68c501eca80d611fd71b4b6f145f3a0b0470386af7d0a2e78398d7fe254f00517a0cb1f77c1b63d3f0036bb38dda
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)
@@ -191,7 +191,6 @@ PuppetSyntax.exclude_paths << 'spec/fixtures/**/*'
191
191
  PuppetSyntax.exclude_paths << 'pkg/**/*'
192
192
  PuppetSyntax.exclude_paths << 'vendor/**/*'
193
193
  PuppetSyntax.exclude_paths << '.vendor/**/*'
194
- PuppetSyntax.exclude_paths << 'plans/**/*'
195
194
  PuppetSyntax.check_hiera_keys = true
196
195
  PuppetSyntax.check_hiera_data = true
197
196
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetlabsSpecHelper
4
- VERSION = '7.1.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.1.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-03-12 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
@@ -66,6 +66,9 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '4.1'
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 4.1.1
69
72
  type: :runtime
70
73
  prerelease: false
71
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -73,6 +76,9 @@ dependencies:
73
76
  - - "~>"
74
77
  - !ruby/object:Gem::Version
75
78
  version: '4.1'
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 4.1.1
76
82
  - !ruby/object:Gem::Dependency
77
83
  name: rspec-github
78
84
  requirement: !ruby/object:Gem::Requirement