vae 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vae_local.rb +6 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e02646e8025a9d5b2cdbfaf44b9eb15005edd301
|
4
|
+
data.tar.gz: 0440df0de1b0f921b1deded58ee971d3bc0d84c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e8ce8c8217ac2f8fb3097300f2b8d50528d11c9a653d705ba66f57fec8b4791a57d0841e2d195cf8792e4c298d46a6408f7ece54c5efb3943be0f51003109fa
|
7
|
+
data.tar.gz: eba7b253cfbac20df01153ffa67482f2f1b9daf6de40cda1ddf1cc4aaa280685e9f4aaa0c4473e84d6318d18d1c0fa139be74dc0d7e921fd1584b7a95a1b5746
|
data/lib/vae_local.rb
CHANGED
@@ -84,10 +84,14 @@ class VaeLocal
|
|
84
84
|
res = VaeLocal.fetch_from_vaeplatform(site, req)
|
85
85
|
status = JSON.parse(res.body)
|
86
86
|
if status['status'] == "completed"
|
87
|
-
|
87
|
+
if status['error'] and status['error'].size > 0
|
88
|
+
raise VaeError, "Got the following error from Vae Platform: #{status['error']}"
|
89
|
+
else
|
90
|
+
puts status['notice']
|
91
|
+
end
|
88
92
|
return
|
89
93
|
elsif status['status'] != "working"
|
90
|
-
raise VaeError, "Got the following error from Vae Platform: #{status['
|
94
|
+
raise VaeError, "Got the following error from Vae Platform: #{status['error']}"
|
91
95
|
end
|
92
96
|
end
|
93
97
|
end
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VER = "0.8.
|
1
|
+
VER = "0.8.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Action Verb, LLC
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-01-
|
12
|
+
date: 2018-01-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chunky_png
|