rbbt-rest 1.8.83 → 1.8.84

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 394c126010be13148e55fedfa82f9cd39098c21e
4
- data.tar.gz: 8d4273e932df6c15a8c375b5124635d7fc63550f
3
+ metadata.gz: a69484b867454b595abcbe3ab41da1520f867017
4
+ data.tar.gz: 24516475d248f6bb89a1a3b4b43fc94c9ba110a3
5
5
  SHA512:
6
- metadata.gz: a9c49392b5f14dd6f0073ed2e93daaee7f96f716c87e530e9dbf754b1e7386084493ed35f98e0e4d5a223e620603c58e638cf7b69ef4884af6efe995a10cf165
7
- data.tar.gz: 7e92579ee7d2c80a3b645b011f8f67bd16911cbfa7cd9feb951e7a68d94fc5deda54fcf35d339244994a8813a418f53e7e9bb7bcc967806e7be966ba07af967a
6
+ metadata.gz: edff9bd4eab47bbf8d585998f444d976c91c99448afe2a528eafa7632b9383d58bf240b32a3e8ce229023f19b648f5be84483d3b46750df53928cb3c0f85aadb
7
+ data.tar.gz: 61b28ab2819b9eea308dca4bf17c76ee38263273a3124eced261ca0e15a5b0afd919461a0dcff6315450adfae5f08f4030e3763140bdbabd040eb11c2bbb729c
@@ -13,11 +13,14 @@
13
13
  %a.ui.blue.button.reload(href=clean_url) Reload
14
14
 
15
15
  - info_url = request.env["REQUEST_URI"].sub(/\?.*/,'') + '/info'
16
- %a.ui.blue.button.reload(href=info_url) Info
17
- - if job.files.any?
16
+ - if request.env["REQUEST_URI"].include? job.name
17
+ %a.ui.blue.button.reload(href=info_url) Info
18
+
19
+ - if job.files.any? and request.env["REQUEST_URI"].include? job.name
18
20
  - files_url = request.env["REQUEST_URI"].sub(/\?.*/,'') + '/files'
19
21
  %a.ui.blue.button.reload(href=files_url) Files
20
22
 
23
+
21
24
  - backtrace = job.info[:backtrace]
22
25
  - if backtrace and backtrace.any?
23
26
 
@@ -11,7 +11,7 @@
11
11
  - dep_status ||= dep.status
12
12
  - if dep.file(:progress).exists?
13
13
  - pgr = dep.file(:progress).yaml
14
- - if pgr[:last_percent]
14
+ - if pgr and pgr[:last_percent]
15
15
  - start = pgr[:start]
16
16
  - last_time = pgr[:last_time]
17
17
 
@@ -61,9 +61,10 @@
61
61
  %a.ui.blue.button.reload(href=clean_url) Reload
62
62
 
63
63
  - info_url = request.env["REQUEST_URI"].sub(/\?.*/,'') + '/info'
64
- %a.ui.blue.button.reload(href=info_url) Info
64
+ - if request.env["REQUEST_URI"].include? job.name
65
+ %a.ui.blue.button.reload(href=info_url) Info
65
66
 
66
- - if job.files.any?
67
+ - if job.files.any? and request.env["REQUEST_URI"].include? job.name
67
68
  - files_url = request.env["REQUEST_URI"].sub(/\?.*/,'') + '/files'
68
69
  %a.ui.blue.button.reload(href=files_url) Files
69
70
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.83
4
+ version: 1.8.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-01 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake