Commit Graph

1268 Commits

Author SHA1 Message Date
Kyle Banker
12a9e021be BUMP 1.2.rc0 and HISTORY 2011-01-05 12:13:35 -05:00
Kyle Banker
a197ea7852 RUBY-219 minor: use opts instead of options throughout 2011-01-05 11:30:20 -05:00
Nick Stielau
0b07efeb37 Fixing link to tutorial; changed from relative to absolute. 2011-01-05 11:29:55 -05:00
Kyle Banker
8a646fbf00 RUBY-135 Oops. Yajl compability mode doesn't support object_class 2011-01-05 10:23:09 -05:00
Kyle Banker
f8fa61d4e0 RUBY-135 Use yajl in JSON compatibility mode for j2bson 2011-01-05 10:18:07 -05:00
Kyle Banker
af0ecde925 RUBY-204 Collection construct now has analogous API
to DB constructor (i.e., name comes first)
2011-01-05 09:44:46 -05:00
Kyle Banker
fa583762e7 RUBY-203 Use Hash#fetch when possible 2011-01-05 09:34:09 -05:00
Kyle Banker
556d4aa271 Test for RUBY-188 2011-01-05 09:28:42 -05:00
Kyle Banker
9798626053 RUBY-188 fix for bson_ext on Windows 2011-01-04 18:09:41 -05:00
Kyle Banker
e55136e056 minor: doc and Collection#update clarification 2011-01-04 18:08:29 -05:00
Kyle Banker
ae202d590e RUBY-192; Updates for Collection#ensure_index 2011-01-03 16:16:24 -05:00
Kyle Banker
bc5dcdfc7f Fix for undefined symbol rb_long2int 2011-01-03 16:15:58 -05:00
Kyle Banker
dbcc9042bf Updated to Java driver 2.4 for JRuby 2011-01-03 15:09:46 -05:00
Kyle Banker
9babfc95bb minor: BSON constant fix 2011-01-03 15:09:07 -05:00
Ben Burkert
2828b19111 Better .gemspec.
* Seperate gemspec for the java platform gem.
* Don't include jruby.jar.
* Don't include unnecessary files.
2011-01-03 14:24:17 -05:00
eregon
a0389b0668 define R{ARRAY,STRING}_LENINT if there are not 2011-01-03 14:21:12 -05:00
eregon
3ab2acbf4f Get rid of "implicit conversion 64-bit 32-bit" warnings
This resolves "warning: implicit conversion shortens 64-bit value into a 32-bit value"
The problem is String/Array length is a long (so 64 bits on some platforms instead of 32) and the extension use int
There are 2 solutions:
* use long everywhere (but waste of memory, and hard to do)
* cast into ints (but potential lost of data)
I did the second, because all these cases are about String/Array lengths,
and it is very unlikely to have a String/Array of more than 2 billions elements (that would mean at least 2GB in memory).

The last cast might need to be reviewed (htonl((int)time(NULL))) because htonl want a 32-bit int, but time(NULL) will overflow with the year 2038 problem.
2011-01-03 14:20:58 -05:00
Kyle Banker
70bbb6f1fc minor: claification 2011-01-03 14:11:29 -05:00
Kyle Banker
4d2d0a26af minor: docs 2011-01-03 14:06:41 -05:00
Kyle Banker
c0e972470e Fixed BSON_CODER.update_max_bson_size return value 2011-01-03 14:05:42 -05:00
Kyle Banker
b83877527e minor: docs 2010-12-30 15:45:24 -05:00
Kyle Banker
49d7bb0883 minor: specify mapreduce output collection (required as of 1.7.5) 2010-12-30 15:43:35 -05:00
Kyle Banker
4e5b1a7d23 RUBY-205 RUBY-150 Support new connection URI options 2010-12-30 15:40:50 -05:00
Kyle Banker
9da68bb3db RUBY-189 use result of ismaster's maxBsonObjectSize 2010-12-29 18:06:31 -05:00
Kyle Banker
01c38eabdd Use retry instead of while loop for rescuing connection failure (quasor) 2010-12-29 13:13:54 -05:00
Kyle Banker
b77b3fe1e6 RUBY-215 added Connection#read_primary? and ReplSetConnection#read_primary? 2010-12-29 13:01:05 -05:00
Nick Stielau
b3b1cd091a Updating docs about using :fields to exclude _id. 2010-12-29 12:10:24 -05:00
Kyle Banker
b244c28d1c 1.2.rc0 BUMP for development 2010-12-29 12:09:43 -05:00
eregon
191db33a1a fix declaration-after-statement warnings of ruby trunk
The commit bd0a9d2fb6
adds -Werror=declaration-after-statement. This may cause an error and make gem installation fail
See http://www.ruby-forum.com/topic/714046
2010-12-29 12:06:38 -05:00
thickpaddy
30cce6322e Update check for little endian to work with ruby 1.8.6 2010-12-28 10:40:55 +00:00
Kyle Banker
505f149291 1.1.5 history and credits. 2010-12-15 15:29:36 -05:00
Kyle Banker
3c9f0f39f6 BUMP 1.1.5 2010-12-15 15:21:51 -05:00
Kyle Banker
96e1adbb23 minor: ensure index tests 2010-12-15 15:16:36 -05:00
Kyle Banker
8b1f20b3cb RUBY-210 GridIO#seek with GridIO#read_all 2010-12-15 15:07:30 -05:00
Kyle Banker
196a84ebd0 Fix for repl set manager 2010-12-15 15:07:01 -05:00
Kyle Banker
1095a39299 Better tests for reading rs secondaries 2010-12-15 14:16:05 -05:00
Kyle Banker
70135a6b67 minor: docs 2010-12-15 14:15:49 -05:00
Kyle Banker
6196c8728a RUBY-206 handle wtimeout behavior on 1.7.3 2010-12-15 14:15:20 -05:00
Kyle Banker
a825500784 Updated ReplSetConnection docs 2010-12-15 14:14:06 -05:00
Kyle Banker
fe897d077c minor: no longer using a new db per test run 2010-12-15 12:55:06 -05:00
Kyle Banker
7ee45f4340 Removed three unused methods from Connection 2010-12-15 12:41:33 -05:00
Kyle Banker
9ea8fe98b7 minor: cleanup and organization of Connection classes 2010-12-15 12:36:43 -05:00
Kyle Banker
b8bb480c2c minor: gemspec update 2010-12-15 12:23:26 -05:00
Kyle Banker
6ee13ad792 minor: increase pool size on pooled threading test. 2010-12-15 12:19:58 -05:00
Kyle Banker
28645ed536 minor: remove Rake tasks for individual replication tests. 2010-12-15 12:18:57 -05:00
Kyle Banker
55f839fe0d minor: better test filename 2010-12-15 12:16:10 -05:00
Kyle Banker
f38f2c32f7 Removed redundant test 2010-12-15 12:14:40 -05:00
Kyle Banker
39b9656fc4 Fixed request id checking for threaded inserts. 2010-12-15 12:12:51 -05:00
Kevin Rood
81fff198fe Fixed issue preventing "test_threading_large_pool" from being run. 2010-12-15 11:25:26 -05:00
Kyle Banker
2d2122d5f4 Fix for when port isn't specified on rs nodes (Alex Stupka) 2010-12-14 17:46:40 -05:00