fuey_client 0.5.0 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c63aabe5fea48616819b21441c3188c677750e0
4
- data.tar.gz: d810d07322f3b770f9357969137ea8feda7a7f90
3
+ metadata.gz: dda931d07b4e4ebf6198e5c1cbc40af36084182b
4
+ data.tar.gz: 049feb3fb6a41e59cb535b57775ffe52b1ff5ac5
5
5
  SHA512:
6
- metadata.gz: 6e7da4c3baee7259706cbff6a41c0cf0001d385e4d1fe15156ac23742687881eba9b3219b5100acfae88fab9a787d972a692f5cd7a1e6c2f7b471126a21120e0
7
- data.tar.gz: b3be27e62d394e0e52430f0b51fad3213aee3eec65e2896bf082e23f32dd635d8cd29fb72b3607d89a0d8ec593831927123da0a418328b90fb7eaa65b16a4410
6
+ metadata.gz: c4ff3f46992bbe9698c2f62a0895b355fbb02d086b9d607d511134df58160a584be855602f0ca08bdda77ae43796aae63429f8c993ee8b0205d0d5b6190cc609
7
+ data.tar.gz: 7087d0187e1962db59b52e3394578ad6adc920ef5de42d237489159f23cfe22fd43063cf624c7a1472b4c883b09211e140dbe38fdd576319917802418108e1f5
@@ -18,7 +18,8 @@ module Fuey
18
18
  rescue Gem::LoadError
19
19
  return [false, %(Could not RFC Ping because the sapnwrfc gem is not available)]
20
20
  rescue Exception => caught
21
- return [false, caught.message]
21
+ return [false, caught.error] if caught.respond_to?(:error) #SAP errors
22
+ [false, caught.inspect]
22
23
  ensure
23
24
  conn.close unless conn.nil?
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module FueyClient
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuey_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Snyder