lib/rbbt/rest/client.rb in rbbt-rest-1.2.25 vs lib/rbbt/rest/client.rb in rbbt-rest-1.2.26
- old
+ new
@@ -274,9 +274,18 @@
@exec_exports = task_exports["exec"].collect{|task| task.to_sym }
end
def job(task, name, inputs)
task_info = task_info(task)
+ fixed_inputs = {}
+ inputs.each do |k,v|
+ fixed_inputs[k] = case v
+ when TSV
+ v.to_s
+ else
+ v
+ end
+ end
RemoteStep.new(url, task, name, inputs, task_info[:result_type], task_info[:result_description], @exec_exports.include?(task))
end
def load_id(id)
task, name = id.split("/")