execute 0.1.50 → 0.1.51

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: 6398996183fd5bd731334f44c604accf4ab96d85
4
- data.tar.gz: dd2145c6f035180466b44d1dd266d5269d7a8243
3
+ metadata.gz: 33da98100d6d789e7ceb01995b8bb47629a206d4
4
+ data.tar.gz: 4e003842eaf06a215299b26623fb11212ad51a26
5
5
  SHA512:
6
- metadata.gz: e15e812d1941c3e9804677bba004be6ea75852573b0c475e12085be1439c33ed0fb8b4e23b26013cf9e1ca7f209920e83e1826a7dcac27baab8362c468d751a2
7
- data.tar.gz: c0aeeaace436dd5a51ade2e2ed2175f74d9d322d684e398d87aa6cf2dd3a92727d86bdbfdbf7cc4535ab92b990f975b52123cc5cf07e82d68f167f227698c402
6
+ metadata.gz: 829d1c964b5fd8fccbf62b5a9de4a7f8731f16b2691270ea5a862ea81e33f1cf1f6774bfb13d0722303f69d410342aeda686dd4d050f8628cf0559c0a3795524
7
+ data.tar.gz: 6966284e573565ffc0a5cf4085fc065c22a9f34ed0b07918dbfa773c888361bfa3001d1ca1386ca5a38f435ee41bed3333cfcf13791741bed0a1160b8ff56822
data/lib/cmd.rb CHANGED
@@ -94,7 +94,7 @@ class CMD < Hash
94
94
  {:output => stdout,:error => stderr}.each do |key, stream|
95
95
  Thread.new do
96
96
  while wait_thr.alive? && !key?(:timed_out) do
97
- if(!stream.closed? && !(char = stream.getc).nil?)
97
+ if(!(char = stream.getc).nil?)
98
98
  case key
99
99
  when :output
100
100
  output << char
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.50
4
+ version: 0.1.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall