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 +4 -4
- data/lib/inspec/resources/command.rb +1 -0
- data/lib/inspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b69fe894c5d6e3a8f5d02c18a283cf198bba2f903a2a3f7e8e03fc6cc4b80ad
|
|
4
|
+
data.tar.gz: da6d87aa551f2ca4f35ed1a827e1454dec479ca7776ba51a179b7c80b80b6721
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/inspec/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chef-telemetry
|