Kyle Banker
|
8c6e0a3591
|
Raise better error message when trying to serialize TimeWithZone
|
2010-01-20 12:11:58 -05:00 |
Kyle Banker
|
42b835243e
|
warn if using Date or DateTime instead of Time
|
2010-01-06 14:30:58 -05:00 |
Mike Dirolf
|
e013618a8f
|
RUBY-74 raise InvalidDocument for any unrecognized types
|
2009-12-29 12:59:30 -05:00 |
Mike Dirolf
|
9bbaafe03d
|
Just use Regexp#source instead of hacky to_s. Check Regex pattern for NULL bytes
|
2009-12-17 10:24:58 -05:00 |
Mike Dirolf
|
5168692ab9
|
don't allow NULL byte in key names in ruby encoder
|
2009-12-17 10:05:38 -05:00 |
Kyle Banker
|
aaf590214c
|
enforce 4MB limit when inserting BSON docs
|
2009-12-16 11:32:54 -05:00 |
Mike Dirolf
|
20c8082e90
|
minor: more tests that already pass (at least in pure ruby)
|
2009-12-02 10:52:28 -05:00 |
Mike Dirolf
|
6cfae57738
|
minor: don't need the call to 'first' here
|
2009-12-02 10:25:46 -05:00 |
Mike Dirolf
|
1423abea7b
|
minor: test that already passes (at least w/o mongo_ext) for 1.9 string encoding conversion
|
2009-12-02 10:08:26 -05:00 |
Kyle Banker
|
948fb58384
|
minor: coding to encoding
|
2009-12-01 17:29:22 -05:00 |
Kyle Banker
|
d40f445c19
|
Fixes for 1.9
|
2009-12-01 17:23:24 -05:00 |
Kyle Banker
|
05b5fc576b
|
Cleanup w/r/t loading c ext and testing it
|
2009-12-01 13:49:57 -05:00 |
Mike Dirolf
|
7709e127bf
|
no need for separate CBson tests. just run with RUBYOPT=rubygems and mongo_ext installed
|
2009-11-30 18:05:15 -05:00 |
Kyle Banker
|
f029cdde6a
|
added test case for cbson utf-8
|
2009-11-30 17:50:54 -05:00 |
Kyle Banker
|
a7c75d7fae
|
Raise error on non utf-8 string in 1.8
|
2009-11-30 17:06:21 -05:00 |
Mike Dirolf
|
0f0c0e569d
|
minor: test for duplicate _id (as string and symbol)
|
2009-10-22 16:12:42 -05:00 |
Mike Dirolf
|
2b701119e1
|
complete deprecation of a bunch of stuff
|
2009-09-17 15:28:45 -04:00 |
Mike Dirolf
|
4fec23fcf1
|
ignore ArgumentError in this test
|
2009-09-16 16:12:20 -04:00 |
Mike Dirolf
|
d95971b20b
|
tests + fix for deserializing pre-epoch dates w/ pure Ruby BSON deserializer - thanks chendo
|
2009-09-16 12:53:46 -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
|
fc49e8c982
|
move tests -> test
|
2009-08-18 10:07:01 -04:00 |