dependency: update net-ssh version

There is new net-ssh release [1] with a fix needed for vagrant-kubevirt.

Fixes: https://github.com/hashicorp/vagrant/issues/10421

[1] https://github.com/net-ssh/net-ssh/releases/tag/v5.1.0
This commit is contained in:
Piotr Kliczewski 2019-01-02 11:18:57 +01:00
parent 1f565b8f27
commit 0ad20f725b
2 changed files with 8 additions and 6 deletions

View File

@ -565,11 +565,13 @@ describe VagrantPlugins::CommunicatorSSH::Communicator do
end end
it "includes the default cipher array for encryption" do it "includes the default cipher array for encryption" do
cipher_array = %w(aes128-cbc 3des-cbc blowfish-cbc cast128-cbc cipher_array = %w(aes256-ctr aes192-ctr aes128-ctr
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se aes256-cbc aes192-cbc aes128-cbc
idea-cbc arcfour128 arcfour256 arcfour rijndael-cbc@lysator.liu.se blowfish-ctr
aes128-ctr aes192-ctr aes256-ctr blowfish-cbc cast128-ctr cast128-cbc
cast128-ctr blowfish-ctr 3des-ctr none) 3des-ctr 3des-cbc idea-cbc arcfour256
arcfour128 arcfour none)
expect(Net::SSH).to receive(:start).with( expect(Net::SSH).to receive(:start).with(
nil, nil, hash_including( nil, nil, hash_including(
encryption: cipher_array encryption: cipher_array

View File

@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.add_dependency "listen", "~> 3.1.5" s.add_dependency "listen", "~> 3.1.5"
s.add_dependency "hashicorp-checkpoint", "~> 0.1.5" s.add_dependency "hashicorp-checkpoint", "~> 0.1.5"
s.add_dependency "log4r", "~> 1.1.9", "< 1.1.11" s.add_dependency "log4r", "~> 1.1.9", "< 1.1.11"
s.add_dependency "net-ssh", "~> 5.0.0" s.add_dependency "net-ssh", "~> 5.1.0"
s.add_dependency "net-sftp", "~> 2.1" s.add_dependency "net-sftp", "~> 2.1"
s.add_dependency "net-scp", "~> 1.2.0" s.add_dependency "net-scp", "~> 1.2.0"
s.add_dependency "rb-kqueue", "~> 0.2.0" s.add_dependency "rb-kqueue", "~> 0.2.0"