sax_stream 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sax_stream/mapper.rb +2 -2
- metadata +4 -4
data/lib/sax_stream/mapper.rb
CHANGED
@@ -156,7 +156,7 @@ module SaxStream
|
|
156
156
|
end
|
157
157
|
|
158
158
|
def attributes
|
159
|
-
@attributes ||=
|
159
|
+
@attributes ||= {}
|
160
160
|
end
|
161
161
|
|
162
162
|
def attributes=(value)
|
@@ -187,7 +187,7 @@ module SaxStream
|
|
187
187
|
private
|
188
188
|
|
189
189
|
def build_empty_relations
|
190
|
-
result =
|
190
|
+
result = {}
|
191
191
|
self.class.relation_mappings.each do |relation_mapping|
|
192
192
|
result[relation_mapping.name] = relation_mapping.build_empty_relation
|
193
193
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sax_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &70150393813820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.5.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70150393813820
|
25
25
|
description: A streaming XML parser which builds objects and passes them to a collecter
|
26
26
|
as they are ready. Based upon Nokogiri SAX parsing functionality.
|
27
27
|
email:
|