sinatra/sinatra-contrib — Issue #35: Idea: glues for popular gems
Author: rstacruz
Created: 2012-02-25 10:44:06+00:00
State: open

A lot of people are averse to the idea of using Sinatra because they like the conveniences that Rails gives them. Perhaps sinatra-contrib can make some of those features available in an easy-to-include way.

For instance:

* include Compass support in any Sinatra project by simply doing `register Sinatra::CompassSupport`, which will patch the SASS/SCSS options to take Compass files in consideration.

* include Sequel support through `register Sinatra::SequelSupport` -- there's a `sinatra-sequel` gem right now that is unmaintained and isn't even compatible with MySQL or new Sequel migrations.

* include I18n support with a simple plugin, as well. This will automatically provide helpers (like `t`) and read localization YAML files in config/.

* include Sprockets support with a simple plugin, too. Same with ActiveRecord(?), etc

Would the sinatra-contrib team be interested in these? If I (or other people) were to work on these things, what would the chances of them being merged into the project?