raykit 0.0.395 → 0.0.396

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 +17 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40a368dab37c64645d856837eaa1fda59225ee70ab63f8e323c9bbf63ea37b78
4
- data.tar.gz: a4c1a2ed227e341b1a01984f3fa8e67369803017c7e59d60e84f9055c35428c0
3
+ metadata.gz: 48a71dd6e3d03cdcb2c31f313ab389582adbf53a5f21eaa5fa48d855fca53fb7
4
+ data.tar.gz: 7c21f2018f8bff499ae5e04f9035557346ffc434708cd3047efc4ff3775cd712
5
5
  SHA512:
6
- metadata.gz: 2264639f4b51dc511bcae5cfcd515d8a269557b991444731f5071d541d5449ee5bac81706e5474335e6c97dcb55de24f358b01ad5144b6c831567a83fcca101c
7
- data.tar.gz: 32294a2b00a3f9688ef74b9d5a9c66bfd5af6adab0bba1bb5d717bab0845b38f47b8824bdecc2345a1ad32578ea369fd0bf02bc40e2325dd7f4225ff5669bbb9
6
+ metadata.gz: ab1bd5534253f8178c9cee15c130b39340b15160f044f01eef30e6d0415b1a83b80f255451cbc6f2195bd78319971dd8038c769634de098c526ef112b5ae074d
7
+ data.tar.gz: a89ea7c2485a7bf28766d99e15c380dc9c88053d7e84e5dc50725389eebb434cb578dd3baae691e319e9642325eca788eae868dde2219bb82a5fa0cce9566d5b
@@ -73,9 +73,10 @@ module Raykit
73
73
  Kernel.select([stdout, stderr], nil, nil, tick)
74
74
  begin
75
75
  @output << stdout.read_nonblock(BUFFER_SIZE)
76
- @error << stderr.read_nonblock(BUFFER_SIZE)
76
+ #@error << stderr.read_nonblock(BUFFER_SIZE)
77
77
  rescue IO::WaitReadable
78
78
  rescue EOFError
79
+ #puts "rescue block entered"
79
80
  @exitstatus = thread.value.exitstatus
80
81
  until stdout.eof?
81
82
  @output << stdout.read_nonblock(BUFFER_SIZE)
@@ -85,6 +86,21 @@ module Raykit
85
86
  end
86
87
  break
87
88
  end
89
+
90
+ #begin
91
+ # @output << stdout.read_nonblock(BUFFER_SIZE)
92
+ # @error << stderr.read_nonblock(BUFFER_SIZE)
93
+ #rescue IO::WaitReadable
94
+ #rescue EOFError
95
+ # @exitstatus = thread.value.exitstatus
96
+ # until stdout.eof?
97
+ # @output << stdout.read_nonblock(BUFFER_SIZE)
98
+ # end
99
+ # until stderr.eof?
100
+ # @error << stderr.read_nonblock(BUFFER_SIZE)
101
+ # end
102
+ # break
103
+ #end
88
104
  end
89
105
  sleep 1
90
106
  if thread.alive?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.395
4
+ version: 0.0.396
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.2.22
147
+ rubygems_version: 3.3.7
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: ruby gem to support rake ci/cd tasks