Commit Graph

16 Commits

Author SHA1 Message Date
Les Hill 454bb440e4 OrderedHash#each returns self not ordered_keys 2009-10-05 21:35:02 +08:00
Mike Dirolf 7e0a1b9721 add OrderedHash[] initialization 2009-08-14 11:38:25 -04:00
Mike Dirolf cabca61e0d previous_error and reset_error_history. snuck in a quick fix to OrderedHash equality 2009-05-26 15:26:20 -04:00
Mike Dirolf ac4dde5d76 we still need to define ==, even in 1.9 2009-03-23 11:51:35 -04:00
Mike Dirolf 1d0fe595c8 equality for ordered hashes 2009-03-05 13:48:15 -05:00
Geir Magnusson Jr 232a7f7169 Clarify license to be the Apache License v2.0. Was a
mix and the readme still reflected AGPL
2009-02-15 08:24:14 -05:00
Jim Menard 01dc72c834 Fixed OrderedHash#delete 2009-01-26 13:30:42 -05:00
Jim Menard 5c751e9cfc Fixed OrderedHash key deletion. 2009-01-21 10:53:26 -05:00
Jim Menard bda7cfd264 OrderedHash is not necessary with Ruby 1.9, so we stub out the innards of the class but keep the class for code compatability. 2009-01-12 16:28:29 -05:00
Jim Menard 77d192183a Fixed OrderedHash.inspect 2009-01-09 19:49:27 -05:00
Jim Menard a9ba8c62fd Added OrderedHash#inspect which preserves key order 2009-01-09 13:54:12 -05:00
Jim Menard cb2d775bb1 Fixed OrderedHash merge bug. New tests for OrderedHash. 2009-01-08 07:16:25 -05:00
Jim Menard f709bc6290 Updated copyright dates. 2009-01-06 10:51:01 -05:00
Jim Menard 95e75995f6 Doc tweaks 2008-12-17 11:49:06 -05:00
Jim Menard aee3ae2c9d More documentation 2008-12-17 11:43:08 -05:00
Jim Menard 7669900126 Lots of fixes.
- Introduced OrderedHash because db commands require that the command key be
  first.
- Fixed BSON (de)serialization of object ids.
- Simplified @coll.drop_indexes.
- Renamed some method parameters to make their type more clear (for example,
  "collection" became "collection_name").
- Got the index_information test working.
2008-12-08 11:38:42 -05:00