Permalink
Commits on Feb 14, 2012
  1. change method cast from C style to Ruby macro

    to generate rdoc.
    yukio-goto committed Feb 14, 2012
Commits on Feb 13, 2012
  1. bump version in preparation for new release

    William Morgan committed Feb 13, 2012
  2. minor style tweaks, and add DB#iterator convenience method

    William Morgan committed Feb 13, 2012
  3. indentation/whitespace reset

    My own particular style.
    William Morgan committed Feb 13, 2012
  4. Merge remote branch 'technoweenie/iterator'

    William Morgan committed Feb 13, 2012
Commits on Dec 27, 2011
  1. DB#each uses an Iterator

    technoweenie committed Dec 27, 2011
Commits on Dec 26, 2011
Commits on Dec 25, 2011
  1. add basic iterator class

    technoweenie committed Dec 25, 2011
  2. fix indentation

    technoweenie committed Dec 25, 2011
Commits on Dec 13, 2011
  1. steal platform-specific C++ config from eventmachine

    It's in platform.rb.
    William Morgan committed Dec 13, 2011
  2. minor Rakefile fix for 1.9.3

    Sigh. (Thanks to technoweenie.)
    William Morgan committed Dec 13, 2011
Commits on Dec 7, 2011
  1. Merge pull request #10 from technoweenie/iterator

    Improve DB iteration
    committed Dec 7, 2011
Commits on Dec 4, 2011
Commits on Dec 3, 2011
  1. add a test

    technoweenie committed Dec 3, 2011
Commits on Nov 29, 2011
  1. add iteration test

    technoweenie committed Nov 29, 2011
Commits on Nov 28, 2011
  1. Update DB#each to take 3 optional args: key_from, key_to, reversed

    Default: list all keys
        >> db.each { |k,v| puts k }
        a
        b
        c
    
    Set a key_from:
        >> db.each('b') { |k,v| puts k }
        b
        c
    
    Set a key_from and key_to:
        >> db.each('a', 'c') { |k,v| puts k }
        a
        b
    
    Reversed!
        >> db.each(nil, nil, true) { |k,v| puts k }
        c
        b
        a
    
    Reversed key_from:
        >> db.each('b', nil, true) { |k,v| puts k }
        b
        a
    technoweenie committed Nov 28, 2011
Commits on Oct 26, 2011
  1. bump version

    committed Oct 26, 2011
  2. sigh. only tweak certain compile flags on darwin.

    Otherwise they actually do break on some Linux systems.
    committed Oct 26, 2011
  3. bump version

    committed Oct 26, 2011
  4. remove -arch i386 flags, add -lruby

    Not sure why I have to do this type of thing, but it makes things
    compile with older REEs on OS X, and doesn't interfere with Linux.
    committed Oct 26, 2011