inspec 0.16.1 → 0.16.2

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
  SHA1:
3
- metadata.gz: 5487adad33ddb0d68d7115f3b5855862ac2269f4
4
- data.tar.gz: 856ab3b28b9a5d5ffb3bbed9983095553be1c1e5
3
+ metadata.gz: 2f33f41b2c19316d302c4891aa7f95c7eb608e4e
4
+ data.tar.gz: c0d4de5dd94ca1263c5836b63719ec05dc26cfad
5
5
  SHA512:
6
- metadata.gz: 4ff5484ae1c3be74b1380f5521eb8bfb925c94fc0b8cf9bb68baaa9a6b998c6b54875d65b9b1b0c12fe68d7db16794c6b0a113d222d4c6a09c3ceb3536c78445
7
- data.tar.gz: 65619588022d504d018a3f25e8cd05adf53305b641143b1175e3a78c8e7aae27212c2a29bd51b78bd36e16a7d42a09ae2520eb4e753672a8e70c5b32dbb8ca96
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.1](https://github.com/chef/inspec/tree/0.16.1) (2016-03-22)
4
- [Full Changelog](https://github.com/chef/inspec/compare/v0.16.0...0.16.1)
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)
@@ -3,5 +3,5 @@
3
3
  # author: Christoph Hartmann
4
4
 
5
5
  module Inspec
6
- VERSION = '0.16.1'.freeze
6
+ VERSION = '0.16.2'.freeze
7
7
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter