layer-ruby 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/layer/client.rb +1 -1
- data/lib/layer/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: bdfce84c680a8d8cb3b853677f13e13493307e10
|
4
|
+
data.tar.gz: 30b977d766b20443b3cabf18ace92571b3c18e32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8fb25324626955baab552f6c6a6f92d9c00d97aa4edce59a7bf15bcaf81bee4d6128329aa70112d8b370a59181532590be06f29b78ec9d6021a9ba1976aa1e5
|
7
|
+
data.tar.gz: 6068557ad8a9f9653b96da24a8b93eb88c22ad2053c3a25e083367f8599c0d1e3313731a7aa9306c4275bd61dd183c391db57e2c8197883798d26ba102734011
|
data/lib/layer/client.rb
CHANGED
@@ -76,7 +76,7 @@ module Layer
|
|
76
76
|
response = RestClient::Request.execute(method: method, url: url, payload: payload, headers: headers)
|
77
77
|
response.empty? ? nil : JSON.parse(response)
|
78
78
|
rescue RestClient::Exception
|
79
|
-
raise Layer::Exceptions
|
79
|
+
raise Layer::Exceptions.build_exception($!)
|
80
80
|
end
|
81
81
|
|
82
82
|
end
|
data/lib/layer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: layer-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benedikt Deicke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|