Skip to content

Commit

Permalink
bump dep of sensu-plugin to 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
majormoses committed Sep 23, 2017
1 parent c728b64 commit d9f4631
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin

## [Unreleased]

### Breaking Change
- bumped requirement of `sensu-plugin` [to 2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@majormoses)

### Fixed
- check-mongodb-metric.rb: make `--metric` required since it is (@majormoses)

## [1.4.1] - 2017-09-23
### Fixed
- Support for database size metrics (@fandrews)
Expand Down
3 changes: 2 additions & 1 deletion bin/check-mongodb-metric.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ class CheckMongodbMetric < Sensu::Plugin::Check::CLI
option :metric,
description: 'Name of the metric to check',
long: '--metric METRIC',
short: '-m METRIC'
short: '-m METRIC',
required: true

option :warn,
description: 'Warn if values are above this threshold',
Expand Down
2 changes: 1 addition & 1 deletion sensu-plugins-mongodb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'bson', '~> 4.0'
s.add_runtime_dependency 'mongo', '2.4.1'
s.add_runtime_dependency 'sensu-plugin', '~> 1.2'
s.add_runtime_dependency 'sensu-plugin', '~> 2.0'

s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
Expand Down

0 comments on commit d9f4631

Please sign in to comment.