ndo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ndo/multi_command.rb +5 -1
- data/lib/ndo/results.rb +6 -1
- metadata +2 -2
data/lib/ndo/multi_command.rb
CHANGED
data/lib/ndo/results.rb
CHANGED
@@ -10,7 +10,12 @@ class Ndo::Results
|
|
10
10
|
|
11
11
|
include Enumerable
|
12
12
|
def each
|
13
|
-
@map.each { |host, future|
|
13
|
+
@map.each { |host, future|
|
14
|
+
begin
|
15
|
+
yield host, future.value
|
16
|
+
rescue Procrastinate::ChildDeath
|
17
|
+
|
18
|
+
end }
|
14
19
|
end
|
15
20
|
|
16
21
|
def store(host, future)
|