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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f61962a1136d9599c8cecf5befa6700f5ae547847a2b38e3a4a3aaeba849438
4
- data.tar.gz: ed1d9cb144c79c3589ecfef262d45e367c35c109d7d4280233e64e2f844dbe6a
3
+ metadata.gz: fc1d89aba4bdb301b19444dc5d87cbe529b75cd7fd2a5862af8a0e0eee0f06c9
4
+ data.tar.gz: a1e4308126d79cb3b4365c0dda2737ff2c57ca1f9a71ff74ba86948a0d4e4ab7
5
5
  SHA512:
6
- metadata.gz: c057b7c3a289dfbc0a9dac7bf294cec8807af1d26744ff098f76b963df4626763eabeec0a7482c0186c09c99656b5bbfdbbfea92ec7c2c4cdfa93f42149c4c25
7
- data.tar.gz: 7423407b1f272b38ba82c31041e3010206a71f05c1d2b07a3dea40c9a49cf58ecc2b16473d3d07aa0fe648d2aadc6fdad59c299038c22840cefed169d8d9cdca
6
+ metadata.gz: e9a5930caf9ce31ba052af069126bb6230b275ab007c00a0edbaf08a8d30fc0b4135aeae57899ebc8428a068a0f7221dd4249f1fa6af240830fb98b045aaeef5
7
+ data.tar.gz: 89d2ac75f09f14d2e569a7a229cfa61a625dbda5e1da6d035d54ac240d9cb78fd6272a85cc686166004404994a98384b1e6466d86ee349ab4d28270ad33c5e45
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Hocho
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
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.5
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-13 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor