access 2.0.13 → 2.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/access/error.rb +1 -0
- data/lib/access/member.rb +1 -1
- data/lib/access/request.rb +3 -0
- data/lib/access/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: 9cbad816c0654510e7932e067697298bb9738233
|
4
|
+
data.tar.gz: 72e7977cc67db986b20e98baaa15b1daf6904dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fbd8dccf4d3cb15de60fbee42b86b1d518f6a4154055c14e75bd56b664973575dda27429d710f3182f52c1509704ac935d15fdf2e3906144372c9e759e8aa9f
|
7
|
+
data.tar.gz: ba32c2111aa34182bcbf285b5d009ab542ffaf94cb28b4441682f5a1a935fa8e369a8a4b38cd21cd6daedb0ddab2793323edecbe136ff4dc1e8753c4a1dbe5be
|
data/lib/access/error.rb
CHANGED
data/lib/access/member.rb
CHANGED
data/lib/access/request.rb
CHANGED
@@ -13,6 +13,7 @@ module Access
|
|
13
13
|
rescue Net::ReadTimeout, Net::OpenTimeout
|
14
14
|
# block.call({"message"=>"Request Timeout Error", "status"=>408})
|
15
15
|
raise Access::Error::Timeout
|
16
|
+
|
16
17
|
end
|
17
18
|
|
18
19
|
def post(path, api_type, options={}, &block)
|
@@ -26,6 +27,8 @@ module Access
|
|
26
27
|
rescue Net::ReadTimeout, Net::OpenTimeout
|
27
28
|
# block.call({"message"=>"Request Timeout Error", "status"=>408})
|
28
29
|
raise Access::Error::Timeout
|
30
|
+
rescue EOFError
|
31
|
+
raise Access::Error::NoData
|
29
32
|
end
|
30
33
|
|
31
34
|
def get_for_filter(path, api_type, filter, options={}, &block)
|
data/lib/access/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: access
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Eggett
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-10-
|
13
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|