sysaid 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sysaid.rb +5 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 505d1beb499d3375081ed1bac12ea24e927ade81
|
4
|
+
data.tar.gz: 4e7453eb57a9030130b9dd34dc7eb3245f216060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59461b599dd638a67aa21b10d4545f3573a6c67142ebc3c1e6812cc1d03a809043a15bdde5f57d6aed1af167e7680fa9d413d7a0458c5693469c339dc1d5b09c
|
7
|
+
data.tar.gz: ea2ca6f2739f9d0b1c1f64471204bcf05268d67c71de9519c7f2da5a115c448bec70bbdc58c7f4017916a1107f41474ab6702befe04914d79c51afcc4a480a20
|
data/lib/sysaid.rb
CHANGED
@@ -22,11 +22,13 @@ class SysAid
|
|
22
22
|
begin
|
23
23
|
return @@client.call(method, message)
|
24
24
|
rescue SocketError => e
|
25
|
-
raise SysAidException, "
|
25
|
+
raise SysAidException, "Socket error communicating with SysAid: #{e.message}"
|
26
26
|
rescue Errno::EHOSTUNREACH => e
|
27
|
-
raise SysAidException, "
|
27
|
+
raise SysAidException, "Server unreachable error communicating with SysAid: #{e.message}"
|
28
28
|
rescue Savon::SOAPFault => e
|
29
|
-
raise SysAidException, "
|
29
|
+
raise SysAidException, "SOAP error communicating with SysAid: #{e.message}"
|
30
|
+
rescue Net::ReadTimeout => e
|
31
|
+
raise SysAidException, "Network timeout communicating with SysAid: #{e.message}"
|
30
32
|
end
|
31
33
|
end
|
32
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sysaid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Thielen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.
|
65
|
+
rubygems_version: 2.5.1
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: ruby-sysaid
|