inspec-core 4.23.10 → 4.23.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inspec/base_cli.rb +6 -0
- data/lib/inspec/cli.rb +4 -2
- 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: 6a065b3ed549e1beaaa211fc87e50e1f66be56a12c51c942884972d70a55fe6c
|
4
|
+
data.tar.gz: bef9a2f8e84aea96c3917119906bdd251468e4a54a69044f1122c0fbb1b340fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d985c4562718e2bbd57585f6c6b496970aeaca0aabb0d2101b5b89b22c465d99c5ce5fead723bf4478799331d9a6d3be8d9fcd1786434ebd47bdf4392af19b6e
|
7
|
+
data.tar.gz: bd144e5f250215c64aad78f41ad60804fefe093b7cf234aa09b0ace4c866b5d254ac7ce639405ff33af743f08a4376f1a41cb2f61c2faa0b5ffab4221add290a
|
data/lib/inspec/base_cli.rb
CHANGED
@@ -164,6 +164,12 @@ module Inspec
|
|
164
164
|
desc: "After normal execution order, results are sorted by control ID, or by file (default), or randomly. None uses legacy unsorted mode."
|
165
165
|
end
|
166
166
|
|
167
|
+
def self.help(*args)
|
168
|
+
super(*args)
|
169
|
+
puts "\nAbout #{Inspec::Dist::PRODUCT_NAME}:"
|
170
|
+
puts " Patents: chef.io/patents\n\n"
|
171
|
+
end
|
172
|
+
|
167
173
|
def self.format_platform_info(params: {}, indent: 0, color: 39)
|
168
174
|
str = ""
|
169
175
|
params.each do |item, info|
|
data/lib/inspec/cli.rb
CHANGED
@@ -48,7 +48,8 @@ class Inspec::InspecCLI < Inspec::BaseCLI
|
|
48
48
|
desc: "Allow or disable user interaction"
|
49
49
|
|
50
50
|
class_option :disable_core_plugins, type: :string, banner: "", # Actually a boolean, but this suppresses the creation of a --no-disable...
|
51
|
-
desc: "Disable loading all plugins that are shipped in the lib/plugins directory of InSpec. Useful in development."
|
51
|
+
desc: "Disable loading all plugins that are shipped in the lib/plugins directory of InSpec. Useful in development.",
|
52
|
+
hide: true
|
52
53
|
|
53
54
|
class_option :disable_user_plugins, type: :string, banner: "",
|
54
55
|
desc: "Disable loading all plugins that the user installed."
|
@@ -194,7 +195,8 @@ class Inspec::InspecCLI < Inspec::BaseCLI
|
|
194
195
|
pretty_handle_exception(e)
|
195
196
|
end
|
196
197
|
|
197
|
-
desc "exec LOCATIONS",
|
198
|
+
desc "exec LOCATIONS", "Run all tests at LOCATIONS."
|
199
|
+
long_desc <<~EOT
|
198
200
|
Run all test files at the specified LOCATIONS.
|
199
201
|
|
200
202
|
Loads the given profile(s) and fetches their dependencies if needed. Then
|
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.23.
|
4
|
+
version: 4.23.11
|
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: 2020-09-
|
11
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-telemetry
|