rbbt-util 5.21.12 → 5.21.13
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/misc/pipes.rb +1 -1
- data/lib/rbbt/workflow.rb +8 -0
- data/share/rbbt_commands/workflow/task +1 -3
- 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: b06cf8516814c6318a02559d8e4fdc2070157e1e
|
|
4
|
+
data.tar.gz: 9c6ad7d0a952e326608b4d0ff64fb5d1b45a5c20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64cfa6be07276c6101cd18a159735dc6d592d13599ce426ddecf88c57f7c72972a51509b90d71e6b407eb3e625eda4c1abe3eb7a355a3678dd400a51475f4143
|
|
7
|
+
data.tar.gz: 8f190990816453f3757876c37a341b1356ec61de8e492cce72f62cfbfa31a5589cb511c8d5b5fbb098c2e1068f777937aacd7f75419d2d1391d2eadbe0428b7f
|
data/lib/rbbt/util/misc/pipes.rb
CHANGED
|
@@ -378,7 +378,7 @@ module Misc
|
|
|
378
378
|
raise $! unless File.exist? path
|
|
379
379
|
end
|
|
380
380
|
|
|
381
|
-
content.join if content.respond_to? :join and not content.joined?
|
|
381
|
+
content.join if content.respond_to? :join and not (content.respond_to?(:joined?) and content.joined?)
|
|
382
382
|
|
|
383
383
|
if Lockfile === lock_options[:lock] and lock_options[:lock].locked?
|
|
384
384
|
lock_options[:lock].unlock
|
data/lib/rbbt/workflow.rb
CHANGED
|
@@ -432,4 +432,12 @@ module Workflow
|
|
|
432
432
|
end
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
def self.load_remote_tasks(filename)
|
|
436
|
+
yaml_text = Open.read(filename)
|
|
437
|
+
remote_workflow_tasks = YAML.load(yaml_text)
|
|
438
|
+
Workflow.process_remote_tasks(remote_workflow_tasks)
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
load_remote_tasks(Rbbt.root.etc.remote_tasks.find) if Rbbt.root.etc.remote_tasks.exists?
|
|
442
|
+
|
|
435
443
|
end
|
|
@@ -240,9 +240,7 @@ if options[:requires]
|
|
|
240
240
|
end
|
|
241
241
|
|
|
242
242
|
if options[:remote_workflow_tasks]
|
|
243
|
-
|
|
244
|
-
remote_workflow_tasks = YAML.load(yaml_text)
|
|
245
|
-
Workflow.process_remote_tasks(remote_workflow_tasks)
|
|
243
|
+
Workflow.load_remote_tasks(options[:remote_workflow_tasks])
|
|
246
244
|
end
|
|
247
245
|
|
|
248
246
|
# Set task
|