Rack Pesticide
Rack Pesticide blocks annoying and shady crawlers and websites that pollute your logs with their HTTP referrer information.
Installation
Add this line to your application's Gemfile:
gem 'rack-pesticide', :git => 'https://github.com/mdippery/rack-pesticide.git'
And then execute:
$ bundle
Usage
Simply add these two lines of code to your config.ru
file:
require 'rack-pesticide'
use Rack::Pesticide
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 a new pull request