blurb 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/blurb.gemspec +1 -1
- data/lib/blurb/request.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 189f95ae42271c0eb40c991c4f767cb4208b46ce7c96afd95264e1e42aca6fe8
|
4
|
+
data.tar.gz: 61364e5de152694f60f68ada4a368c46122155c5f3956d9bf682193b6c99ebf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd65504f6683e3fb7080300f78f947072d6124d7a9ae4f2e560d587aaa9d28751704add4e7da5424fff3c56c5e2d4311b69a7d152ae3296a49645bec59617a3f
|
7
|
+
data.tar.gz: a7eadcaa4c2843d7dba312a6846bc4285b1d5b44a766c321c4825a23e322b1ab72666c666193bd6cd6a5795fdbca209798c0e483bc643dc056c935fb77fc3d1a
|
data/blurb.gemspec
CHANGED
data/lib/blurb/request.rb
CHANGED
@@ -50,7 +50,11 @@ class Blurb
|
|
50
50
|
raise err
|
51
51
|
end
|
52
52
|
rescue RestClient::ExceptionWithResponse => err
|
53
|
-
|
53
|
+
if err.response.present?
|
54
|
+
raise FailedRequest.new(JSON.parse(err.response.body))
|
55
|
+
else
|
56
|
+
raise err
|
57
|
+
end
|
54
58
|
end
|
55
59
|
resp = convert_response(resp)
|
56
60
|
return resp
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blurb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dlbunker
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|