John Nunemaker
8ab4e77a81
Added to_json for Mongo::ObjectID.
2009-12-31 12:37:57 -06:00
Kyle Banker
eaa12e2461
minor: use ruby object_id generate on test:ruby
2009-12-18 14:49:16 -05:00
Kyle Banker
f8a6d1ebb9
minor: docs, whitespace, naming
2009-12-16 14:16:49 -05:00
Mike Dirolf
d268595584
tests + fixes for using nil _id's
2009-12-08 17:52:15 -05:00
Kyle Banker
8f2e25f8d3
added custom exception for illegal object ids
2009-12-08 17:13:54 -05:00
Kyle Banker
4550389480
Added generation_time method on ObjectID
2009-12-03 17:45:53 -05:00
Kyle Banker
db1f382150
Added #hash method for ObjectID.
2009-11-11 10:47:42 -05:00
Sean Cribbs
cb4d94f541
Optimize ByteBuffer#to_s and Mongo::ObjectID#generate via C extensions.
2009-10-29 11:44:07 -04:00
Kyle Banker
cced8ae5b7
Removed InsertMessage, RemoveMessage, and UpdateMessage, and refactored accordingly.
2009-10-19 17:14:41 -04:00
Mike Dirolf
2b701119e1
complete deprecation of a bunch of stuff
2009-09-17 15:28:45 -04:00
Cyril Mougel
5860333ed4
improve logger and fix all test with logging system
2009-09-11 00:02:03 +02:00
Mike Dirolf
47c34266cf
Change string representation of ObjectID - add 'legacy' methods for interacting with old strings
2009-08-25 14:56:02 -04:00
Mike Dirolf
e05c9fc5da
use correct ObjectID generation - no change to ordering yet though
2009-08-25 10:30:14 -04:00
Mike Dirolf
fc02435777
minor: spelling
2009-08-20 11:50:11 -04:00
Mike Dirolf
e65dd99667
API CHANGE: moving XGen::Mongo::Driver and XGen::Mongo to Mongo and XGen::Mongo::GridFS to GridFS
2009-08-20 10:50:48 -04:00
Mike Dirolf
bb13fbe687
use nil for BSON undefined instead of useless Undefined class. deprecate Undefined class
2009-08-19 15:18:02 -04:00
Mike Dirolf
0f546eb5c5
add new code type rather than doing hacks based on field name. use code_w_scope instead of code
2009-03-12 15:34:15 -04:00
Mike Dirolf
56fddf79d4
dbrefs only need an oid and a collection, not all this extra cruft...
2009-03-10 14:17:01 -04: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
5c2ef0176e
Changed ObjectID#legal_oid_string to ObjectID#legal?
2009-02-09 11:38:24 -05:00
Jim Menard
28daeb6600
Support binary subtypes in Ruby driver. Bumped patch version number.
...
Binary type is now a subclass of ByteArray with an additional subtype value
that defaults to 2. BSON special-cases subtype 2 to write out the extra length
int.
2009-02-02 10:07:01 -05:00
Jim Menard
36d333de35
Avoid using to_a so we don't see warnings.
2009-01-22 13:20:48 -05:00
Jim Menard
123b2c8d78
New ObjectID#legal_oid_string. Use that in ObjectID#from_string.
2009-01-15 11:25:23 -05:00
Jim Menard
de59adecee
Moved Mongo data types into subdir.
2009-01-13 10:23:20 -05:00