I'm attempting to upgrade to the latest available ruby driver gem
which is apparently 1.0.5[1]. This version, unfortunately, does an
assert_valid_keys on the options passed to Collection#map_reduce and
does not include :scope as a valid parameter. Even though the docs
don't explicitly mention this option, it worked just fine in older
versions of the driver and is documented as an option in the "official
map reduce documentation"[2]. It also appears that the latest driver
API docs are for a 1.0.6 version[3] that has not yet been released as
a gem. Viewing source there indicates that this assert_valid_keys line
has been removed.
My questions are:
1) Is scope actually a valid option (I really hope so...)
2) What is the ETA on the release of the 1.0.6 gem?
3) Any advice on a workaround that doesn't involve a fork?
Thanks.
Hayes
[1]
http://rubygems.org/gems/mongo/versions
[2]
http://www.mongodb.org/display/DOCS/MapReduce
[3]
http://api.mongodb.org/ruby