rbbt-util 4.0.1 → 4.0.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.
- data/bin/run_workflow.rb +5 -1
- metadata +3 -3
data/bin/run_workflow.rb
CHANGED
|
@@ -80,7 +80,7 @@ def fix_options(workflow, task, job_options)
|
|
|
80
80
|
job_options_cleaned
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
options = SOPT.get "-t--task*:-l--log*:-h--help:-n--name*:-cl--clean:-rcl-recursive_clean:-pn--printname:-srv--server"
|
|
83
|
+
options = SOPT.get "-t--task*:-l--log*:-h--help:-n--name*:-cl--clean:-rcl-recursive_clean:-pn--printname:-srv--server:-p--port*"
|
|
84
84
|
|
|
85
85
|
workflow = ARGV.first
|
|
86
86
|
|
|
@@ -95,6 +95,10 @@ if options[:server]
|
|
|
95
95
|
WorkflowREST.add_workflows Workflow.workflows.last
|
|
96
96
|
|
|
97
97
|
WorkflowREST.setup
|
|
98
|
+
|
|
99
|
+
Sinatra::Application.port = options[:port] || 4567
|
|
100
|
+
Sinatra::Application.run = true
|
|
101
|
+
|
|
98
102
|
else
|
|
99
103
|
|
|
100
104
|
# Set log, fork, clean, recursive_clean and help
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbbt-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 59
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 4
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 4.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 4.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Miguel Vazquez
|