ztk 2.3.0 → 2.3.1
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 +4 -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: b8e1ebec45b236ad05a903e06863a0d6579a60d0
|
4
|
+
data.tar.gz: 44b923bde167cd85317add07f1a2a42f9657563e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3985319ebe5dab0ade521e48fcd4a1d108f74f11d639aa6c9e2bd77d2ecb8b2599d14002108be5faf602f538887484ef999432eef20235642ad47b9b395623b2
|
7
|
+
data.tar.gz: ecedf4dd5f8777404e151a4753e350c1e6bdd029b86882a4ad498dcb0be478ae762a81858a7dff727107fa21597000229e48783c988fbdbc2f6558408d97c9c7
|
data/lib/ztk/ssh/exec.rb
CHANGED
@@ -47,10 +47,13 @@ module ZTK
|
|
47
47
|
stderr_header = false
|
48
48
|
|
49
49
|
begin
|
50
|
+
raise_on_exceptions = [Timeout::Error]
|
51
|
+
defined?(Resque) and raise_on_exceptions << Resque::TermException
|
52
|
+
|
50
53
|
ZTK::RescueRetry.try(
|
51
54
|
:ui => config.ui,
|
52
55
|
:tries => ZTK::SSH::RESCUE_RETRY_ATTEMPTS,
|
53
|
-
:raise =>
|
56
|
+
:raise => raise_on_exceptions,
|
54
57
|
:on_retry => method(:on_retry)
|
55
58
|
) do
|
56
59
|
Timeout.timeout(options.timeout) do
|
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.3.
|
4
|
+
version: 2.3.1
|
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-07-
|
11
|
+
date: 2014-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|