rbbt-rest 1.8.82 → 1.8.83
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/common/render.rb +0 -1
- data/lib/rbbt/rest/workflow.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 394c126010be13148e55fedfa82f9cd39098c21e
|
4
|
+
data.tar.gz: 8d4273e932df6c15a8c375b5124635d7fc63550f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c49392b5f14dd6f0073ed2e93daaee7f96f716c87e530e9dbf754b1e7386084493ed35f98e0e4d5a223e620603c58e638cf7b69ef4884af6efe995a10cf165
|
7
|
+
data.tar.gz: 7e92579ee7d2c80a3b645b011f8f67bd16911cbfa7cd9feb951e7a68d94fc5deda54fcf35d339244994a8813a418f53e7e9bb7bcc967806e7be966ba07af967a
|
data/lib/rbbt/rest/workflow.rb
CHANGED
@@ -235,7 +235,11 @@ module Sinatra
|
|
235
235
|
v
|
236
236
|
end
|
237
237
|
end
|
238
|
-
|
238
|
+
if dirty
|
239
|
+
info_json[:status] = :error
|
240
|
+
info_json[:messages] ||= []
|
241
|
+
info_json[:messages] << "Job dirty, please reissue."
|
242
|
+
end
|
239
243
|
halt 200, info_json.to_json
|
240
244
|
else
|
241
245
|
raise "Unsupported format specified: #{ format }"
|
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.
|
4
|
+
version: 1.8.83
|
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-
|
11
|
+
date: 2017-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -1866,7 +1866,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1866
1866
|
version: '0'
|
1867
1867
|
requirements: []
|
1868
1868
|
rubyforge_project:
|
1869
|
-
rubygems_version: 2.6.
|
1869
|
+
rubygems_version: 2.6.13
|
1870
1870
|
signing_key:
|
1871
1871
|
specification_version: 4
|
1872
1872
|
summary: Rbbt Web and REST interfaces
|