afasgem 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/afasgem/getconnector.rb +4 -1
- data/lib/afasgem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78321ab6da053def8a108e5e48feb67dce19d969
|
4
|
+
data.tar.gz: 46f05bfae9c074466659c88683a84b15da26c3a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2e9d59dcb195fabb3311f4d2f3fc92fcfa01a861feda870a8add471f705fd4eb9c076dec6a3b7c216e25cb7a369d63f7cc58e607c8170c5ac9ce40b7a1d740f
|
7
|
+
data.tar.gz: 3b99c821aacf4f3cd809a17f3103f813ebbae2275aec7eac4f04ec8b923a89db533968bf736238e9331ffb0505ca3e69fed96794c67079bbccb8b2815a12e667
|
data/lib/afasgem/getconnector.rb
CHANGED
@@ -219,7 +219,10 @@ class GetConnector
|
|
219
219
|
|
220
220
|
# Returns the actual rows from a parsed response hash
|
221
221
|
def get_data_from_result(result)
|
222
|
-
|
222
|
+
val = result[:AfasGetConnector][@connectorname.to_sym]
|
223
|
+
val = [] if val.nil?
|
224
|
+
val = [val] unless val.is_a?(Array)
|
225
|
+
return val
|
223
226
|
end
|
224
227
|
|
225
228
|
|
data/lib/afasgem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: afasgem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subhi Dweik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|