panoptes-client 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/panoptes/client/version.rb +1 -1
- data/lib/panoptes/endpoints/base_endpoint.rb +2 -2
- 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: 8b42f62d37eb1a50015790632a89f95a5a9c8c77
|
4
|
+
data.tar.gz: 8dc5e61b91806a4682245cbbdc34d31341af84c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fad2ac7cf6b18b902a25b0709f074098af409c8c847cd5ca982b2db6011c50480d60d50ce09de182432836cfe270f3ac57d1410deffe6d034e2264c2baeb96a
|
7
|
+
data.tar.gz: 6f22b537da4417bf7eb7e6b70df39454f84e9a9a52bfa10fba36d8248714a7fd84399c45be722d1ace5d462b5ab7eb41688269705556471129736088d95f253f
|
data/CHANGELOG.md
CHANGED
@@ -64,9 +64,9 @@ module Panoptes
|
|
64
64
|
def handle_response(response)
|
65
65
|
case response.status
|
66
66
|
when 404
|
67
|
-
raise ResourceNotFound, status: response.status, body: response.body
|
67
|
+
raise Panoptes::Client::ResourceNotFound, status: response.status, body: response.body
|
68
68
|
when 400..600
|
69
|
-
raise ServerError.new, response.body
|
69
|
+
raise Panoptes::Client::ServerError.new, response.body
|
70
70
|
else
|
71
71
|
response.body
|
72
72
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panoptes-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|