rbbt-util 5.9.7 → 5.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rbbt +2 -2
- data/share/rbbt_commands/workflow/task +3 -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: af7c97dc6faaad2d36d15d08bc43334030634194
|
4
|
+
data.tar.gz: 619c854df951805baf6f4320ba2f9586debf4ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76c32546b99a5d94e892f0748086c7adbfb9e5c7899da26e5c2a254981629b72f6c0cfc8647e3900505419550f95832e208174cc13b0b9c7f3dc9b200feca1ba
|
7
|
+
data.tar.gz: 3a67acfe721834e9e9591163414ad364dabe183152bcfd7acf112bbe1e28ae368f5b85fdf2f480cd0f96e81adf3ae6fcdd03ca5a37087aa2c5592f80cf6bc173
|
data/bin/rbbt
CHANGED
@@ -94,10 +94,10 @@ def rbbt_usage(prev = nil)
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def print_error(error, backtrace = nil)
|
97
|
-
puts Log.color :
|
97
|
+
puts Log.color :magenta, "## ERROR"
|
98
98
|
puts
|
99
99
|
if backtrace
|
100
|
-
puts Log.color :red, "Backtrace:"
|
100
|
+
puts Log.color :red, "Backtrace: "
|
101
101
|
puts
|
102
102
|
puts backtrace.reverse * "\n"
|
103
103
|
puts
|
@@ -62,7 +62,7 @@ def fix_options(workflow, task, job_options)
|
|
62
62
|
job_options.each do |name, value|
|
63
63
|
value = case option_types[name].to_sym
|
64
64
|
when :boolean
|
65
|
-
TrueClass
|
65
|
+
TrueClass == value or %w(true TRUE T yes).include? value
|
66
66
|
when :float
|
67
67
|
value.to_f
|
68
68
|
when :integer
|
@@ -196,7 +196,7 @@ else
|
|
196
196
|
usage workflow
|
197
197
|
|
198
198
|
puts
|
199
|
-
puts Log.color :
|
199
|
+
puts Log.color :magenta, "## Error"
|
200
200
|
puts
|
201
201
|
puts $!.message
|
202
202
|
puts
|
@@ -224,6 +224,7 @@ workflow.workdir = Path.setup(File.expand_path(options.delete(:workdir))) if opt
|
|
224
224
|
|
225
225
|
#- get job
|
226
226
|
|
227
|
+
ddd job_options["watson"]
|
227
228
|
|
228
229
|
job = workflow.job(task.name, name, job_options)
|
229
230
|
|