dao-gateway-active_resource 1.3.3 → 1.3.4

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: aaeb11c0575fd403c6723922e64ea6ef22d5c98d
4
- data.tar.gz: a5e75f7ba420c79b44bca687bf04dd264aa2e6c0
3
+ metadata.gz: 4b12a13a7e5bfc396e6495006a827247cf6d97f6
4
+ data.tar.gz: de12c6568fde9647ac0cb7cd6be3fc999dd97216
5
5
  SHA512:
6
- metadata.gz: 9c4ff4ccd342d4dab805ce0ec7caf5cf155dba4f1c2cbc801ad52b973e1b5ee47cc7226bfd63b026b4233491a908e0f7deeb8eee19d462cc1dba1651adf9e0a9
7
- data.tar.gz: 0744b9c54bd319994b4e491861da3f40c91b7490ac991c32b0736c49199121838de91449049906cd30193afc122cb76d06829f9f5503e4eaf1e24265b340227a
6
+ metadata.gz: 9098c13d70729ccf8214a912a8c37c5f7d1d4890743d778d1309172634055e18c2bd7847a596b073032a302bfad595c231abf7f9287e89de636b455a403b0e8a
7
+ data.tar.gz: b60cbc84fe9a0db15f3af618f76c1d422d5e687719fb82237bc0952d0dadf3f4fcb88a4c482b116638dcdba84c7c7a145b78c3101fdb6be3d72e9839bd16eaea
@@ -21,6 +21,8 @@ module Dao
21
21
  errors = source.format.decode(e.response.body) if e.response.body.present?
22
22
 
23
23
  raise Dao::Gateway::InvalidRecord.new(errors)
24
+ rescue ::ActiveResource::ConnectionError => e
25
+ raise Dao::Gateway::BadConnection, e.to_s
24
26
  end
25
27
 
26
28
  protected
@@ -1,7 +1,7 @@
1
1
  module Dao
2
2
  module Gateway
3
3
  module ActiveResource
4
- VERSION = '1.3.3'
4
+ VERSION = '1.3.4'
5
5
  end
6
6
  end
7
7
  end
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.3.3
4
+ version: 1.3.4
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-02 00:00:00.000000000 Z
12
+ date: 2016-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dao-gateway