Rack::Ermahgerd
Translate the text of a Rack application's web response to ERMAHGERD-ish with this piece of Rack Middleware. It modifies the response, so newer versions of Rails will not work with it. I've tested it to be working with Sinatra and plain rack apps.
Installation
Add this line to your application's Gemfile:
gem 'rack-ermahgerd'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-ermahgerd
Usage
Use it as middleware in your rack based application. In your Sinatra app or Rackup file add the following:
require 'rack-ermahgerd'
use Rack::Ermahgerd
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request