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: 2ac5eea339cb209f6531d02e7911e9e54a6eebfa
4
- data.tar.gz: 9748564b74ca09afb4eed0993c7dd18a48a3e140
3
+ metadata.gz: 2b1fa60d41dc245f6fd94bc827a7bb2510f8af7b
4
+ data.tar.gz: 94bc10d2821d2103d48e1df4655e0ed1b1972208
5
5
  SHA512:
6
- metadata.gz: b2f1bd79ba9ad950753b0bbc298d62fd79d02f184f44b87ed30390e641f67ce36fcdcb1ef351594c4f995419f46d3dfb292d5221d0d106d305a7c7478f68029e
7
- data.tar.gz: 944325413fdadd5ebf1ea661193d0afc57f08f87d9c80836ea6d6178af35b201d854e7ec9e54f9a262873381ba4561f460c9d76a75f9638f20a3774171562323
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
 
@@ -1,7 +1,7 @@
1
1
  module Dao
2
2
  module Gateway
3
3
  module ActiveResource
4
- VERSION = '1.5.0'
4
+ VERSION = '1.6.0'
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.5.0
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-02-14 00:00:00.000000000 Z
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.10
183
+ rubygems_version: 2.6.12
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Gateway for Active Resource