puppetlabs_spec_helper 6.0.0.rc.1 → 6.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9697b23b7652cc4dd9158675666a7f64ea3a902a4ec8367977712b9549e94951
|
4
|
+
data.tar.gz: e1913dfc25f36d2067d4f9003810e5d0602a105b2442aaca1bba8a09dff484bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3ee3dbfac1577f1933f00e9b2cb6ac5fb2b4162054b9e9dcedd5921c7cbdcd279dce6294db6ec9cf29919c572ab0087ff62b3175ad1b3ddb24c8d261553587b
|
7
|
+
data.tar.gz: a0c034d5006429965a0a86a96de2011f708f9ce32893d2518dc6e062c73644560d6651f071c58a7c3d20c91e8013af46c45f14ea1cec7d61ff77beb52f05a0d3
|
@@ -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
|
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.
|
4
|
+
version: 6.0.1
|
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-
|
12
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|
@@ -52,9 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.0.0
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 4.0.0.rc
|
58
55
|
type: :runtime
|
59
56
|
prerelease: false
|
60
57
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -62,9 +59,6 @@ dependencies:
|
|
62
59
|
- - ">="
|
63
60
|
- !ruby/object:Gem::Version
|
64
61
|
version: 3.0.0
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 4.0.0.rc
|
68
62
|
- !ruby/object:Gem::Dependency
|
69
63
|
name: puppet-syntax
|
70
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,9 +94,6 @@ dependencies:
|
|
100
94
|
- - ">="
|
101
95
|
- !ruby/object:Gem::Version
|
102
96
|
version: '2.0'
|
103
|
-
- - "~>"
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: 3.0.0.rc
|
106
97
|
type: :runtime
|
107
98
|
prerelease: false
|
108
99
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -110,9 +101,6 @@ dependencies:
|
|
110
101
|
- - ">="
|
111
102
|
- !ruby/object:Gem::Version
|
112
103
|
version: '2.0'
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: 3.0.0.rc
|
116
104
|
description: Contains rake tasks and a standard spec_helper for running spec tests
|
117
105
|
on puppet modules.
|
118
106
|
email:
|
@@ -158,9 +146,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
146
|
version: '2.7'
|
159
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
148
|
requirements:
|
161
|
-
- - "
|
149
|
+
- - ">="
|
162
150
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
151
|
+
version: '0'
|
164
152
|
requirements:
|
165
153
|
- puppet, >= 7.0.0
|
166
154
|
rubygems_version: 3.1.6
|