README.md in heartcheck-resque-0.0.1 vs README.md in heartcheck-resque-0.0.2
- old
+ new
@@ -1,17 +1,18 @@
# Heartcheck::Resque
[![Build Status](https://travis-ci.org/locaweb/heartcheck-resque.svg)](https://travis-ci.org/locaweb/heartcheck-resque)
+[![Code Climate](https://codeclimate.com/github/locaweb/heartcheck-resque/badges/gpa.svg)](https://codeclimate.com/github/locaweb/heartcheck-resque)
-A plugin to check resque connection with heartcheck
+##A plugin to check resque connection and error amount with [heartcheck](https://github.com/locaweb/heartcheck).
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'heartcheck-resque'
+gem 'heartcheck/resque'
```
And then execute:
$ bundle
@@ -20,18 +21,23 @@
$ gem install heartcheck-resque
## Usage
-You can add a check to resque when configure the heartcheck
+You can check any resque connection that there's in your app.
```ruby
Heartcheck.setup do |config|
config.add :resque do |c|
- c.name = 'redis'
+ c.add_service(failures_limit: 10)
end
end
```
+
+### Check Heartcheck example [here](https://github.com/locaweb/heartcheck/blob/master/lib/heartcheck/generators/templates/config.rb)
+
+## License
+* [MIT License](https://github.com/locaweb/heartcheck-resque/blob/master/LICENSE.txt)
## Contributing
1. Fork it ( https://github.com/locaweb/heartcheck-resque/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)