jwulff-rets4r 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
+ :patch: 2
2
3
  :major: 1
3
4
  :minor: 1
4
- :patch: 1
@@ -7,7 +7,7 @@ module RETS4R
7
7
  def parse_key_value(xml)
8
8
  parse_common(xml) do |doc|
9
9
  parsed = nil
10
- first_child = doc.get_elements('/RETS/RETS-RESPONSE')[0]
10
+ first_child = doc.get_elements('/RETS/RETS-RESPONSE')[0] ? doc.get_elements('/RETS/RETS-RESPONSE')[0] : doc.get_elements('/RETS')[0]
11
11
  unless first_child.nil?
12
12
  parsed = {}
13
13
  first_child.text.each do |line|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwulff-rets4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wulff
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-24 00:00:00 -07:00
12
+ date: 2009-04-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15