Permalink
Commits on May 17, 2011
  1. fix formatting

    committed May 17, 2011
  2. use Array#assoc instead of flattening attributes

    remove edge cases from :with option
    committed May 17, 2011
  3. fix 2 failing specs

    committed May 17, 2011
  4. document attribute and value

    committed May 17, 2011
Commits on May 9, 2011
  1. simplify parsed_configs

    committed May 9, 2011
  2. ruby 1.8 compatibility

    committed May 9, 2011
  3. fix laziness documentation

    committed May 9, 2011
Commits on May 7, 2011
  1. merge tests from old branch

    sporkmonger/master
    
    commit 308a49d
    Author: Bob Aman <bobaman@google.com>
    Date:   Fri Jan 7 16:33:57 2011 -0800
    
        Fixed bug with element contents being copied into attributes
    committed May 7, 2011
Commits on Apr 21, 2011
  1. update documentation

    committed Apr 21, 2011
  2. remove buggy parsed_config?

    side effect- failing test cases!
    committed Apr 21, 2011
  3. simplify resuming

    committed Apr 21, 2011
Commits on Apr 20, 2011
  1. do one lookup instead of 2

    committed Apr 20, 2011
Commits on Apr 18, 2011
  1. fix method overriding

    committed Apr 18, 2011
Commits on Apr 13, 2011
  1. :lazy option for one set of elements

    * allows constant memory usage for those elements
    committed Apr 13, 2011
  2. small style improvements

    committed Apr 13, 2011
Commits on Apr 5, 2011
  1. @ezkl
  2. @ezkl
Commits on Mar 29, 2011
  1. @ezkl

    Merged with krobertson

    ezkl committed Mar 29, 2011
Commits on Mar 3, 2011
  1. test case

    McClain Looney committed Mar 3, 2011
Commits on Feb 25, 2011
  1. @NeMO84
  2. @NeMO84
  3. @NeMO84

    SAXMachine element can no parse out an attribute from the tag when no…

    …t a collection and class specifier is used.
    NeMO84 committed Feb 25, 2011
  4. @NeMO84
Commits on Feb 15, 2011
  1. @krobertson
  2. @krobertson

    Added support for pulling attributes from the element that spawned a …

    …class... main use case, rss feeds with multiple thumbnails which have multiple relevant attributes
    krobertson committed Feb 15, 2011
Commits on Jan 26, 2011
  1. bumped version number for release

    Paul Dix committed Jan 26, 2011
  2. changed gem name back to normal

    Paul Dix committed Jan 26, 2011
Commits on Jan 7, 2011
  1. added rvm isolation, upgraded rspec (lazily) and added nokogiri bundl…

    …er dependency
    Stephen Hardisty committed Jan 7, 2011
Commits on Dec 9, 2009
  1. @pauldix

    bumped version for build

    pauldix committed Dec 9, 2009
  2. @domestika

    Performance optimizations

    Implemented several small performance optimization to make sure
    the new sax_handler.rb performed as well or better as the old one.
    
    Some comparisons with pauldix/sax-machine:master (fdf0759) using
    spec/benchmarks/benchmark.rb
    
    atom.xml - 10.000 times
    fdf0759:
      sax-machine 60.180000   1.500000  61.680000 ( 65.937108)
    this commit:
      sax-machine 47.690000   1.330000  49.020000 ( 51.774769)
    
    public_timeline.xml - 10.000 times
    fdf0759:
      sax-machine 128.510000   2.600000 131.110000 (136.059850)
    this commit:
      sax-machine 101.680000   2.270000 103.950000 (112.754657)
    
    amazon.xml - 100.000 times
    fdf0759:
      sax-machine 86.550000   1.460000  88.010000 ( 91.456097)
    this commit:
      sax-machine 84.890000   1.490000  86.380000 ( 89.622164)
    domestika committed Dec 9, 2009
  3. @domestika

    Added support for parsing XML with tree structures

    This is basically a rewrite of sax_handler.rb to use a stack to keep
    track of the position in the resulting datastructure while responding
    to Nokogiri's SAX events. The former sax_hanlder.rb was not able to
    handle parsing of tree structures like:
    
      <categories>
        <category id="1">
          <categories>
            <category id="2" />
          </categories>
        </category>
      </categories>
    
    The new stack based aproach handles these cases - and as a bonus permits
    passing a :class option to the 'element' method.
    Mathias Biilmann Christensen committed with domestika Dec 6, 2009