Permalink
Commits on Dec 28, 2012
  1. Release 0.6.0.

    jnunemaker committed Dec 28, 2012
Commits on Oct 13, 2012
Commits on Oct 12, 2012
Commits on Oct 11, 2012
  1. A bunch of docs.

    jnunemaker committed Oct 11, 2012
  2. Original instead of source

    jnunemaker committed Oct 11, 2012
  3. Explicit > method missing for criteria hash

    jnunemaker committed Oct 11, 2012
    Also used instance variables where possible instead of methods.
  4. Rename source to original

    jnunemaker committed Oct 11, 2012
  5. Change key error to argument error.

    jnunemaker committed Oct 11, 2012
    Ruby 1.8 and 1.9 raise different errors for key missing when using
    fetch.
  6. Move options hash value normalization to multiple files

    jnunemaker committed Oct 11, 2012
    Each piece is customizable now and definitely getting more clear.
    Slowly but surely.
  7. Remove duplication of modifier checking.

    jnunemaker committed Oct 11, 2012
    My goodness I hate that merge method. It must die...
  8. Fix for ruby 1.8.x

    jnunemaker committed Oct 11, 2012
  9. Check exact source instead of object equality

    jnunemaker committed Oct 11, 2012
    Ran into issue previously where object was initializing with wrong
    source. This makes sure that source is what we expect and that object
    initialization isn't screwing anything up and hiding it.
  10. Use symbols everywhere for modifiers.

    jnunemaker committed Oct 11, 2012
    Doing this exposed an issue where modifiers were being doubled up in
    nesting. Fixed that as well.
  11. Duplicate spec.

    jnunemaker committed Oct 11, 2012
  12. Added Plucky.modifier?

    jnunemaker committed Oct 11, 2012
  13. Move criteria hash key normilization to separate class.

    jnunemaker committed Oct 11, 2012
    Also made it injectable.
  14. Move criteria hash value normalization to separate class.

    jnunemaker committed Oct 11, 2012
    Also allowing it to be injected so it can be changed at runtime.
Commits on Oct 10, 2012
  1. Drop support for 1.9.2

    jnunemaker committed Oct 10, 2012
  2. Ruby 1.8 doesn't like sorting symbols

    jnunemaker committed Oct 10, 2012
    Switching back to set comparison rather than changing symbols to string
    before sort.
  3. Some query cleanup.

    jnunemaker committed Oct 10, 2012
    * added Query#cursor which returns Mongo::Cursor with query's criteria
    and options applied.
    * added Query#criteria_hash and Query#options_hash which call to_hash
    on related source hash
    * added hash_for_key to determine which hash should be used based on
    the key provided
  4. Rename parameter.

    jnunemaker committed Oct 10, 2012
    original is more revealing than source.