mongo-ruby-driver/lib
Mislav Marohnić 56f37e49b6 replace usage of `returning` with `each_with_object`
`each_with_object` is a Ruby 1.9 method, here re-implemented in core_ext.rb
in case it's missing (for older Ruby versions). Using `returning` is bad in
combination with Ruby on Rails because each usage of the method will emit
a Rails deprecation warning. This might be considered an Active Support bug,
but it's better to avoid using `returning` altogether and use `tap` from
Ruby 1.8.7, also re-implemented here in case it's missing.

Since existing usages or `returning` were better suited for `each_with_object`
than `tap`, they were rewritten using the former instead.
2010-09-13 01:10:38 +08:00
..
bson When possible, have BSON::ByteBuffer store the underlying binary data as a binary String instead of an array. 2010-09-09 15:59:17 -04:00
mongo replace usage of `returning` with `each_with_object` 2010-09-13 01:10:38 +08:00
bson.rb BUMP BSON 1.0.7 2010-08-28 20:08:50 -04:00
mongo.rb BUMP 1.0.8 2010-08-27 06:27:14 -04:00