Permalink
Switch branches/tags
Nothing to show
Commits on May 17, 2011
  1. fix formatting

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

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

    gregwebs committed May 17, 2011
  4. document attribute and value

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

    gregwebs committed May 9, 2011
  2. ruby 1.8 compatibility

    gregwebs committed May 9, 2011
  3. fix laziness documentation

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

    gregwebs committed May 7, 2011
    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
Commits on Apr 21, 2011
  1. update documentation

    gregwebs committed Apr 21, 2011
  2. remove buggy parsed_config?

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

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

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

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

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

    gregwebs committed Apr 13, 2011
Commits on Apr 5, 2011
Commits on Mar 29, 2011
  1. Merged with krobertson

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

    McClain Looney
    McClain Looney committed Mar 3, 2011
Commits on Feb 25, 2011
  1. SAXMachine element can no parse out an attribute from the tag when no…

    NeMO84 committed Feb 25, 2011
    …t a collection and class specifier is used.
Commits on Feb 15, 2011
  1. Added support for pulling attributes from the element that spawned a …

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

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

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

    Stephen Hardisty
    Stephen Hardisty committed Jan 7, 2011
    …er dependency
Commits on Dec 9, 2009
  1. bumped version for build

    pauldix committed Dec 9, 2009
  2. Performance optimizations

    domestika committed Dec 9, 2009
    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)
  3. Added support for parsing XML with tree structures

    Mathias Biilmann Christensen authored and domestika committed Dec 6, 2009
    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.