test-kitchen 1.22.0 → 1.22.1

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: ff85b0760e18dd6dc096340fe2f0e25e2afb81a3effe86abffb3bcb693c69691
4
- data.tar.gz: 5726b42fa3dd0be71cdaf302a9fbb22eb411d81a2d1ec0112e31efc33b90b32a
3
+ metadata.gz: a25f1efb06c17a12ffbdfdf5047e74b1fb784945e687848b1966da79e571b164
4
+ data.tar.gz: 58e429e9df4ecd71a335243a0580a0351aacff07d2ee1d1f9a05f0eb82a17554
5
5
  SHA512:
6
- metadata.gz: 1b69d8edbe1552f5aa6a1148140073eb05fd263ddb39ef8ef388f36cd57063693c4ab12e9f71ef9dfebd40fcee2a69078beb670300ef9294c65c3303e59b85cc
7
- data.tar.gz: 585a3924350b34e45a573bb8c7d11d606bc47f3b4f9a5fcf0e974443686c22d540ce9b06f450890affbb680e91e27f93abecd3cbee52558e63db970ebe3d644b
6
+ metadata.gz: 35cf9c12e8bdc1eba84b38b50bcee1332cca0db9e5548bccf07f3bc0185d88afc40d75341baee5a3cba64e888bd011e2479206e9796eb6c4a5bbcf51b4aef66f
7
+ data.tar.gz: 58f2c081cb0ac675cde486c9455b01e25f7dd98d49122c86039c76bd62ea33603fc203c1d521b3698c684a0b7464c13ca5d70fcfea2bc2f2b78062fa938b4b30
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.22.1](https://github.com/test-kitchen/test-kitchen/tree/v1.22.1) (2018-08-03)
4
+ [Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.22.0...v1.22.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - \[SHACK-295\] ChefDK 2.x uses an old version of net-ssh [\#1439](https://github.com/test-kitchen/test-kitchen/pull/1439) ([tyler-ball](https://github.com/tyler-ball))
9
+
10
+
3
11
  ## [v1.22.0](https://github.com/test-kitchen/test-kitchen/tree/v1.22.0) (2018-06-28)
4
12
  [Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.21.2...v1.22.0)
5
13
 
@@ -56,7 +64,7 @@ This also applies to `kitchen.local.yml` and we've made the change backwards com
56
64
  Allows a user to use data_bags from an array of directories
57
65
 
58
66
  ```
59
- data_bags_path:
67
+ data_bags_path:
60
68
  - 'data_bags'
61
69
  - 'test/integrations/data_bags'
62
70
  ```
@@ -18,6 +18,7 @@
18
18
 
19
19
  require "rubygems/gem_runner"
20
20
  require "thor/group"
21
+ require "kitchen"
21
22
 
22
23
  module Kitchen
23
24
  module Generator
@@ -517,13 +517,17 @@ module Kitchen
517
517
  # net-ssh to ~> 4.2, this will prevent InSpec from being used in
518
518
  # Chef v12 because of it pinning to a v3 of net-ssh.
519
519
  #
520
- def verify_host_key_option
520
+ def self.verify_host_key_option
521
521
  current_net_ssh = Net::SSH::Version::CURRENT
522
522
  new_option_version = Net::SSH::Version[4, 2, 0]
523
523
 
524
524
  current_net_ssh >= new_option_version ? :verify_host_key : :paranoid
525
525
  end
526
526
 
527
+ def verify_host_key_option
528
+ self.class.verify_host_key_option
529
+ end
530
+
527
531
  # Creates a new SSH Connection instance and save it for potential future
528
532
  # reuse.
529
533
  #
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "1.22.0".freeze
20
+ VERSION = "1.22.1".freeze
21
21
  end
@@ -188,8 +188,9 @@ describe Kitchen::Transport::Ssh do
188
188
  end
189
189
 
190
190
  it "sets the :verify_host_key flag to false" do
191
+ verify_host_key_option = Kitchen::Transport::Ssh.verify_host_key_option
191
192
  klass.expects(:new).with do |hash|
192
- hash[:verify_host_key] == false
193
+ hash[verify_host_key_option] == false
193
194
  end
194
195
 
195
196
  make_connection
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2018-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -525,7 +525,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
525
525
  version: '0'
526
526
  requirements: []
527
527
  rubyforge_project:
528
- rubygems_version: 2.7.5
528
+ rubygems_version: 2.7.7
529
529
  signing_key:
530
530
  specification_version: 4
531
531
  summary: Test Kitchen is an integration tool for developing and testing infrastructure