Commit Graph

59 Commits

Author SHA1 Message Date
Farrel Lifson 078354a39a Added BSON::ObjectId#to_ary 2012-05-26 01:16:11 +02:00
Gary Murakami 64c87e93a3 [Gary] require test_helper edits to work everywhere including via IDE (RubyMine), Gemfile for JRuby 2012-04-11 11:08:04 -04:00
Tyler Brock e9e0e47cc1 minor: test cleanup and fixes 2012-04-03 16:06:37 -04:00
Gary Murakami 481c57c52e fix bson test hash_with_indifferent_access, missing require 2012-03-30 11:47:06 -04:00
Tyler Brock 6944794fb2 RUBY-422 Cleanup testing output 2012-03-16 16:17:33 -04:00
Tyler Brock c802c7eba3 minor: fixes for tests in Ruby 1.8.7 2012-02-18 19:24:27 -05:00
Tyler Brock 21ad1e9aef RUBY-409 fixed test for ordered hash to actually used Array instead of hash 2012-02-13 15:19:59 -05:00
Tyler Brock 12e1af0c3d minor: tests now prefer test-unit gem in ruby 1.9.x 2012-02-06 19:25:11 -05:00
Kyle Banker c69bfc6c13 RUBY-336 remove mocha and shoulda dependency from BSON tests 2011-11-15 16:04:33 -05:00
Kyle Banker 24b9653366 RUBY-359 Fix for OrderedHash on 1.8.7 2011-11-15 12:43:29 -05:00
renctan 19c9cb778b Fixed thet timestamp serialization issues for 32bit machines. 2011-08-24 13:14:36 -04:00
Kyle Banker 50ca353b05 RUBY-277 removed unnecessary include 2011-08-10 13:49:28 -04:00
Kyle Banker 0ce614a55e RUBY-277 remove dependencies on mongo gem from BSON tests. 2011-08-09 18:00:03 -04:00
Kyle Banker 61151a4f35 RUBY-278 minor: typo 2011-08-08 17:54:25 -04:00
Kyle Banker a323911507 minor: fixed some failing tests 2011-08-08 16:05:56 -04:00
Kyle Banker eca6653bc2 RUBY-281 make BSON::OrderedHash#inspect more precise. 2011-08-05 17:43:39 -04:00
Kyle Banker 28f0f7af3e RUBY-292 OrderedHash should hash with same value as Hash. 2011-08-05 17:27:44 -04:00
Kyle Banker 5950f6850f minor: timestamp test 2011-07-15 11:09:16 -04:00
Kyle Banker 880f40bcaa Merge pull request #51 from bernerdschaefer/master
BSON test fixes
2011-07-11 06:44:18 -07:00
Bernerd Schaefer 7f906b44b4 Silence deprecation warnings from BSON tests 2011-07-08 13:54:01 +02:00
Bernerd Schaefer d0ba797fd9 Use #object_id instead of #id in test 2011-07-08 13:38:43 +02:00
Bernerd Schaefer ee198c7643 ObjectId#generate uses java.bson.types.ObjectId
Delegating ObjectId#generate when running under jruby to the java BSON
library halves the time needed to generate a new object id.
2011-06-29 14:49:53 +02:00
Kyle Banker 0821e16f92 minor: test 2011-06-22 12:06:20 -04:00
Kyle Banker fbf7b754ac RUBY-287 OrderedHash#replace 2011-06-15 16:25:20 -04:00
Kyle Banker 135bebd9ab RUBY-270 support 's' regex option.
Note: Ruby includes dotall 's' semantics on 'm' option.
2011-05-09 14:17:56 -04:00
Kyle Banker af6552ed3c RUBY-265 semantics should == Hash#reject! 2011-04-15 16:19:00 -04:00
Kyle Banker d0a4483713 RUBY-265 fix OrderedHash#reject! 2011-04-15 16:10:38 -04:00
Kyle Banker 3187761670 RUBY-258 Bytebuffer#unpack takes arbitrary format string 2011-04-01 13:36:28 -04:00
Kyle Banker db1213fc5d RUBY-139 Use BSON binary subtype 0 by default 2011-03-29 12:25:48 -04:00
Kyle Banker 017d252689 minor: test fix 2011-03-29 11:09:14 -04:00
Kyle Banker 05bf234bb8 RUBY-255 Support BSON Timestamp 2011-03-28 14:36:49 -04:00
Hongli Lai (Phusion) 6b4ca2461f Implement BSON::ByteBuffer#== 2011-03-28 11:16:54 -04:00
Hongli Lai (Phusion) 08daf9c5f9 Implement BSON::OrderedHash#dup 2011-03-28 11:16:46 -04:00
Kyle Banker b48a2bd84f RUBY-253 fix UTF8 check for Ruby 1.9 2011-03-24 12:11:12 -04:00
Kyle Banker 2bfe205c51 Merged wpiekutowski's commits to enable warnings
on test suite and clean up some code.

Conflicts:
	test/cursor_test.rb
2011-03-23 16:02:04 -04:00
Kyle Banker a8ce896c9f RUBY-245 Unique object id with timestamp 2011-03-15 16:40:27 -04:00
Kyle Banker 2b7739a257 RUBY-244 issue serializing Time in array 2011-03-04 16:51:12 -05:00
Kyle Banker e5338316c8 minor: text fix for JRuby 2011-03-04 16:42:39 -05:00
Wojciech Piekutowski ea180939fd Add parenthesis where Ruby thinks they're a good idea 2011-02-20 15:40:54 +01:00
Wojciech Piekutowski 08d99c08bb Fix indentation 2011-02-20 15:40:15 +01:00
Wojciech Piekutowski 3191aadd94 Silence Encoding.default_internal= warnings 2011-02-20 15:39:46 +01:00
Wojciech Piekutowski 57d95c9ab3 Don't require 'complex' and 'rational' libs in Ruby 1.9 - they're in core already 2011-02-20 15:37:31 +01:00
Kyle Banker 76730d4a7c RUBY-233 show invalid key on invalid key exception 2011-02-04 12:07:28 -05:00
Kyle Banker bcb37e62c7 RUBY-222 BSON::Code must be a string. 2011-01-06 10:11:15 -05:00
Kyle Banker 556d4aa271 Test for RUBY-188 2011-01-05 09:28:42 -05:00
Kyle Banker c0e972470e Fixed BSON_CODER.update_max_bson_size return value 2011-01-03 14:05:42 -05:00
Kyle Banker 9da68bb3db RUBY-189 use result of ismaster's maxBsonObjectSize 2010-12-29 18:06:31 -05:00
David A. Cuadrado e4eca05447 optimize ObjectId#to_s 2010-11-30 12:46:04 -05:00
Ryan Fitzgerald 4a1bccefae implementing as_json for object id to return structure of mongoDB extended json 2010-11-11 15:26:06 -05:00
Kyle Banker 54a3cbb308 minor: test validates that we remove duplicate _id only on insert. 2010-11-02 15:40:40 -04:00