saxony 0.1.2 → 0.1.3

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.
Files changed (4) hide show
  1. data/CHANGES.txt +4 -0
  2. data/lib/saxony.rb +2 -2
  3. data/saxony.gemspec +1 -1
  4. metadata +1 -1
data/CHANGES.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  SAXONY, CHANGES
2
2
 
3
+ #### 0.1.3 (2010-02-01) ####
4
+
5
+ * FIXED: Don't blank out path between batches
6
+
3
7
  #### 0.1.2 (2010-02-01) ####
4
8
 
5
9
  * ADDED: Keep track of file path
data/lib/saxony.rb CHANGED
@@ -3,7 +3,7 @@ require 'stringio'
3
3
 
4
4
 
5
5
  class Saxony
6
- VERSION = "0.1.2".freeze unless defined?(Saxony::VERSION)
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, @path = nil, nil
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.2"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saxony
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum