kitchen-inspec 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e190a03f80eb19bac069a41896c8cab22c04bb9
4
- data.tar.gz: 5bf75bfa5793d990c96e5f89e01dc6f48554a179
3
+ metadata.gz: b17913e9335d2d54ffbf7698bfe4b3fc86799622
4
+ data.tar.gz: 115f09a7afbcfa6131d05bfb4009ad8e3e2b11e5
5
5
  SHA512:
6
- metadata.gz: dee09855fe0c78a48aa4e3cb2a4ce94b8d5d18b12b1d6b57754716a5853da4f8d31f2422a413788bc0ff0304b8c02bd147fb5bdb89b6a98a0a86203a63542be8
7
- data.tar.gz: 926cd594d9e6479e37bd8e03a1b5d6e4a946bc22814e99db93dda38a58da7e0b7085bf201e5de7a469f7169cfcbee6bb73a563dbd87d3fb7e5ab908eb4cd04d0
6
+ metadata.gz: b5db7ca406ef647ef717d996f7fd36ebb732a7addd01d568083b87438467042ce4047676b2e19a77c1c5b0ccf29f866bb819ba5af467be20590772161428b56d
7
+ data.tar.gz: 2268b49b4b8904fe167d83df92c2c502eea1d930ec5f02a83fd4ea01d00743a6edb6eb4d7d142c2178410d658bb5bb924599404dfd6f10a1920d8b048c60a732
data/CHANGELOG.md CHANGED
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
2
 
3
- ## [0.23.0](https://github.com/chef/kitchen-inspec/tree/0.23.0) (2018-02-28)
4
- [Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.22.0...0.23.0)
3
+ ## [0.23.1](https://github.com/chef/kitchen-inspec/tree/0.23.1) (2018-03-05)
4
+ [Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.0...0.23.1)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - Add inspec exit code 101 to the approved list [\#170](https://github.com/chef/kitchen-inspec/pull/170) ([jquick](https://github.com/jquick))
9
+
10
+ **Merged pull requests:**
11
+
12
+ - Fix inspec profile doc URL in README [\#166](https://github.com/chef/kitchen-inspec/pull/166) ([james-stocks](https://github.com/james-stocks))
13
+
14
+ ## [v0.23.0](https://github.com/chef/kitchen-inspec/tree/v0.23.0) (2018-02-28)
15
+ [Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.22.0...v0.23.0)
5
16
 
6
17
  **Closed issues:**
7
18
 
@@ -9,6 +20,7 @@
9
20
 
10
21
  **Merged pull requests:**
11
22
 
23
+ - Release kitchen inspec 0.23.0 [\#169](https://github.com/chef/kitchen-inspec/pull/169) ([jquick](https://github.com/jquick))
12
24
  - Update kitchen inspec to support inspec 2.0. [\#168](https://github.com/chef/kitchen-inspec/pull/168) ([jquick](https://github.com/jquick))
13
25
  - Fix travis-ci bundler issue [\#162](https://github.com/chef/kitchen-inspec/pull/162) ([jquick](https://github.com/jquick))
14
26
 
data/README.md CHANGED
@@ -148,7 +148,7 @@ If you need support with other testing frameworks, we recommend to place the tes
148
148
 
149
149
  ### Use remote InSpec profiles
150
150
 
151
- In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, call [InSpec profiles](https://github.com/chef/inspec/blob/master/docs/profiles.rst). Those can be easiliy added to existing local tests as demonstrated in previous sections. To include remote profiles, adapt the `verifier` attributes in `.kitchen.yml`
151
+ In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, called [InSpec profiles](https://github.com/chef/inspec/blob/master/docs/profiles.md). Those can be easiliy added to existing local tests as demonstrated in previous sections. To include remote profiles, adapt the `verifier` attributes in `.kitchen.yml`
152
152
 
153
153
  ```yaml
154
154
  suites:
@@ -93,7 +93,8 @@ module Kitchen
93
93
  end
94
94
 
95
95
  exit_code = runner.run
96
- return if exit_code == 0
96
+ # 101 is a success as well (exit with no fails but has skipped controls)
97
+ return if exit_code == 0 || exit_code == 101
97
98
  raise ActionFailed, "Inspec Runner returns #{exit_code}"
98
99
  end
99
100
 
@@ -20,6 +20,6 @@
20
20
  module Kitchen
21
21
  module Verifier
22
22
  # Version string for InSpec Kitchen verifier
23
- INSPEC_VERSION = "0.23.0"
23
+ INSPEC_VERSION = "0.23.1"
24
24
  end
25
25
  end
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: 0.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-28 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inspec