kitchen-inspec 2.4.3 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/verifier/inspec.rb +7 -1
- data/lib/kitchen/verifier/inspec_version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab4a45cdb62bf16dc1420f1fa66090099b2093c7d9b902d5f79d7c6522acd5a0
|
4
|
+
data.tar.gz: 0020b1b20ac9690357355a47c4088b8b079a33fff07690309cd9791f1153a0a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610031a98a4776e9f688f306e6efa9b50ee14d2ac73de7e09202c5489ae7c36bedc6389e811b9d51f8597dea694136f0d06bcc30f6a6ba3d026596f39ae8a67d
|
7
|
+
data.tar.gz: 18d9081e4321ef61de8a30b74be9ac8945a1ca9febeeb2c2632f353c17fa6c094309c6bc1127d482ae858680293803427682604de8579b3265024ea690f81d6c
|
@@ -80,8 +80,9 @@ module Kitchen
|
|
80
80
|
opts = runner_options(instance.transport, state, instance.platform.name, instance.suite.name)
|
81
81
|
logger.debug "Options #{opts.inspect}"
|
82
82
|
|
83
|
-
# add inputs
|
83
|
+
# add inputs and waivers
|
84
84
|
setup_inputs(opts, config)
|
85
|
+
setup_waivers(opts, config)
|
85
86
|
|
86
87
|
# setup Inspec
|
87
88
|
::Inspec::Log.init(STDERR)
|
@@ -115,6 +116,11 @@ module Kitchen
|
|
115
116
|
|
116
117
|
private
|
117
118
|
|
119
|
+
def setup_waivers(opts, config)
|
120
|
+
# InSpec expects the singular inflection
|
121
|
+
opts[:waiver_file] = config[:waiver_files] || []
|
122
|
+
end
|
123
|
+
|
118
124
|
def setup_inputs(opts, config)
|
119
125
|
inspec_version = Gem::Version.new(::Inspec::VERSION)
|
120
126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.2.64
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 2.2.64
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: test-kitchen
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '2.7'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '4'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '2.7'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '4'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: hashie
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|