sax_stream 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,6 +77,14 @@ module SaxStream
77
77
  self
78
78
  end
79
79
 
80
+ def to_hash
81
+ result = {}
82
+ self.each do |key, value|
83
+ result[key] = value
84
+ end
85
+ result
86
+ end
87
+
80
88
  def merge(other)
81
89
  hash = self.class.new
82
90
 
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.0
4
+ version: 1.0.1
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-14 00:00:00.000000000 Z
12
+ date: 2012-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70160590504180 !ruby/object:Gem::Requirement
16
+ requirement: &70245244105220 !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: *70160590504180
24
+ version_requirements: *70245244105220
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: