raykit 0.0.386 → 0.0.387

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/raykit/command.rb +7 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1da58419ce9241c1c998edff6b3ce3b442e81d178abfe1ea5c0ad3d9ba2f4025
4
- data.tar.gz: 561c8366933b6a1ddef0b6cd9d5b81f68faf6fbaa67a9ee0ebe81e0aa84bb49d
3
+ metadata.gz: 9a80020a05d9f3956475e1fb248254ec2555f055311c476aec08fd1b7fc64d60
4
+ data.tar.gz: c584d553c7d2a14572671a00856b863e5209a20eec2b16f27230437b3ca0785e
5
5
  SHA512:
6
- metadata.gz: e2eea61a60852c93666a6bdacd475f62a478c2257cda7340e7bb239607737f8e01acbe4257ad680beb62a2c289a206e00fbbf95ec305d29a02af47424959d2a5
7
- data.tar.gz: 7ff7429d6e742410ca3d5d4deb7880da26dbad640a6aa4e13df5c23340bd088c44dc6367f9e641d55fab659e5cf3e6e8e3c6ba769f889accde714b32294606a9
6
+ metadata.gz: b667b122ba6f9e42d9ec5b269ca4cb96585fc7ff161cabcf821284a58a5b72b0ccc844e6f70ca9a357e4b380b9038f6f594a5ec73bd817713d7bcc0d421f2be1
7
+ data.tar.gz: 57d45c0c24b2687429b97fd2ec9ca1ec2505bc853868709fe57adffeb33187ff0a9d7fbdb94047be7379ab4f022d30a39ffd74bff38c12c780d8f390d6ff9208
@@ -77,6 +77,12 @@ module Raykit
77
77
  rescue IO::WaitReadable
78
78
  rescue EOFError
79
79
  @exitstatus = thread.value.exitstatus
80
+ until stdout.eof?
81
+ @output << stdout.read_nonblock(BUFFER_SIZE)
82
+ end
83
+ until stderr.eof?
84
+ @error << stderr.read_nonblock(BUFFER_SIZE)
85
+ end
80
86
  break
81
87
  end
82
88
  end
@@ -205,7 +211,7 @@ module Raykit
205
211
  end
206
212
 
207
213
  def details
208
- puts "exit_code: " + @exitstatus.to_s
214
+ puts " exit_code: " + @exitstatus.to_s
209
215
  if @output.length > 0
210
216
  @output.lines.each do |line|
211
217
  puts " " + line
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.386
4
+ version: 0.0.387
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow