inspec 1.31.0 → 1.31.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: 0f63e2bc3c79b42602da904d3a7d1c270eb82281
4
- data.tar.gz: 0f288778eab441b7325fb7f4401c15a24cca1abb
3
+ metadata.gz: bde0ae439f6b243b79718378e46563a6dad1cc5f
4
+ data.tar.gz: ff5c267161334e1282bd2768da752ad8c5964ccf
5
5
  SHA512:
6
- metadata.gz: 036eaca5d11a52c0218416510139b133547811ceecfc8ac19659cbec50951a61d8eb7bfda9a3280b3e3944c7bfd0b295d8691124ed6984372968330d8af8db0f
7
- data.tar.gz: fc6b35830b818319d4a13ec75015b16e9dca38f048d52ed2f1c1d034b7a87a16d08a1deea09010cbc153f82de8ba24dc4ce4c2d1b777676f26affc69d79da7c0
6
+ metadata.gz: 77fa982b37b5cfe3d0fca7e44c4400159c0465e583cfd1e11e132cc1c9a62089ff5c06fefe66252303e08e65dfc59d34cf5a525f029fbfda1e9f0283671b233c
7
+ data.tar.gz: e5f847ecb5ff91141c523d290bcac93ffdecd7bb90f8ac5e1f78bdba1178489f992ff528723a3a4c4a1eceaca619e966a0df40b26efb18d1d17861075859bc8c
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.31.1](https://github.com/chef/inspec/tree/v1.31.1) (2017-07-06)
4
+ [Full Changelog](https://github.com/chef/inspec/compare/v1.31.0...v1.31.1)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - host resource: fix netcat detection [\#1995](https://github.com/chef/inspec/pull/1995) ([adamleff](https://github.com/adamleff))
9
+
3
10
  ## [v1.31.0](https://github.com/chef/inspec/tree/v1.31.0) (2017-07-06)
4
11
  [Full Changelog](https://github.com/chef/inspec/compare/v1.30.0...v1.31.0)
5
12
 
@@ -4,5 +4,5 @@
4
4
  # author: Christoph Hartmann
5
5
 
6
6
  module Inspec
7
- VERSION = '1.31.0'.freeze
7
+ VERSION = '1.31.1'.freeze
8
8
  end
@@ -210,7 +210,7 @@ module Inspec::Resources
210
210
  def missing_requirements(protocol)
211
211
  missing = []
212
212
 
213
- if protocol == 'tcp' && (!inspec.command('nc').exist? || !inspec.command('ncat').exist?)
213
+ if protocol == 'tcp' && (!inspec.command('nc').exist? && !inspec.command('ncat').exist?)
214
214
  missing << 'netcat must be installed'
215
215
  end
216
216
 
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: 1.31.0
4
+ version: 1.31.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter