goodguide-gibbon 0.7.1 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/goodguide/gibbon/version.rb +1 -1
- data/lib/goodguide/gibbon.rb +8 -2
- data/vendor/gibbon/lib/gibbon.browser.dev.js +3332 -4003
- data/vendor/gibbon/lib/gibbon.browser.js +3212 -3883
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28406c6cb9eeb1238f8b2c4067a6d94c543703c0
|
4
|
+
data.tar.gz: 5ed6b1199bc4311c807e5081cde53345f78c760d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8cf52d575d06c142adf1a457d88160754c8e10870289784df55cc7d8d032c19bebac6df9cbf95bccc0038e0acdeb33cb2924818062589792bc657d01c120b3
|
7
|
+
data.tar.gz: 46840e7791e9a052a6ee646bdb590fecf13d2aa0fcddadc5baf10a1b5f467351d3bd9d7ac4eaa6557d83d741ec574db31067cec9d876cfd4c84315c958bb57ed
|
data/lib/goodguide/gibbon.rb
CHANGED
@@ -240,8 +240,14 @@ module GoodGuide
|
|
240
240
|
def call(runtime_client, entity_id)
|
241
241
|
values, error = @context.run_compiled(@compiled, entity_id, runtime_client.to_js)
|
242
242
|
|
243
|
-
|
244
|
-
|
243
|
+
case error
|
244
|
+
when String
|
245
|
+
raise GoodGuide::Gibbon::RuntimeError.new(error)
|
246
|
+
when nil
|
247
|
+
values
|
248
|
+
else
|
249
|
+
raise error
|
250
|
+
end
|
245
251
|
end
|
246
252
|
end
|
247
253
|
|