inspec 0.16.1 → 0.16.2
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 +4 -4
- data/CHANGELOG.md +14 -2
- data/lib/inspec/version.rb +1 -1
- data/lib/resources/parse_config.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f33f41b2c19316d302c4891aa7f95c7eb608e4e
|
|
4
|
+
data.tar.gz: c0d4de5dd94ca1263c5836b63719ec05dc26cfad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7796905bf88f597c0ad335637fa2d10c6d0782b032b5f7bcccd502f87b0da1ac6817cecdd88a84509b0d5db0800c5033e9c34152dbd3d7ebac82369958b82b6d
|
|
7
|
+
data.tar.gz: cdff84ba9cff5064c13c6d187129d4f5284fb293290f49e78b70fdf8e24c1ba5c645c58e8b5d1139cd916e73b4341c81a52fd269d140115bd065b176bfef0483
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [0.16.
|
|
4
|
-
[Full Changelog](https://github.com/chef/inspec/compare/v0.16.
|
|
3
|
+
## [0.16.2](https://github.com/chef/inspec/tree/0.16.2) (2016-03-22)
|
|
4
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v0.16.1...0.16.2)
|
|
5
|
+
|
|
6
|
+
**Fixed bugs:**
|
|
7
|
+
|
|
8
|
+
- bugfix: dont crash on read\_file contents in parse\_config [\#570](https://github.com/chef/inspec/pull/570) ([arlimus](https://github.com/arlimus))
|
|
9
|
+
|
|
10
|
+
**Closed issues:**
|
|
11
|
+
|
|
12
|
+
- inspec exec error on new install [\#569](https://github.com/chef/inspec/issues/569)
|
|
13
|
+
|
|
14
|
+
## [v0.16.1](https://github.com/chef/inspec/tree/v0.16.1) (2016-03-22)
|
|
15
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v0.16.0...v0.16.1)
|
|
5
16
|
|
|
6
17
|
**Implemented enhancements:**
|
|
7
18
|
|
|
@@ -11,6 +22,7 @@
|
|
|
11
22
|
|
|
12
23
|
**Merged pull requests:**
|
|
13
24
|
|
|
25
|
+
- 0.16.1 [\#567](https://github.com/chef/inspec/pull/567) ([arlimus](https://github.com/arlimus))
|
|
14
26
|
- add support for addresses in port resource [\#558](https://github.com/chef/inspec/pull/558) ([chris-rock](https://github.com/chris-rock))
|
|
15
27
|
|
|
16
28
|
## [v0.16.0](https://github.com/chef/inspec/tree/v0.16.0) (2016-03-19)
|
data/lib/inspec/version.rb
CHANGED
|
@@ -47,7 +47,7 @@ module Inspec::Resources
|
|
|
47
47
|
if !inspec.file(conf_path).file?
|
|
48
48
|
return skip_resource "Can't find file \"#{conf_path}\""
|
|
49
49
|
end
|
|
50
|
-
@content = read_file(conf_path)
|
|
50
|
+
@content = read_file(conf_path).to_s
|
|
51
51
|
if @content.empty? && inspec.file(conf_path).size > 0
|
|
52
52
|
return skip_resource "Can't read file \"#{conf_path}\""
|
|
53
53
|
end
|