mongoid / mongoid-grid_fs

A pure Mongoid/Moped implementation of the MongoDB GridFS specification.
Other
83 stars 50 forks source link

Deal with BSON namespace change in Mongoid 4.0 #30

Closed mshibuya closed 11 years ago

mshibuya commented 11 years ago

Mongoid 4.0 no longer uses Moped::BSON but bson-ruby's BSON, which makes our tests not runnable. This pull request try to solve it by checking existence of constant Moped::BSON.

gautamrege commented 11 years ago

:+1:

rmm5t commented 11 years ago

This should be fixed in #26. Let me know if we missed something.

mshibuya commented 11 years ago

It worked by using the latest master, thanks!