rbbt-rest 1.8.146 → 1.8.147
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/workflow.rb +1 -1
- data/share/views/job_files.haml +1 -1
- data/share/views/job_result/job_control.haml +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b76870466fef5096fbc9e2a741acc69520b02a37130ebd811d929e265663f799
|
4
|
+
data.tar.gz: 9048d091f9224f42b9ef15c78d53e79191496490f1357bfb8527aacdcaac53c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59741c8b3c9faf57bfa2831702320651472b148a16ea9db5dc13fe44ecc3e1f09000098e11d8da6b43b0ae7ebb2e28e9eb794a08ad0e02673e95ce1690222444
|
7
|
+
data.tar.gz: 35670278102a53384f7f6bd56787c951bd4ac82d93382df72f13dd992d61e21658525be77695ccefdd0d9f992b69b25e5962db6fb4f999fe2ab405979eb4e080
|
data/lib/rbbt/rest/workflow.rb
CHANGED
@@ -292,7 +292,7 @@ module Sinatra
|
|
292
292
|
job = consume_parameter(:job)
|
293
293
|
filename = params[:splat].first
|
294
294
|
|
295
|
-
raise Workflow::TaskNotFoundException.new workflow, task unless workflow.tasks.include?
|
295
|
+
raise Workflow::TaskNotFoundException.new workflow, task unless workflow.tasks.include?(task.to_sym)
|
296
296
|
|
297
297
|
execution_type = execution_type(workflow, task)
|
298
298
|
|
data/share/views/job_files.haml
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
.ui.buttons.job_control
|
2
|
-
|
2
|
+
- if Open.exists?(job.info_file)
|
3
|
+
%a.ui.small.basic.red.button(href="/#{[workflow.to_s, task, jobname] * "/"}?_update=clean") clean job
|
4
|
+
- else
|
5
|
+
%a.ui.small.basic.red.button.disabled(href="/#{[workflow.to_s, task, jobname] * "/"}?_update=clean") clean job
|
3
6
|
%a.ui.small.basic.blue.button(href="/#{[workflow.to_s, task, jobname, "info"] * "/"}") job info
|
4
7
|
- if job.files.any?
|
5
8
|
%a.ui.small.basic.blue.button(href="/#{[workflow.to_s, task, jobname, "files"] * "/"}") job files
|