execute 0.1.44 → 0.1.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cmd.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1439547e5faf4c1d64cb069946ccede33985e4d
4
- data.tar.gz: ba154654bf09d7c91443d077de618c00966d5e60
3
+ metadata.gz: bc0838f35f2443cb1b5c1c285ded3b64c185dcfe
4
+ data.tar.gz: e130f913709d54b9c4da31c5d4aa2458102712d5
5
5
  SHA512:
6
- metadata.gz: c4e1567d5d2342a362a84d6c7e299b90d3dae8a41cfac33bc2576d3774df1360b8ad97a8d757a99153c5c84c2c414ea1af271c64f6b1be9a7c61d9a219e34daa
7
- data.tar.gz: 53eb5841d430fa20363f112adfa044d458512287f7928b0af1c02dd7da73b98fcba8b7fd6d4967db911cd68cbbce60728c33978016949b177d898f5d97e3aff6
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]} timeout: #{self[:timeout]}") if(key?(:timed_out) && self[:timeout_raise_error])
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]}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall