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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a69a3a78ee7d17ad89e5d13c6445346393e1e1a1
4
- data.tar.gz: 03059ff1d249a73bc2f49bdfbac8f162eb3ee3ab
3
+ metadata.gz: e6f2f0ca8fb9fe310ac9454e39082d733023a191
4
+ data.tar.gz: 84f5a81f485171d490766e9a19dba7ec7c198ea9
5
5
  SHA512:
6
- metadata.gz: c71b46c3f283a84725615ebcdab4d8b0e58e301a7bd53ba0903a4abbd7e0d54af271b2d24dc21d1cafcbade09ced2ee5b1a4cc2af55594d47d925b9b39e13e46
7
- data.tar.gz: db25eac456c658775d97fa388e68b7d1e8a39562615cfdaf5d76647d9045c5b4a4ab914f2a12d3321e4e44261f02eaa0ef8ea0017dc667663b98677323cb8cac
6
+ metadata.gz: 54b3fb1e15eb187ab7b18f665a7eb15d8faa2f4490862881833899f766a67583152b7c7619e91429dcf71e0ac8273724bbf58567d03c53fe6c387f1f40ed0eeb
7
+ data.tar.gz: 08748270838169829e643dcefd85a3a10b0b30a8e2a8f30d5bc188ea7928d141bfdd4fb93d4b7c477c22b26328d8948c01775a11f4e7718e8d60ed685fc35798
@@ -1,7 +1,22 @@
1
1
  # Change Log
2
2
 
3
- ## [1.7.0](https://github.com/chef/inspec/tree/1.7.0) (2016-12-02)
4
- [Full Changelog](https://github.com/chef/inspec/compare/v1.6.0...1.7.0)
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
 
@@ -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.20.1', '<1.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'
@@ -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
 
@@ -4,5 +4,5 @@
4
4
  # author: Christoph Hartmann
5
5
 
6
6
  module Inspec
7
- VERSION = '1.7.0'.freeze
7
+ VERSION = '1.7.1'.freeze
8
8
  end
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.0
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-02 00:00:00.000000000 Z
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.20.1
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.20.1
29
+ version: 0.22.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '1.0'