Commit Graph

1640 Commits

Author SHA1 Message Date
Kyle Banker
54a3cbb308 minor: test validates that we remove duplicate _id only on insert. 2010-11-02 15:40:40 -04:00
Kyle Banker
5aa8721b25 Allow idiomatic :drop_dups in addition to :dropDups
on index creation.

Don't raise exception if :dropDups results in duplicate key error.
2010-11-02 14:50:02 -04:00
Kyle Banker
004ac48230 minor: docs 2010-11-02 14:26:31 -04:00
Kyle Banker
821eb07238 minor: update for YARD 0.6.1 2010-11-02 14:25:59 -04:00
Kyle Banker
e21a4b897a minor: extra rake tasks for tests. don't show C ext warning when testing 2010-11-02 14:25:14 -04:00
Kyle Banker
2939932526 close connection when safe mode insert results in 'not master' 2010-10-29 23:18:49 -04:00
Kyle Banker
424f08af5e close connection on exception on safe insert 2010-10-29 17:52:15 -04:00
Kyle Banker
0b0834eb91 minor: doc fix 2010-10-25 11:01:52 -04:00
Kyle Banker
2720206f77 minor: docs 2010-10-22 13:27:56 -04:00
Kyle Banker
e416e05fc7 RUBY-190 bug fix for unavailable nodes on Connection#multi 2010-10-21 14:33:48 -04:00
Kyle Banker
9098070502 minor: more consistent naming in connection tests 2010-10-21 13:32:47 -04:00
Kyle Banker
a905c3f1f2 RUBY-191 fix to pass options to new db with Connection#db 2010-10-21 13:27:57 -04:00
Kyle Banker
afe8fe3167 RUBY-193 don't create gridfs indexes when slave_ok 2010-10-21 13:01:32 -04:00
Kyle Banker
048e9e6fbe HISTORY and BUMP 1.1.1 2010-10-14 16:38:26 -04:00
Kyle Banker
50f3fc9080 minor: test files for bson gem 2010-10-14 16:36:56 -04:00
Kyle Banker
68cadc1987 minor: patch for JRuby 1.9 MD5 comparison bug 2010-10-14 16:35:13 -04:00
Kyle Banker
dd02b12282 minor: test updates for JRuby in 1.9 mode 2010-10-14 16:11:30 -04:00
Kyle Banker
e868f090a3 NEW BUMP 1.1.1 2010-10-13 18:39:41 -04:00
Kyle Banker
f1ddd871f2 major: typo 2010-10-13 18:38:15 -04:00
Kyle Banker
dfaa82f5d1 minor: test fix 2010-10-13 18:27:19 -04:00
Kyle Banker
d1a0f90b5e minor: hash_with_indifferent fix 2010-10-13 18:13:47 -04:00
Kyle Banker
80044b9a58 RUBY-187 All tests can now use custom host and port;
Minor test fixes.
2010-10-13 17:09:23 -04:00
Kyle Banker
cd03fafb27 RUBY-187 ByteBuffer should take another ByteBuffer as initial data 2010-10-13 17:08:45 -04:00
Kyle Banker
0c8d27c0b2 minor: added missing tests 2010-10-12 15:41:24 -04:00
Kyle Banker
df0377c3d4 JRuby Test fixes 2010-10-12 15:39:28 -04:00
Kyle Banker
b0f2911170 BUMP 1.1.1 2010-10-07 17:59:12 -04:00
Kyle Banker
6afb862d17 minor: readme 2010-10-07 17:55:36 -04:00
Kyle Banker
7b3ba5e006 minor: whitespace 2010-10-07 17:46:19 -04:00
Kyle Banker
0c82f01d97 JRuby: validate key names and only move _id when necessary. 2010-10-07 17:42:39 -04:00
Kyle Banker
13f49585e9 RUBY-185 fix JRuby null pointer exception on embedded docs
Better HashWithIndifferentAccess tests
2010-10-07 17:05:45 -04:00
Kyle Banker
850159cd7c BUMP 1.1 2010-10-04 15:19:14 -04:00
Kyle Banker
36f45da765 minor: credits and history 2010-10-04 15:19:04 -04:00
Kyle Banker
3a0cdf64af remove deprecated support for implicit 2010-10-04 14:37:19 -04:00
Kyle Banker
b8d6f57602 A few more BSON fixes 2010-10-04 14:25:44 -04:00
Jari Bakken
112870b537 Get rid of missing parentheses warning. 2010-10-04 13:32:46 -04:00
Jari Bakken
9d2f3fbc27 Call super in BSON::OrderedHash#== instead of doing the comparison in Ruby.
This has a notable performance impact for large hashes.
2010-10-04 13:32:33 -04:00
Kyle Banker
b3ed1486e5 minor: updates for removal deprecated DB and Connection methods and ObjectID 2010-10-04 13:28:26 -04:00
Kyle Banker
bd4b6060f7 Removed deprecated DB methods 2010-10-04 12:16:40 -04:00
Kyle Banker
f7a97a0db0 Removed deprecated Connection methods 2010-10-04 12:16:11 -04:00
Kyle Banker
8dce3a613d Removed deprecated ObjectID class (use ObjectId now) 2010-10-04 12:15:14 -04:00
Kyle Banker
a743508611 removed prototype callback class 2010-10-04 12:14:16 -04:00
Kyle Banker
bf10db9b21 minor: ObjectId optimization 2010-10-04 12:09:29 -04:00
Kyle Banker
7ad280c2cb RUBY-184 Connection#locked? 2010-10-04 11:38:20 -04:00
Kyle Banker
2ed0adbbc6 Fix C extension to handle BSON::Code (no longer a subclass of String) 2010-10-01 17:03:26 -04:00
Kyle Banker
3b5aac6de6 Encoder number handling cleanup 2010-10-01 16:29:31 -04:00
Kyle Banker
694f011087 BSON test suite cleanup 2010-10-01 16:29:12 -04:00
Kyle Banker
51964f8ad5 Fix INT / LONG serialization 2010-10-01 14:56:31 -04:00
Kyle Banker
c04dfec1db Revert JRuby callback to use RubyBSONCallback 2010-10-01 13:57:16 -04:00
Kyle Banker
159c89b8b4 Java callback class returns LinkedHashMap 2010-10-01 13:56:51 -04:00
Kyle Banker
315e608cd4 Optimized callback class to return Java objects 2010-10-01 09:52:29 -04:00