kumogata 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kumogata/post_processing.rb +8 -6
- data/lib/kumogata/pre_processing.rb +1 -0
- data/lib/kumogata/utils.rb +1 -0
- data/lib/kumogata/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cda577d33103a8aefd39ff524436244625263ccb
|
4
|
+
data.tar.gz: 275b524fc1b7c7cdab22d38969d8b853b91c5bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e613daf8837305afeed85315f449d882c8829fa7c167762f6541d4d253a1896fa051521cc61f7b367a53735b00537bf0845705a0b4e686f8598b937fee099e2
|
7
|
+
data.tar.gz: 3dff24b058d44d8e95a64cdcb29970023404f121c3285aa1da9c221fd5d87a4e0348d8149dfda2fbb787e82dd1d4bbc5624136741b67908f668fa661c2200518
|
@@ -146,14 +146,16 @@ class Kumogata::PostProcessing
|
|
146
146
|
stderr_orig = STDERR.dup
|
147
147
|
STDERR.reopen('/dev/null', 'w')
|
148
148
|
|
149
|
-
|
150
|
-
|
151
|
-
Net::SSH.start(*args) {|ssh|
|
149
|
+
retryable(:tries => connect_tries, :sleep => retry_interval) do
|
150
|
+
begin
|
151
|
+
Net::SSH.start(*args) {|ssh| ssh.exec!('echo') }
|
152
|
+
rescue Net::SSH::HostKeyMismatch => e
|
153
|
+
e.remember_host!
|
154
|
+
retry
|
152
155
|
end
|
153
|
-
rescue Net::SSH::HostKeyMismatch => e
|
154
|
-
e.remember_host!
|
155
|
-
retry
|
156
156
|
end
|
157
|
+
|
158
|
+
Net::SSH.start(*args) {|ssh| ssh_exec!(ssh, command, ssh_exec_opts) }
|
157
159
|
ensure
|
158
160
|
STDERR.reopen(stderr_orig)
|
159
161
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# TODO:
|
data/lib/kumogata/utils.rb
CHANGED
data/lib/kumogata/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kumogata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -245,6 +245,7 @@ files:
|
|
245
245
|
- lib/kumogata/ext/string_ext.rb
|
246
246
|
- lib/kumogata/logger.rb
|
247
247
|
- lib/kumogata/post_processing.rb
|
248
|
+
- lib/kumogata/pre_processing.rb
|
248
249
|
- lib/kumogata/string_stream.rb
|
249
250
|
- lib/kumogata/utils.rb
|
250
251
|
- lib/kumogata/version.rb
|
@@ -307,4 +308,3 @@ test_files:
|
|
307
308
|
- spec/kumogata_validate_spec.rb
|
308
309
|
- spec/spec_helper.rb
|
309
310
|
- spec/string_stream_spec.rb
|
310
|
-
has_rdoc:
|