chefspec 7.3.4 → 7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/chefspec.gemspec +3 -3
- data/lib/chefspec/api/stubs_for.rb +1 -0
- data/lib/chefspec/policyfile.rb +4 -1
- data/lib/chefspec/rspec.rb +1 -0
- data/lib/chefspec/version.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 811f21e393d16be39c8162bbe17c1157d214ce0eb378e8d19e686683fad4160b
|
4
|
+
data.tar.gz: 764db71993cd015961d195d39dc1c99a74bda29311a3fc69210961e4482d6ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7b68c00204307439f31270eb1ae14360d1750aabc7e7f87c2128337331fb29b6041858132f218fee76fd65c8d2903739816c1be4a8f268646c66fd10449b5a9
|
7
|
+
data.tar.gz: d25a404af72648245718dc0ee6519023754c0c6f111f87746edb611e6c17856571bc183e17fd1284b33709ddebd8a0ba36c91a0f4245403db49bbd0d7e2a09b3
|
data/Rakefile
CHANGED
data/chefspec.gemspec
CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.files = %w{LICENSE Rakefile Gemfile chefspec.gemspec} + Dir.glob("{lib,templates,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
|
22
22
|
s.require_paths = ['lib']
|
23
23
|
|
24
|
-
s.required_ruby_version = '>= 2.
|
24
|
+
s.required_ruby_version = '>= 2.3'
|
25
25
|
|
26
|
-
s.add_dependency 'chef', '>=
|
27
|
-
s.add_dependency 'fauxhai', '>=
|
26
|
+
s.add_dependency 'chef', '>= 13'
|
27
|
+
s.add_dependency 'fauxhai', '>= 6.11'
|
28
28
|
s.add_dependency 'rspec', '~> 3.0'
|
29
29
|
end
|
data/lib/chefspec/policyfile.rb
CHANGED
@@ -22,7 +22,10 @@ module ChefSpec
|
|
22
22
|
# Setup and install the necessary dependencies in the temporary directory
|
23
23
|
#
|
24
24
|
def setup!
|
25
|
-
policyfile_path =
|
25
|
+
policyfile_path = RSpec.configuration.policyfile_path
|
26
|
+
if policyfile_path.nil?
|
27
|
+
policyfile_path = File.join(Dir.pwd, 'Policyfile.rb')
|
28
|
+
end
|
26
29
|
|
27
30
|
installer = ChefDK::PolicyfileServices::Install.new(
|
28
31
|
policyfile: policyfile_path,
|
data/lib/chefspec/rspec.rb
CHANGED
data/lib/chefspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Crump
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '13'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: '13'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: fauxhai
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '6.11'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '6.11'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,15 +191,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements:
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '2.
|
194
|
+
version: '2.3'
|
195
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
197
|
- - ">="
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
|
-
|
202
|
-
rubygems_version: 2.7.7
|
201
|
+
rubygems_version: 3.0.3
|
203
202
|
signing_key:
|
204
203
|
specification_version: 4
|
205
204
|
summary: Write RSpec examples and generate coverage reports for Chef recipes!
|