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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70de3a851bb361a775fa933d6a72992bddf25bcf6936a8b46b88afd764138337
4
- data.tar.gz: dd39b1ab852febb1102fdc71b7614c5f9e610f987bb9c39e922f359f47cadb4f
3
+ metadata.gz: b76870466fef5096fbc9e2a741acc69520b02a37130ebd811d929e265663f799
4
+ data.tar.gz: 9048d091f9224f42b9ef15c78d53e79191496490f1357bfb8527aacdcaac53c5
5
5
  SHA512:
6
- metadata.gz: b826421f184bdd68b4ded24cb87c51594880ef6f189ba1d86dbe089f1a6488c298939190c124183bd8a2a9dca890dba2dd5324935057b896b131c9bfa387bb2e
7
- data.tar.gz: eb7a5c2c67998fd0ea16c75f31baaa4c5976073dd01f7b78b02d43e7bf203c013280a53473dda9fc54a7b9182e31eae0f0134529f457bb702e49e7d7f763749b
6
+ metadata.gz: 59741c8b3c9faf57bfa2831702320651472b148a16ea9db5dc13fe44ecc3e1f09000098e11d8da6b43b0ae7ebb2e28e9eb794a08ad0e02673e95ce1690222444
7
+ data.tar.gz: 35670278102a53384f7f6bd56787c951bd4ac82d93382df72f13dd992d61e21658525be77695ccefdd0d9f992b69b25e5962db6fb4f999fe2ab405979eb4e080
@@ -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? task.to_sym
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
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  - files = job.files
3
3
  - task = job.task_name
4
- - workflow = job.workflow
4
+ - workflow = job.workflow if job.workflow
5
5
  - jobname = job.name
6
6
  - files.reject!{|f| File.basename(File.dirname(f)) == ".html"}
7
7
 
@@ -1,5 +1,8 @@
1
1
  .ui.buttons.job_control
2
- %a.ui.small.basic.red.button(href="/#{[workflow.to_s, task, jobname] * "/"}?_update=clean") clean job
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.146
4
+ version: 1.8.147
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez