Commits on May 18, 2010
  1. Release 0.7.6.

    jnunemaker committed May 18, 2010
    * Documents now load from database using write_key instead of public accessors which allows you to update public accessor and not affect querying/loading from the db
    * Document.set now typecasts values before performing the set
    * Times at the end of a month no longer round up. Milliseconds are now removed from times.
    * Float.to_mongo(nil) now returns nil.
    * MongoMapper::Query is now powered by Plucky. Deeper Plucky integration is slated for next release.
    * Custom gemspec/rake tasks instead of jeweler. More simple.
  2. Simplified comment by saying to just look in gemspec. Also moved pluc…

    jnunemaker committed May 18, 2010
    …ky up in length order. Stupid I know.
  3. Merge branch 'plucky'

    jnunemaker committed May 18, 2010
Commits on May 12, 2010
  1. Time keys now strip milliseconds. Rounding was occasionally inaccurat…

    jnunemaker committed May 12, 2010
    …e such as at the end of the month which was not cool. If you hate this, let me know and why. Personally I have never cared about milliseconds.
  2. Round down instead of to closest integer to prevent weird issue where…

    jnunemaker committed May 12, 2010
    … end of month times were jumping to the next day.
Commits on May 7, 2010
  1. Float.to_mongo(nil) should yield nil unless there's a good reason not…

    conceptsahead committed with jnunemaker May 7, 2010
    … to. (e.g. latitude and longitude values of 0,0 actually means something.)
Commits on May 5, 2010
Commits on May 1, 2010
  1. Documents loaded from the database now use write_key for keys, writer…

    jnunemaker committed May 1, 2010
    … method if not key but writer method exists and all else failing, creates a dynamic key. This allows you to override the public accessors and still have everything load properly from database.
Commits on Apr 30, 2010
  1. Bumping to mongo 1.0.

    jnunemaker committed Apr 30, 2010
Commits on Apr 20, 2010
  1. first_or_create|new now reject non-keys in the new and create calls. …

    jnunemaker committed Apr 20, 2010
    …This allows you to query for things that aren't keys but not get an error during initialization. ie: first_or_new(:foo => 'bar', => 10)
Commits on Apr 19, 2010
  1. Version bump to 0.7.4.

    jnunemaker committed Apr 19, 2010
      * 0.20.1 Ruby driver compatibility
      * descendants defaults to array
      * BSON::ObjectID#as_json
      * :fields now supports hash (:fields => {:content => 0, :title => 1})
      * one embeddable association
      * multiple symbol operators in query on one key now works (ie: { => 10, => 20} # => {:age => {'$gt' => 10, '$lt' => 20}})
      * many documents now accepts array of hashes (previously only array of association class objects)
      * bug fix for setting parent/root documents with embedded key
      * many association now keeps track of unsaved docs and saves them on owner save
      * updated validatable dependency
      * push_uniq now add_to_set and uses $addToSet (mongodb 1.3+)
      * unset modifier to remove keys from documents (mongodb 1.3+)
  2. Small tweak to hopefully nab the random failure in this test. Only ha…

    jnunemaker committed Apr 19, 2010
    …ppens like 1 in 30 runs or so.
Commits on Apr 18, 2010
  1. Reorganized tests.

    jnunemaker committed Apr 18, 2010
  2. Updated #load_target on proxy.

    tjtuom committed with jnunemaker Mar 29, 2010
  3. Added tests.

    tjtuom committed with jnunemaker Mar 29, 2010
  4. Added :order => 'name' so there are never random failures when checki…

    jnunemaker committed Apr 18, 2010
    …ng the pets by order.