zabbirc 0.0.7 → 0.0.8

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: c14c5732f6e3e5d9209fb9b788cd2f533142eecd
4
- data.tar.gz: d868a4bca00497bf01f8e808eb7d8a51165a9f70
3
+ metadata.gz: 6949b7dbf85c1c2f1c5476146d58d141d49df701
4
+ data.tar.gz: 4a29a06e1edf62f17ad54456837770b5a5bfde96
5
5
  SHA512:
6
- metadata.gz: ac71f44f93f205561568d147b9467227180c3a79b928f850d861577221f6f73c3cdb78073e6c6b8f1c2a80b0df5f795e060e9c720f9db8a358088b1a81cb6db4
7
- data.tar.gz: a7b4006245ccc9004f0b28c21dbb09a7e4755f68c5acc3a7f699e6f8fcefa990a9a4a0d852d9b3cc861eb1c29c5c0b416597bd9c67c403b45d5e0f863ca748f4
6
+ metadata.gz: 4c24c6d0992da0e4404d63ac4d73252ecad82aeaec7e3a3baeb39d315944cffa686dcde8cd3edba8f6e60a50d6b8611dbaf408f8d7e657cee39b5ff568df9043
7
+ data.tar.gz: eb08161b1bd057dbf74915a39dc7803424076e67bc023ce2a2494d5f3e2d1b24ccc1f362b420a6c5f3ccb847e35d4b03726851700c554f6587c186964a487b53
@@ -15,7 +15,7 @@ module Zabbirc
15
15
  else
16
16
  self.new res.first
17
17
  end
18
- rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED => e
18
+ rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
19
19
  Zabbirc.logger.error "Zabbix::Resource#find: #{e}"
20
20
  raise NotConnected, e
21
21
  else
@@ -29,7 +29,7 @@ module Zabbirc
29
29
  ret = res.collect do |obj|
30
30
  self.new obj
31
31
  end
32
- rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED => e
32
+ rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
33
33
  Zabbirc.logger.error "Zabbix::Resource#get: #{e}"
34
34
  raise NotConnected, e
35
35
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbirc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filip Zachar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-11 00:00:00.000000000 Z
11
+ date: 2014-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport