dao-gateway-active_resource 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b1fa60d41dc245f6fd94bc827a7bb2510f8af7b
|
4
|
+
data.tar.gz: 94bc10d2821d2103d48e1df4655e0ed1b1972208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91fa79dc3a10f6ee3916efd63715faf059d0e93b372f3b569d478f96ce1c366e9e3d6ee4400b97d5b95dd6274140a66ab482f3ebd93017b1eb8ac1cdc217d46a
|
7
|
+
data.tar.gz: bff8b8831429eabbb2ac01e96e868413ad4ed0b08ebb9423dcebee1c1b9f2ba76d8753e32c5503317a7c27dbe810191971f6396b83ce70de0436b6ed7a4e2044
|
@@ -12,7 +12,7 @@ module Dao
|
|
12
12
|
raise Dao::Gateway::InvalidRecord.new(record.errors.to_hash)
|
13
13
|
rescue ::ActiveResource::ResourceNotFound => e
|
14
14
|
raise Dao::Gateway::RecordNotFound, e.message
|
15
|
-
rescue ::ActiveResource::ConnectionError => e
|
15
|
+
rescue ::ActiveResource::ConnectionError, Errno::ECONNREFUSED => e
|
16
16
|
raise Dao::Gateway::BadConnection, e.to_s
|
17
17
|
end
|
18
18
|
|
@@ -31,7 +31,7 @@ module Dao
|
|
31
31
|
raise Dao::Gateway::InvalidRecord.new(errors)
|
32
32
|
rescue ::ActiveResource::ForbiddenAccess => e
|
33
33
|
raise Dao::Gateway::ForbiddenRecord, e.message
|
34
|
-
rescue ::ActiveResource::ConnectionError => e
|
34
|
+
rescue ::ActiveResource::ConnectionError, Errno::ECONNREFUSED => e
|
35
35
|
raise Dao::Gateway::BadConnection, e.to_s
|
36
36
|
end
|
37
37
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dao-gateway-active_resource
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- llxff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dao-gateway
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.6.
|
183
|
+
rubygems_version: 2.6.12
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Gateway for Active Resource
|