ankane/ahoy — pull request #26 by ahoward (2014-07-02 15:45:25+00:00)
Title: feature detect correct mongoid BSON implementation

you can't rely on ::BSON just because mongoid is in use. this patch recognizes Moped::BSON as per http://mongoid.org/en/moped/docs/bson.html