rbbt-util 5.23.10 → 5.23.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rbbt/util/cmd.rb +1 -1
- data/lib/rbbt/util/misc/concurrent_stream.rb +3 -3
- data/lib/rbbt/util/misc/pipes.rb +4 -4
- data/lib/rbbt/workflow/step/run.rb +4 -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: aa7c357c654a8b1863b86fa0bf3d6f8b8051ec35
|
4
|
+
data.tar.gz: 14da2501042aefc371c57f23eaf73932ae33b536
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af5b5fc1faef2d2882f0bf853b1da770a3d9dfd7dc02104d2099431f04c02b0367823ffb7a6756a6b243fd39df639c67f4bf4b01677e5e73e0b93b5274b80cb3
|
7
|
+
data.tar.gz: f52c250423ebf350a3a39e326d143ecc0854b0be0e0b770ab4d376d1703f7639059bd2892b8c234b712faf72ec74612af929829b33ad26c3909e11dc34d7f119
|
data/lib/rbbt/util/cmd.rb
CHANGED
@@ -177,6 +177,8 @@ module ConcurrentStream
|
|
177
177
|
AbortedStream.setup(self, exception)
|
178
178
|
@aborted = true
|
179
179
|
begin
|
180
|
+
close unless closed?
|
181
|
+
|
180
182
|
@abort_callback.call exception if @abort_callback
|
181
183
|
|
182
184
|
abort_threads(exception)
|
@@ -186,8 +188,6 @@ module ConcurrentStream
|
|
186
188
|
@abort_callback = nil
|
187
189
|
|
188
190
|
@pair.abort exception if @pair
|
189
|
-
|
190
|
-
close unless closed?
|
191
191
|
ensure
|
192
192
|
if lockfile and lockfile.locked?
|
193
193
|
lockfile.unlock
|
@@ -228,7 +228,7 @@ module ConcurrentStream
|
|
228
228
|
|
229
229
|
self.abort
|
230
230
|
ensure
|
231
|
-
Kernel.raise
|
231
|
+
Kernel.raise exception
|
232
232
|
end
|
233
233
|
end
|
234
234
|
|
data/lib/rbbt/util/misc/pipes.rb
CHANGED
@@ -104,7 +104,7 @@ module Misc
|
|
104
104
|
rescue Exception
|
105
105
|
Log.medium "Exception in open_pipe: #{$!.message}"
|
106
106
|
Log.exception $!
|
107
|
-
sin.
|
107
|
+
sin.raise($!) if sin.respond_to? :raise
|
108
108
|
raise $!
|
109
109
|
end
|
110
110
|
end
|
@@ -464,10 +464,10 @@ module Misc
|
|
464
464
|
begin
|
465
465
|
Misc.consume_stream(sorted, false, sin)
|
466
466
|
rescue
|
467
|
+
Log.exception $!
|
467
468
|
begin
|
468
|
-
|
469
|
-
|
470
|
-
stream.abort
|
469
|
+
sorted.raise($!) if sorted.respond_to? :raise
|
470
|
+
stream.raise($!) if stream.respond_to? :raise
|
471
471
|
ensure
|
472
472
|
raise $!
|
473
473
|
end
|