inspec 1.7.0 → 1.7.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/CHANGELOG.md +17 -2
- data/README.md +4 -1
- data/inspec.gemspec +1 -1
- data/lib/inspec/cli.rb +0 -2
- data/lib/inspec/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f2f0ca8fb9fe310ac9454e39082d733023a191
|
4
|
+
data.tar.gz: 84f5a81f485171d490766e9a19dba7ec7c198ea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54b3fb1e15eb187ab7b18f665a7eb15d8faa2f4490862881833899f766a67583152b7c7619e91429dcf71e0ac8273724bbf58567d03c53fe6c387f1f40ed0eeb
|
7
|
+
data.tar.gz: 08748270838169829e643dcefd85a3a10b0b30a8e2a8f30d5bc188ea7928d141bfdd4fb93d4b7c477c22b26328d8948c01775a11f4e7718e8d60ed685fc35798
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,22 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [1.7.
|
4
|
-
[Full Changelog](https://github.com/chef/inspec/compare/v1.
|
3
|
+
## [1.7.1](https://github.com/chef/inspec/tree/1.7.1) (2016-12-03)
|
4
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v1.7.0...1.7.1)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- Use train 0.22.0 for SSH agent support [\#1342](https://github.com/chef/inspec/pull/1342) ([alexpop](https://github.com/alexpop))
|
9
|
+
|
10
|
+
**Fixed bugs:**
|
11
|
+
|
12
|
+
- Remove check and json logging for now [\#1343](https://github.com/chef/inspec/pull/1343) ([alexpop](https://github.com/alexpop))
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- dont remove gh-pages if it doesnt exist [\#1340](https://github.com/chef/inspec/pull/1340) ([arlimus](https://github.com/arlimus))
|
17
|
+
|
18
|
+
## [v1.7.0](https://github.com/chef/inspec/tree/v1.7.0) (2016-12-02)
|
19
|
+
[Full Changelog](https://github.com/chef/inspec/compare/v1.6.0...v1.7.0)
|
5
20
|
|
6
21
|
**Implemented enhancements:**
|
7
22
|
|
data/README.md
CHANGED
@@ -27,6 +27,9 @@ inspec exec test.rb
|
|
27
27
|
# run test on remote host on SSH
|
28
28
|
inspec exec test.rb -t ssh://user@hostname -i /path/to/key
|
29
29
|
|
30
|
+
# run test on remote host using SSH agent private key authentication. Requires InSpec 1.7.1
|
31
|
+
inspec exec test.rb -t ssh://user@hostname
|
32
|
+
|
30
33
|
# run test on remote windows host on WinRM
|
31
34
|
inspec exec test.rb -t winrm://Administrator@windowshost --password 'your-password'
|
32
35
|
|
@@ -47,7 +50,7 @@ InSpec requires Ruby ( >1.9 ).
|
|
47
50
|
|
48
51
|
### Install as package
|
49
52
|
|
50
|
-
The InSpec package is available for MacOS, RedHat, Ubuntu and Windows. Download the latest package at [InSpec Downloads](https://downloads.chef.io/inspec).
|
53
|
+
The InSpec package is available for MacOS, RedHat, Ubuntu and Windows. Download the latest package at [InSpec Downloads](https://downloads.chef.io/inspec).
|
51
54
|
|
52
55
|
### Install it via rubygems.org
|
53
56
|
|
data/inspec.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.add_dependency 'train', '>=0.
|
27
|
+
spec.add_dependency 'train', '>=0.22.0', '<1.0'
|
28
28
|
spec.add_dependency 'thor', '~> 0.19'
|
29
29
|
spec.add_dependency 'json', '>= 1.8', '< 3.0'
|
30
30
|
spec.add_dependency 'rainbow', '~> 2'
|
data/lib/inspec/cli.rb
CHANGED
@@ -33,7 +33,6 @@ class Inspec::InspecCLI < Inspec::BaseCLI # rubocop:disable Metrics/ClassLength
|
|
33
33
|
def json(target)
|
34
34
|
diagnose
|
35
35
|
o = opts.dup
|
36
|
-
configure_logger(o)
|
37
36
|
o[:ignore_supports] = true
|
38
37
|
o[:backend] = Inspec::Backend.create(target: 'mock://')
|
39
38
|
|
@@ -60,7 +59,6 @@ class Inspec::InspecCLI < Inspec::BaseCLI # rubocop:disable Metrics/ClassLength
|
|
60
59
|
def check(path) # rubocop:disable Metrics/AbcSize
|
61
60
|
diagnose
|
62
61
|
o = opts.dup
|
63
|
-
configure_logger(o)
|
64
62
|
o[:ignore_supports] = true # we check for integrity only
|
65
63
|
o[:backend] = Inspec::Backend.create(target: 'mock://')
|
66
64
|
|
data/lib/inspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: train
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.22.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '1.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.22.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1.0'
|