dao-gateway-active_resource 1.4.0 → 1.4.1
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: 13674c078f6dcbd4851911abc4a8145767948957
|
4
|
+
data.tar.gz: 4a07e6e7ce3fbccbc55afb31978c1eca4aef8b2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ff7d9d4e5705b3659ff799e56f224a30c09df0b07a7e0a374fcf1686eb0e7f3442539c1afb28cc6dee94d33e4c87ecfd2604e58866303af5d1b77a35a9b4b0
|
7
|
+
data.tar.gz: 28a52c01b7b89b824a56f769fb72ca4d7dd81014edab0cf6e0d6eca4c9080f7052299d0f56d89cc7f57e681cd8cefa11d38768d6ff49b82e59c24fc3411d7c45
|
@@ -10,6 +10,10 @@ module Dao
|
|
10
10
|
domain
|
11
11
|
rescue ::ActiveResource::ResourceInvalid
|
12
12
|
raise Dao::Gateway::InvalidRecord.new(record.errors.to_hash)
|
13
|
+
rescue ::ActiveResource::ResourceNotFound => e
|
14
|
+
raise Dao::Gateway::RecordNotFound, e.message
|
15
|
+
rescue ::ActiveResource::ConnectionError => e
|
16
|
+
raise Dao::Gateway::BadConnection, e.to_s
|
13
17
|
end
|
14
18
|
|
15
19
|
def chain(scope, method_name, args, &block)
|
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.
|
4
|
+
version: 1.4.1
|
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: 2016-09-
|
12
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dao-gateway
|