Tyler Brock
f55fc95bf4
RUBY-432
...
Do not encode strings to utf-8 after checking that utf-8 is valid.
Before this fix, an encoding operation could turn valid utf-8 into
invalid utf-8 if an encoding that requires conversion is forced on a
valid string.
2012-06-01 14:20:15 -04: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
Tyler Brock
6944794fb2
RUBY-422 Cleanup testing output
2012-03-16 16:17:33 -04:00
Kyle Banker
c69bfc6c13
RUBY-336 remove mocha and shoulda dependency from BSON tests
2011-11-15 16:04:33 -05:00
Kyle Banker
0ce614a55e
RUBY-277 remove dependencies on mongo gem from BSON tests.
2011-08-09 18:00:03 -04:00
Bernerd Schaefer
7f906b44b4
Silence deprecation warnings from BSON tests
2011-07-08 13:54:01 +02: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
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
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
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
Kyle Banker
54a3cbb308
minor: test validates that we remove duplicate _id only on insert.
2010-11-02 15:40:40 -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
df0377c3d4
JRuby Test fixes
2010-10-12 15:39:28 -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
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