rbbt-util 5.21.6 → 5.21.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/workflow/step/run.rb +9 -3
- data/share/rbbt_commands/workflow/server +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5b2f2a8df5296854ccc19614f6bdbac8ecf21e0
|
4
|
+
data.tar.gz: 82a36de680c7c5fd7a400ac23fb6bfe32f038b91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10aab8f0aa9408a127e360a62d21cf9de4044fa49b5cd94d02df36c52c636585e7b8ac058970d2d0e4b5ee01448d8763b617699564c34b2d7c0bf4d16b98e2d4
|
7
|
+
data.tar.gz: f01033bcd9f5d8cf68620b95b8b0ae06450fd191e884041716f6dcfac7cc7a8da73619df8421b20bb22309378c7d0bc8354f0e424ba84153bf71c13886ffa916
|
@@ -240,7 +240,7 @@ class Step
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
243
|
-
def produce(force=
|
243
|
+
def produce(force=false, dofork=false)
|
244
244
|
return self if done? and not dirty?
|
245
245
|
|
246
246
|
if error? or aborted?
|
@@ -254,9 +254,15 @@ class Step
|
|
254
254
|
clean if dirty? or (not running? and not done?)
|
255
255
|
|
256
256
|
no_load = :stream
|
257
|
-
|
257
|
+
if dofork
|
258
|
+
fork(true) unless started?
|
258
259
|
|
259
|
-
|
260
|
+
join unless done?
|
261
|
+
else
|
262
|
+
run(false) unless started?
|
263
|
+
|
264
|
+
join unless done?
|
265
|
+
end
|
260
266
|
|
261
267
|
self
|
262
268
|
end
|
@@ -73,7 +73,7 @@ TmpFile.with_file do |app_dir|
|
|
73
73
|
Open.write(app_dir.etc.target_workflow_sync_exports.find, sync_exports * "\n") if sync_exports
|
74
74
|
Open.write(app_dir.etc.target_workflow_exec_exports.find, exec_exports * "\n") if exec_exports
|
75
75
|
|
76
|
-
Open.write(app_dir.etc.workflows.find, workflows.split(/,\s
|
76
|
+
Open.write(app_dir.etc.workflows.find, workflows.split(/,\s*/)*"\n") if workflows
|
77
77
|
|
78
78
|
require 'rack'
|
79
79
|
ENV["RBBT_FINDER"] = "true" if options.include?(:finder)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.21.
|
4
|
+
version: 5.21.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|