mongodb/mongo-ruby-driver — pull request #194 by estolfo (2013-05-08 21:30:30+00:00)
Title: Ruby 607 nearest read pref

Specifying a :nearest read preference was failing in the read preference module. This pull request fixes the issue so that :nearest can be used as a read preference.

A unit test is part of this PR as well to verify that select_pool works for each read mode in the read preference module.