Permalink
Commits on Mar 15, 2016
  1. @smtlaissezfaire
  2. @smtlaissezfaire

    if two objects are the same, don't merge them with '$in'.

    this simplifies queries that follow the form {:key => true}, {:key => true}.
    Instead, generate {:key => true} instead of {:key => { '$in': [true, true]}}
    smtlaissezfaire committed Feb 4, 2016
  3. @smtlaissezfaire

    bug fix: make sure that { :a => nil }, { :a => nil } get merged into …

    …{ :a => { '$in': [nil] }}
    smtlaissezfaire committed Feb 3, 2016
Commits on Feb 3, 2016
  1. @smtlaissezfaire

    Add color to rspec

    smtlaissezfaire committed Feb 3, 2016
Commits on Aug 5, 2015
  1. @jnunemaker

    Merge pull request #42 from iande/pagination_collection_delegation

    fix collection method_missing delegation
    jnunemaker committed Aug 5, 2015
  2. @iande

    fix collection method_missing delegation

    delegate missing methods to the pagination collection's paginator.
    iande committed Aug 5, 2015
Commits on Mar 17, 2015
  1. @cheald

    Minor spec fix

    cheald committed Mar 17, 2015
Commits on Mar 16, 2015
  1. @cheald
  2. @cheald
Commits on Aug 9, 2013
  1. @cheald

    Release 0.6.6

    cheald committed Aug 9, 2013
Commits on Jul 11, 2013
  1. @cheald
Commits on Jul 8, 2013
  1. @jnunemaker

    Release 0.6.5.

    jnunemaker committed Jul 8, 2013
  2. @jnunemaker

    Merge pull request #37 from cheald/compound_or

    Rewrite CriteriaHash#merge to be less gnarly. Add $or merging.
    jnunemaker committed Jul 8, 2013
  3. @jnunemaker

    Merge pull request #36 from cheald/master

    Fix issues with OptionsKeyNormalizer acting on sort fields
    jnunemaker committed Jul 8, 2013
  4. @cheald

    Rewrite CriteriaHash#merge to be less gnarly. Add $or merging.

    This add collapsing of multiple $ors or $ors + $ands containing $ors into a compound $and statement.
    
    * Closes mongomapper/mongomapper#298
    * Closes mongomapper/mongomapper#499
    cheald committed Jul 8, 2013
Commits on Jul 7, 2013
  1. @cheald

    Refactor key normalizer to accept an initial hash of values to transl…

    …ate. Separate translation keys for Options and Sort, so that sort keys don't get erroneously translated.
    cheald committed Jul 7, 2013
Commits on Jul 3, 2013
  1. @jnunemaker
  2. @jnunemaker

    Release 0.6.4.

    jnunemaker committed Jul 3, 2013
  3. @jnunemaker

    Allow performing query with no timeout.

    Fixes #33.
    jnunemaker committed Jul 3, 2013
  4. @jnunemaker
Commits on Jun 26, 2013
  1. @jnunemaker

    Merge pull request #34 from cheald/master

    Replace the pagination decorator with a pagination collection to eliminate the runtime #extend, so that we aren't constantly nuking the Ruby method cache.
    jnunemaker committed Jun 26, 2013
Commits on Jun 22, 2013
  1. @cheald

    Replace the pagination decorator with a pagination collection to elim…

    …inate the runtime #extend, so that we aren't constantly nuking the Ruby method cache.
    cheald committed Jun 22, 2013
Commits on Apr 30, 2013
  1. @jnunemaker

    Merge pull request #32 from bjornblomqvist/rspec_query_equality_fix

    Rspec query equality fix
    jnunemaker committed Apr 30, 2013
Commits on Apr 24, 2013
  1. @bjornblomqvist
  2. @bjornblomqvist
Commits on Mar 14, 2013
  1. @jnunemaker

    Release 0.6.3.

    jnunemaker committed Mar 14, 2013
  2. @jnunemaker
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker
  6. @jnunemaker
Commits on Jan 15, 2013
  1. @jnunemaker

    Merge pull request #31 from kylev/total_entries

    Allow a paginate query to override the total_entries
    jnunemaker committed Jan 15, 2013
Commits on Jan 14, 2013
  1. @kylev

    Allow a paginate query to override the total_entries value, enabling …

    …API consumers to potentially cache expensive counting operations.
    kylev committed Jan 14, 2013
Commits on Dec 31, 2012
  1. @jnunemaker

    Release 0.6.2.

    * do not normalize empty array to $in
    * correctly handle merging of bson object ids in criteria
    jnunemaker committed Dec 31, 2012
  2. @jnunemaker

    Merge pull request #29 from paulwalker/empty_array_crit_value_fix

    do not normalize to $in operator with an empty array
    jnunemaker committed Dec 31, 2012