execute 0.1.44 → 0.1.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cmd.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc0838f35f2443cb1b5c1c285ded3b64c185dcfe
|
4
|
+
data.tar.gz: e130f913709d54b9c4da31c5d4aa2458102712d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 414c5fba89839535ac653abd02d05fe0b8195d03add1f8a708227518dbb187cb89a91837c288df3fc7a8ff1136b31a95db699e3d4184c7893d81a720d91272bf
|
7
|
+
data.tar.gz: 13b4aa414c9a30aeac4c18f49ccbaea16025e897c742bbe8d8fc52d7a91f91fdcee23594a95fd8ec2365eb2779fd4baece46e6a70494f99594785e61389d2c1d
|
data/lib/cmd.rb
CHANGED
@@ -57,7 +57,7 @@ class CMD < Hash
|
|
57
57
|
puts "exit_code: #{self[:exit_code]}"
|
58
58
|
end
|
59
59
|
|
60
|
-
raise TimeoutError.new("#{self[:command]}
|
60
|
+
raise TimeoutError.new("Commnad '#{self[:command]}' timed out after #{self[:timeout]} seconds") if(key?(:timed_out) && self[:timeout_raise_error])
|
61
61
|
|
62
62
|
if((self[:exit_code] != 0) && !self[:ignore_exit_code])
|
63
63
|
exception_text = "Exit code: #{self[:exit_code]}"
|