puppetlabs_spec_helper 6.0.0.rc.1 → 6.0.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: 877dc361d89c3d3107bdee00a0132958c1c6cf574932302f0c56fa52bc9113cf
4
- data.tar.gz: e2c644f0b5fffbaefc5be018626a7200e20b87c16f7f3c0772d90c3917dc8e95
3
+ metadata.gz: be54cffdbba3df2bbc1d420a022b8c09944157f8d28eea1d4c287e117516595d
4
+ data.tar.gz: 4770d483808a9e6c380fb2ea6dc6bfb99730916ae1430fb4579a80a8421f51e7
5
5
  SHA512:
6
- metadata.gz: baad729df1f6e1fbc9266a916b13b007112b4db02c0a7d9ca8a97ed7f4bfd9a7a1e3110bca8300c8d7fd1e5a5a1fa7827267ded63e553220a867b73cbb108eec
7
- data.tar.gz: 6ee7dbfe4063e91805a35110ffe8b985ed89adee36c9c1e6f4698d9fbe0a92c7f56b91a52ec1c52153751b1c8efed11fd17b655df5a30518885b36a666482d45
6
+ metadata.gz: ea49b0a799ea3d8f8561f186705e4dcfe18b39b46abe60c082cd78ec5349e183ae4b19958d23be696edb0962c094f79b0cb5763d534e64c3d3a22633a617b76e
7
+ data.tar.gz: 34c2e4d8389a653e0c6b5e4ce07f78c84e8dd01d7acdb3d05a1ef0a5f20d3847c004c27d9594f8fc66c3121af69710598b6ef6e8fcded48c04db67d65b22e3c7
@@ -69,14 +69,16 @@ RSpec.configure do |c|
69
69
  c.module_path = module_path
70
70
  c.manifest_dir = File.join(fixture_path, 'manifests')
71
71
 
72
+ # https://github.com/puppetlabs/rspec-puppet#strict_variables
73
+ c.strict_variables = ENV['STRICT_VARIABLES'] != 'no'
74
+ # https://github.com/puppetlabs/rspec-puppet#ordering
75
+ c.ordering = ENV['ORDERING'] if ENV['ORDERING']
76
+
72
77
  c.before :each do
73
78
  if c.mock_framework.framework_name == :rspec
74
79
  allow(Puppet.features).to receive(:root?).and_return(true)
75
80
  else
76
81
  Puppet.features.stubs(:root?).returns(true)
77
82
  end
78
-
79
- Puppet.settings[:strict_variables] = true if ENV['STRICT_VARIABLES'] == 'yes' || ENV['STRICT_VARIABLES'] != 'no'
80
- Puppet.settings[:ordering] = ENV['ORDERING'] if ENV['ORDERING']
81
83
  end
82
84
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetlabsSpecHelper
4
- VERSION = '6.0.0.rc.1'
4
+ VERSION = '6.0.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: 6.0.0.rc.1
4
+ version: 6.0.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: 2023-04-19 00:00:00.000000000 Z
12
+ date: 2023-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
@@ -158,9 +158,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
158
  version: '2.7'
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ">"
161
+ - - ">="
162
162
  - !ruby/object:Gem::Version
163
- version: 1.3.1
163
+ version: '0'
164
164
  requirements:
165
165
  - puppet, >= 7.0.0
166
166
  rubygems_version: 3.1.6