saxony 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/lib/saxony.rb +2 -2
- data/saxony.gemspec +1 -1
- metadata +1 -1
data/CHANGES.txt
CHANGED
data/lib/saxony.rb
CHANGED
@@ -3,7 +3,7 @@ require 'stringio'
|
|
3
3
|
|
4
4
|
|
5
5
|
class Saxony
|
6
|
-
VERSION = "0.1.
|
6
|
+
VERSION = "0.1.3".freeze unless defined?(Saxony::VERSION)
|
7
7
|
|
8
8
|
class Document < Nokogiri::XML::SAX::Document
|
9
9
|
attr_accessor :path
|
@@ -60,7 +60,7 @@ class Saxony
|
|
60
60
|
reset
|
61
61
|
end
|
62
62
|
def reset
|
63
|
-
@xml
|
63
|
+
@xml = nil
|
64
64
|
@buffer, @count, @doc, @start_time = StringIO.new, 0, nil, Time.now
|
65
65
|
end
|
66
66
|
def to_otag(name, attributes=[])
|
data/saxony.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
@spec = Gem::Specification.new do |s|
|
2
2
|
s.name = "saxony"
|
3
3
|
s.rubyforge_project = 'bone'
|
4
|
-
s.version = "0.1.
|
4
|
+
s.version = "0.1.3"
|
5
5
|
s.summary = "Parse gigantic XML files with pleasure and a without running out of memory."
|
6
6
|
s.description = s.summary
|
7
7
|
s.author = "Delano Mandelbaum"
|