Skip to content

Commit

Permalink
Merge pull request #2 from digaoddc/heartcheck_dependency
Browse files Browse the repository at this point in the history
Manage Dependency
  • Loading branch information
rafaellima authored Oct 19, 2017
2 parents a95397c + c15fc95 commit 3690fcd
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.4
- 2.3.0
services:
- redis-server
before_install: gem install bundler -v 1.10.6
install: bundle install -j 4 --retry 3
script:
- bin/rspec

matrix:
include:
- rvm: "1.9.3"
gemfile: Gemfile-old-ruby
- rvm: "2.0.0"
- rvm: "2.1.7"
- rvm: "2.2.4"
- rvm: "2.3.0"
- rvm: "2.4.0"
6 changes: 6 additions & 0 deletions Gemfile-old-ruby
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'rack', '~> 1.6.8'

# Specify your gem's dependencies in heartcheck-resque.gemspec
gemspec
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![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](https://github.com/locaweb/heartcheck).
##A plugin to check resque connection and error amount with [heartcheck](https://github.com/locaweb/heartcheck).

## Installation

Expand All @@ -28,7 +28,7 @@ You can check any resque connection that there's in your app.
```ruby
Heartcheck.setup do |config|
config.add :resque do |c|
c.add_service(failures_limit: 0)
c.add_service(failures_limit: 10)
end
end
```
Expand Down
2 changes: 1 addition & 1 deletion heartcheck-resque.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 0.27.0', '>= 0.27.1'
spec.add_development_dependency 'pry-nav', '~> 0.2.0', '>= 0.2.4'

spec.add_dependency 'heartcheck', '~> 1.0.0', '>= 1.0.0'
spec.add_dependency 'heartcheck', '~> 1.0', '>= 1.0.0'
spec.add_dependency 'resque', '~> 1.0'
end
2 changes: 1 addition & 1 deletion lib/heartcheck/resque/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Heartcheck
module Resque
VERSION = '0.0.1'
VERSION = '0.0.2'
end
end

0 comments on commit 3690fcd

Please sign in to comment.