tangolicious 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tangolicious/exceptions.rb +1 -0
- data/lib/tangolicious/request.rb +1 -0
- data/lib/tangolicious/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: cf9dfaba0c73ef04290137c8debd2d526a2f234f
|
4
|
+
data.tar.gz: e7c192516a6b7d732b7fe913f69dbdac0f0526cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 595c4b44af25f6487cf7fd01f135a1c81b08d0aec81dd44318cf2f8ad488ec323cccd89dcca4a3c7f95285e3578405065a75897c633e41cc48a25427e7b2ffd8
|
7
|
+
data.tar.gz: fd33d783ea327b3905b4ba4833ce4c12f4baf854f8a3c78d921c205d4999682576aad01c45166f11996387766afc8f811f72b32f7bca4ae6b4358746deea99ec
|
data/lib/tangolicious/request.rb
CHANGED
@@ -38,6 +38,7 @@ module Tangolicious
|
|
38
38
|
raise Exceptions::Forbidden.new(response) if response.fetch('httpCode', nil) == 403
|
39
39
|
raise Exceptions::NotFound.new(response) if response.fetch('httpCode', nil) == 404
|
40
40
|
raise Exceptions::UnprocessableEntity.new(response) if response.fetch('httpCode', nil) == 422
|
41
|
+
raise Exceptions::InternalServiceError.new(response) if response.fetch('httpCode', nil) == 500
|
41
42
|
raise Exceptions::ServiceUnavailable.new(response) if response.fetch('httpCode', nil) == 503
|
42
43
|
response
|
43
44
|
end
|
data/lib/tangolicious/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tangolicious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|