Poke
Automated network checks
Installation
Add this line to your application's Gemfile:
gem 'poke'
And then execute:
$ bundle
Or install it yourself as:
$ gem install poke
Usage
require 'poke'
checks = [
Poke::Checks::Blacklist::SpamhausBlacklistCheck.new("1.2.3.4"),
Poke::Checks::Blacklist::FreeBlacklistCheck.new("4.3.2.1")
]
Poke::Poke.new(checks, Poke::Outputers::Outputer.new).run
Contributing
- Fork it ( http://github.com/aerialls/poke/fork )
- 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