travlrmap 0.0.16 → 0.0.17

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.
@@ -129,7 +129,11 @@ module Travlrmap
129
129
  point = {}
130
130
 
131
131
  ["title", "comment", "country", "date", "href", "linktext", "linkimg", "lon", "lat"].each do |i|
132
- point[i.intern] = data[i]
132
+ if data[i].is_a?(String)
133
+ point[i.intern] = data[i] unless data[i].empty?
134
+ else
135
+ point[i.intern] = data[i]
136
+ end
133
137
  end
134
138
 
135
139
  point[:type] = data["type"].intern
@@ -1,3 +1,3 @@
1
1
  module Travlmap
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end