mattpuchlerz/sinatra-mongoid-config — pull request #3 by gr4y (2011-11-27 18:19:01+00:00)
Title: update to recent sinatra and mongoid versions

Hi Matt,

I've found your gem, cause I found that getting an connection to MongoDB in Sinatra Apps was a little pain in the... spine. As I tried your extension in my application I noticed it didn't work with the recent version of mongoid and sinatra.

Instead of bugging you with an issue I have forked it and updated the versions of mongoid and sinatra in the gemspec. According to the actual documentation of mongoid the sinatra_app= method wasn't really needed. I replaced this with an option, based on the documentation.

I even added an Rake- and Gemfile. I thought you maybe want to merge my changes into your version.