ztk 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ztk/ssh/exec.rb +6 -1
- data/lib/ztk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd68d97935db83e53b34db76a8c2fc66b383dbf7
|
4
|
+
data.tar.gz: 851497e4499a72195f60da2fae440d3b348f7250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a0aee03b36ce204098a9c5e1224ba1ac02404855335c12b8b56d058844e15aa1ade9af1c7671c43c8ffd74a137dc7b5cefc8fc28b473cc190c2ea1ee3a9895
|
7
|
+
data.tar.gz: 3bfd95f46161dfe5b3b2368932cb6fe0060ce166912a0e7a431ce3ac199ddc05ce55c2e7cc138c71ed44e3fb8d22556982ba551d5c82441054b9613a4b7940ac
|
data/lib/ztk/ssh/exec.rb
CHANGED
@@ -47,7 +47,12 @@ module ZTK
|
|
47
47
|
stderr_header = false
|
48
48
|
|
49
49
|
begin
|
50
|
-
ZTK::RescueRetry.try(
|
50
|
+
ZTK::RescueRetry.try(
|
51
|
+
:ui => config.ui,
|
52
|
+
:tries => ZTK::SSH::RESCUE_RETRY_ATTEMPTS,
|
53
|
+
:raise => [Timeout::Error, Resque::TermException],
|
54
|
+
:on_retry => method(:on_retry)
|
55
|
+
) do
|
51
56
|
Timeout.timeout(options.timeout) do
|
52
57
|
|
53
58
|
channel = ssh.open_channel do |chan|
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Patten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|