Commit Graph

33 Commits

Author SHA1 Message Date
Hongli Lai (Phusion) c8726ca150 Optimize MongoDB::Cursor#construct_query_message. 2010-09-13 10:51:15 -04:00
Hongli Lai (Phusion) bde53f1e20 Optimize ByteBuffer: use binary string as underlying storage instead of array. 2010-09-13 10:51:02 -04:00
Hongli Lai (Phusion) 3e77299ec1 Improve ByteBuffer unit tests. 2010-09-13 10:50:50 -04:00
Hongli Lai (Phusion) b9de2eaa5c When possible, have BSON::ByteBuffer store the underlying binary data as a binary String instead of an array.
This dramatically improves the performance of BSON::ByteBuffer.new(a_string).
On Ruby 1.9.2 it is about 130 times faster.
2010-09-09 15:59:17 -04:00
Kyle Banker 7309d7e48b Path fixes for test in Ruby 1.9.2 2010-09-09 15:58:51 -04:00
Kyle Banker d0e97a2863 minor: remove deprecated ObjectID references in tests 2010-09-09 14:27:34 -04:00
Kyle Banker 5838b9aef7 RUBY-173 allow HashWithIndifferentAccess 2010-08-28 12:19:26 -04:00
Kyle Banker 2eaca6bc8e RUBY-172 fix for OrderedHash#clone 2010-08-27 15:50:42 -04:00
Kyle Banker 0a0d5d2e39 minor: fix enumerator text for Ruby 1.9 2010-08-27 06:23:07 -04:00
Kyle Banker 02a0c7c2dc RUBY-165 raise error if BSON.serialize is passed something other than a hash 2010-08-24 14:01:24 -04:00
Kyle Banker c7c309b00d RUBY-158 deprecate BSON::ObjectID for BSON::ObjectId 2010-08-24 12:49:23 -04:00
Kyle Banker bacb1ee69e RUBY-167 fix OrderedHash#reject 2010-08-23 14:19:32 -04:00
Kyle Banker e9de3e56ea RUBY-139 add new sub-type 0. Will become default with the release of mongod 1.8 2010-08-04 15:39:31 -04:00
Kyle Banker bb7cb79030 minor: fix for to_json 2010-07-07 17:04:45 -04:00
Ryan Angilly a7de4f2eed make BSON::OrderedHash equal to other types of hashes in both directions 2010-06-24 12:52:28 -05:00
Kyle Banker 99c2d1463e RUBY-131 read bson io object; b2json executable (neomantra) 2010-05-28 14:01:51 -04:00
Kyle Banker b33755fd46 RUBY-130 2010-05-24 11:43:44 -04:00
Kyle Banker 653d156a8a better object id representation for inspect 2010-05-18 12:22:19 -04:00
Mike Dirolf d68e42812e respect Encoding.default_internal in BSON decoder 2010-05-07 15:15:52 -04:00
Kyle Banker 06c7934675 RUBY-127 2010-05-07 15:15:52 -04:00
sleverbor ed76126a12 namespaced the OrderedHash class 2010-05-06 18:25:18 -07:00
Kyle Banker 7b89523315 added Grid#exist? and GridFileSystem#exist? RUBY-122 2010-05-05 11:07:52 -04:00
Kyle Banker cc0192b2cc represent inspected ObjectID using extended JSON format 2010-04-13 11:30:13 -04:00
Kyle Banker 860ab356d2 RUBY-121 2010-04-12 12:01:50 -04:00
Kyle Banker e18d2d6fbb removed deprecated RegexpOfHolding 2010-04-07 16:32:25 -04:00
Kyle Banker 2e78eb6c66 RUBY-118 2010-04-05 15:48:35 -04:00
Kyle Banker 63b0dfc6c9 test fixes for move to bson gem 2010-04-05 11:07:01 -04:00
Kyle Banker c4d5cb641b renamed mongo_bson to bson 2010-04-05 10:39:55 -04:00
Kyle Banker 40b481ad3c RUBY-111 2010-03-31 15:16:12 -04:00
Kyle Banker 6139c27df0 included old BSON constant for deprecation warning 2010-03-19 18:10:18 -04:00
Kyle Banker 372f578389 minor: test fix 2010-03-19 16:00:17 -04:00
Charles Remes a9b3c8e7a5 Try again: Split the BSON logic out to a separate gem
- changed the BSON constant to BSON_CODER and scoped it inside
      of a module

    - changed the directory layout for all of the BSON related files

    - updated the C extension to find the BSON files at their new
      directory locations

    - updated the C extension to use better/safer macros for accessing
      the C API; extension now compiles cleanly under rubinius/rbx

    - changed directory layout for BSON related tests

    - modified the Rakefile to understand the new layout
2010-03-17 14:55:19 -05:00
Charles Remes 18d7d1c699 Split the BSON logic out to a separate gem
- changed the BSON constant to BSON_CODER and scoped it inside
  of a module

- changed the directory layout for all of the BSON related files

- updated the C extension to find the BSON files at their new
  directory locations

- updated the C extension to use better/safer macros for accessing
  the C API; extension now compiles cleanly under rubinius/rbx

- changed directory layout for BSON related tests

- modified the Rakefile to understand the new layout
2010-03-17 14:30:33 -05:00