quovo 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/lib/quovo/errors.rb +1 -0
- data/lib/quovo/request.rb +1 -0
- data/lib/quovo/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: 9a67edb83e29d9354d94caced04c71a375ce7c13
|
4
|
+
data.tar.gz: 796cfdc0d81e517a7feccadf13269887d3de5d36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a20f18a6187dbd683faed7e15a4a330a29ccb556e84078b380ad15a44fd7d792c4f244a4e8db798aa99b7ac64b3482a48e712cddaa61be6cbff9393175db3ad5
|
7
|
+
data.tar.gz: 1648a3364c5a41844dce16646a5a1d03832f9a25903e31d3d9cc4307353ea478c1108626dfe0d5da7e40d171b9e5b17db705bf28896c8fd6198389ece671a181
|
data/Gemfile
CHANGED
@@ -4,7 +4,7 @@ gemspec
|
|
4
4
|
|
5
5
|
gem 'bundler'
|
6
6
|
gem 'rake'
|
7
|
-
gem 'minitest',
|
8
|
-
gem 'coveralls',
|
9
|
-
gem 'rubocop',
|
10
|
-
gem 'pry',
|
7
|
+
gem 'minitest', require: false
|
8
|
+
gem 'coveralls', require: false
|
9
|
+
gem 'rubocop', '=0.57', require: false
|
10
|
+
gem 'pry', require: false
|
data/lib/quovo/errors.rb
CHANGED
data/lib/quovo/request.rb
CHANGED
@@ -65,6 +65,7 @@ module Quovo
|
|
65
65
|
body = response.body
|
66
66
|
raise Quovo::NotFoundError, body if status_code =~ /404/
|
67
67
|
raise Quovo::ForbiddenError, body if status_code =~ /403/
|
68
|
+
raise Quovo::RateLimitError, body if status_code =~ /429/
|
68
69
|
raise Quovo::HttpError, body if status_code =~ /^[45]/
|
69
70
|
payload = format == :json ? JSON.parse(body) : body
|
70
71
|
[status_code, payload]
|
data/lib/quovo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quovo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Gorkunov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Quovo RESTful API client, configurable, thread-safe and well-tested
|
15
15
|
email:
|