eaal 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/eaal/eaal.rb +1 -1
- data/lib/eaal/eaal_result.rb +1 -1
- data/lib/eaal/eaal_rowset.rb +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/eaal/eaal.rb
CHANGED
@@ -28,7 +28,7 @@ module EAAL
|
|
28
28
|
|
29
29
|
mattr_reader :version_string, :version
|
30
30
|
|
31
|
-
@@version = "0.1.
|
31
|
+
@@version = "0.1.3"
|
32
32
|
@@version_string = "EAAL" + EAAL.version # the version string, used as client name in http requests
|
33
33
|
|
34
34
|
mattr_accessor :api_base, :additional_request_parameters, :cache
|
data/lib/eaal/eaal_result.rb
CHANGED
@@ -58,7 +58,7 @@ module EAAL
|
|
58
58
|
re = EAAL::Rowset.new(prefix, element)
|
59
59
|
else
|
60
60
|
key = element.name
|
61
|
-
if element.containers.length > 0
|
61
|
+
if element.children && element.containers.length > 0
|
62
62
|
container = ResultContainer.new
|
63
63
|
element.containers.each { |celement|
|
64
64
|
cel = EAAL::Result::ResultElement.parse_element(prefix, celement)
|
data/lib/eaal/eaal_rowset.rb
CHANGED
@@ -17,12 +17,12 @@ module EAAL
|
|
17
17
|
self.columns.each { |colname|
|
18
18
|
row.send(colname +"=", xml[colname]) # row content ignored so far (needs to be added!!!)
|
19
19
|
}
|
20
|
-
if xml.containers.length > 0
|
20
|
+
if xml.children && xml.containers.length > 0
|
21
21
|
xml.containers.each { |child|
|
22
22
|
el = EAAL::Result::ResultElement.parse_element(self.rowclass.name, child)
|
23
23
|
row.add_element(el.name, el)
|
24
24
|
}
|
25
|
-
end
|
25
|
+
end
|
26
26
|
row
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eaal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Petermann
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01
|
12
|
+
date: 2009-04-01 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
43
|
+
version: 1.3.0
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: hoe
|