jrf 0.1.15 → 0.1.17
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/jrf/cli/runner.rb +1 -3
- data/lib/jrf/pipeline_parser.rb +1 -1
- data/lib/jrf/version.rb +1 -1
- data/test/cli_runner_test.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2468eef61c2691e368b10cd5077ba3559430766d3a6001dea88da10793800ff6
|
|
4
|
+
data.tar.gz: ccce0fb9a0ff3c6e77b669d6908a42147431a0ade44c8365765ad84ca91a111b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e11dd7b55c48f80164a3f8c7a1ca5fef51204b098382802144bd757da150b39c2f69d0b69f718ba70da08f0bd88cc19b2c86488040e2062b566bb093f3bca88
|
|
7
|
+
data.tar.gz: f43bdabcfa9728e5fbc7c4a4a8be1044fe4175a7650a9aee01b14d91e1fdee1ea3c58297c2bf6602e8bf32d16432cf34daf6eb8e9d9863d4e2882e2d662d0c3c
|
data/lib/jrf/cli/runner.rb
CHANGED
|
@@ -336,12 +336,10 @@ module Jrf
|
|
|
336
336
|
end
|
|
337
337
|
|
|
338
338
|
def wait_for_parallel_children(children)
|
|
339
|
-
failed = false
|
|
340
339
|
children.each do |pid|
|
|
341
340
|
_, status = Process.waitpid2(pid)
|
|
342
|
-
|
|
341
|
+
@input_errors = true unless status.success?
|
|
343
342
|
end
|
|
344
|
-
exit(1) if failed
|
|
345
343
|
end
|
|
346
344
|
|
|
347
345
|
def emit_parallel_frame(value)
|
data/lib/jrf/pipeline_parser.rb
CHANGED
data/lib/jrf/version.rb
CHANGED
data/test/cli_runner_test.rb
CHANGED
|
@@ -255,6 +255,10 @@ class CliRunnerTest < JrfTestCase
|
|
|
255
255
|
stdout, stderr, status = run_jrf('(-> { 1 >> 2 }).call >> _ + 1', input_split)
|
|
256
256
|
assert_success(status, stderr, "no split inside block")
|
|
257
257
|
assert_equal(%w[1], lines(stdout), "no split inside block output")
|
|
258
|
+
|
|
259
|
+
stdout, stderr, status = run_jrf('(-> { 6 }).call / 3', input_split)
|
|
260
|
+
assert_success(status, stderr, "division after block")
|
|
261
|
+
assert_equal(%w[2], lines(stdout), "division after block output")
|
|
258
262
|
end
|
|
259
263
|
|
|
260
264
|
def test_flat
|