hocho 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hocho/host.rb +7 -7
- data/lib/hocho/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc1d89aba4bdb301b19444dc5d87cbe529b75cd7fd2a5862af8a0e0eee0f06c9
|
4
|
+
data.tar.gz: a1e4308126d79cb3b4365c0dda2737ff2c57ca1f9a71ff74ba86948a0d4e4ab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9a5930caf9ce31ba052af069126bb6230b275ab007c00a0edbaf08a8d30fc0b4135aeae57899ebc8428a068a0f7221dd4249f1fa6af240830fb98b045aaeef5
|
7
|
+
data.tar.gz: 89d2ac75f09f14d2e569a7a229cfa61a625dbda5e1da6d035d54ac240d9cb78fd6272a85cc686166004404994a98384b1e6466d86ee349ab4d28270ad33c5e45
|
data/lib/hocho/host.rb
CHANGED
@@ -209,14 +209,14 @@ module Hocho
|
|
209
209
|
|
210
210
|
def make_ssh_connection
|
211
211
|
alt = false
|
212
|
-
# A workaround for a bug on net-ssh: https://github.com/net-ssh/net-ssh/issues/764
|
213
|
-
# :strict_host_key_checking is translated from ssh config. However, Net::SSH.start does not accept
|
214
|
-
# the option as valid one. Remove this part when net-ssh fixes the bug.
|
215
|
-
options = ssh_options
|
216
|
-
unless Net::SSH::VALID_OPTIONS.include?(:strict_host_key_checking)
|
217
|
-
options.delete(:strict_host_key_checking)
|
218
|
-
end
|
219
212
|
begin
|
213
|
+
# A workaround for a bug on net-ssh: https://github.com/net-ssh/net-ssh/issues/764
|
214
|
+
# :strict_host_key_checking is translated from ssh config. However, Net::SSH.start does not accept
|
215
|
+
# the option as valid one. Remove this part when net-ssh fixes the bug.
|
216
|
+
options = ssh_options
|
217
|
+
unless Net::SSH::VALID_OPTIONS.include?(:strict_host_key_checking)
|
218
|
+
options.delete(:strict_host_key_checking)
|
219
|
+
end
|
220
220
|
Net::SSH.start(name, nil, options)
|
221
221
|
rescue Net::SSH::Exception, Errno::ECONNREFUSED, Net::SSH::Proxy::ConnectError => e
|
222
222
|
raise if alt
|
data/lib/hocho/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hocho
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sorah (Shota Fukumori)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|