inspec-core 4.31.0 → 4.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
  SHA256:
3
- metadata.gz: de259f902d4d891726e44204083a9fa2ab6b2b7507914036cc1af230e82dbc6b
4
- data.tar.gz: 16d2ce9dbe236411f8169b378c51bedd5e2fc87ee84429b14de8e7312f6576cd
3
+ metadata.gz: 3b69fe894c5d6e3a8f5d02c18a283cf198bba2f903a2a3f7e8e03fc6cc4b80ad
4
+ data.tar.gz: da6d87aa551f2ca4f35ed1a827e1454dec479ca7776ba51a179b7c80b80b6721
5
5
  SHA512:
6
- metadata.gz: 6f6646ab26611a0d49bce5bb8dd927ac678cb1ab032d5c5de055e5e769ef667f4147f4bae82613450c21c9ca0ebcd99302f33741ba51c95094b45714a6f69303
7
- data.tar.gz: c19721ef5d63cedae91fe69103f7f4ec4237ce4e16ab563895eff655b2ff32ec1ba15daf412cf23ed11966a9d94b5941b5c74ac6ba47c4c209f82a5db1240641
6
+ metadata.gz: 3b5cffcda4cf2942bdf9c96bad907b404e11230a3ac4c93436274dce20a878533e6ed1fef929260e8cbad332409e4bc234c2ca77ea039f044a60545974500f9f
7
+ data.tar.gz: 8ba3b1a3c08345f647f239c3a26c8257a1830b1407c4ae6fa3e36745e57eb31a197a753b147a02f19164d8b3c9776fb7d9e4fea05ad224aaa6ab19764b8bf334
@@ -36,6 +36,7 @@ module Inspec::Resources
36
36
  # Can access this via Inspec::InspecCLI.commands["exec"].options[:command_timeout].default,
37
37
  # but that may not be loaded for kitchen-inspec and other pure gem consumers
38
38
  default_cli_timeout = 3600
39
+ cli_timeout = default_cli_timeout if cli_timeout == 0 # Under test-kitchen we get a 0 timeout, which can't be a resonable value
39
40
  if cli_timeout != default_cli_timeout
40
41
  @timeout = cli_timeout
41
42
  else
@@ -1,3 +1,3 @@
1
1
  module Inspec
2
- VERSION = "4.31.0".freeze
2
+ VERSION = "4.31.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.31.0
4
+ version: 4.31.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-telemetry