inspec-core 4.31.1 → 4.32.0

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
  SHA256:
3
- metadata.gz: 3b69fe894c5d6e3a8f5d02c18a283cf198bba2f903a2a3f7e8e03fc6cc4b80ad
4
- data.tar.gz: da6d87aa551f2ca4f35ed1a827e1454dec479ca7776ba51a179b7c80b80b6721
3
+ metadata.gz: a32d0575d09a6902a6a3fbce06ed7aaf7757e3604039334ecc9aa9adc9830298
4
+ data.tar.gz: 3df4dd2409d4456c4f42fe666bddd9407c3eadff754f852206bbcd81927967b2
5
5
  SHA512:
6
- metadata.gz: 3b5cffcda4cf2942bdf9c96bad907b404e11230a3ac4c93436274dce20a878533e6ed1fef929260e8cbad332409e4bc234c2ca77ea039f044a60545974500f9f
7
- data.tar.gz: 8ba3b1a3c08345f647f239c3a26c8257a1830b1407c4ae6fa3e36745e57eb31a197a753b147a02f19164d8b3c9776fb7d9e4fea05ad224aaa6ab19764b8bf334
6
+ metadata.gz: 298d75a54ef15d4f880eff7b049d361281511ca3705476550747c4f863ac3d97325fd1796cf99de4af44e179a0003c04db142ed3fda59547cd82dad3a4ec57ca
7
+ data.tar.gz: 14733ae7b9dbeec40c07654d83a65eed7e2d81dc18b2c9c813de4a99465b13117d0c2dbde25e6b51b26cf275c49cf78ac3eba8a991eb59e6914414f812fe89b2
data/lib/inspec/cli.rb CHANGED
@@ -325,6 +325,10 @@ class Inspec::InspecCLI < Inspec::BaseCLI
325
325
  desc: "Maximum seconds to allow a command to run. Default 3600.",
326
326
  long_desc: "Maximum seconds to allow commands to run. Default 3600. A timed out command is considered an error."
327
327
  option :inspect, type: :boolean, default: false, desc: "Use verbose/debugging output for resources."
328
+ option :input_file, type: :array,
329
+ desc: "Load one or more input files, a YAML file with values for the shell to use"
330
+ option :input, type: :array, banner: "name1=value1 name2=value2",
331
+ desc: "Specify one or more inputs directly on the command line to the shell, as --input NAME=VALUE. Accepts single-quoted YAML and JSON structures."
328
332
  def shell_func
329
333
  o = config
330
334
  diagnose(o)
@@ -1,3 +1,3 @@
1
1
  module Inspec
2
- VERSION = "4.31.1".freeze
2
+ VERSION = "4.32.0".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.1
4
+ version: 4.32.0
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-08 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-telemetry