rbbt-util 5.20.1 → 5.20.2
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/workflow.rb +2 -2
- 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: b1edc4e03bed4c0f6255d0704137afec41d55018
|
|
4
|
+
data.tar.gz: b1460408f7d30542199e6420b3c498905b3abcf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4ec7f128cce7e7bd0e6e8791e1cea6b4c6b9903d6986baf9b1b6192ba588d0f5eeb271c276a23e0d07f9adaf53fbeafb1403f5e5c1ced19532957a95f59758d
|
|
7
|
+
data.tar.gz: 6406302f55c94fc5bbdd6809dd27a4d7b8cda95831623dde05f8bd0bce43cfe26b667a64e70e66af61b97ec4e10c9e110f2a7865ba601ad8f8dd0a293b0dbc7f
|
data/lib/rbbt/workflow.rb
CHANGED
|
@@ -109,7 +109,7 @@ module Workflow
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
def self.require_workflow(wf_name)
|
|
112
|
+
def self.require_workflow(wf_name, force_local=false)
|
|
113
113
|
# Already loaded
|
|
114
114
|
begin
|
|
115
115
|
workflow = Misc.string2const wf_name
|
|
@@ -119,7 +119,7 @@ module Workflow
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# Load remotely
|
|
122
|
-
if Rbbt.etc.remote_workflows.exists?
|
|
122
|
+
if not force_local and Rbbt.etc.remote_workflows.exists?
|
|
123
123
|
remote_workflows = Rbbt.etc.remote_workflows.yaml
|
|
124
124
|
if Hash === remote_workflows and remote_workflows.include?(wf_name)
|
|
125
125
|
url = remote_workflows[wf_name]
|