sensu-plugins-mongodb 1.4.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0919b06843f450fb639090c26def752b9eedd4b0
4
- data.tar.gz: a820edf6b49ea5134616671d5e863fcbc7125e51
3
+ metadata.gz: 9cad86bbe4e2fdedb6747c2b06690be2a8cb66aa
4
+ data.tar.gz: 90516b7d5df4b221fa7f93188822e13891607a1e
5
5
  SHA512:
6
- metadata.gz: e6bee1f9d49f4f5f9d6cf20ae34ec4d80f15fecde97aa32a1e7e624b067cdc413a12ace6dc05ecf4cd7cafdf603c891b7cf4a9fc25476554b5b16a3e61319b28
7
- data.tar.gz: 7fb9a532d9f048e715d7fac1d1f9c627911eeae1bbefb851fa90bb9a5486fb05fad445f1538a295bd14be5c10bf1e3322d7aa422288383af9adaafc887d33f27
6
+ metadata.gz: 38fc0323ac0f053ae14dde243f2f396c0b157719bf4e186e28ebfc94b2a146848cfebe918f8255d94d895d600e8fd1e37f8807e82381ce39dbe499d0cb493d15
7
+ data.tar.gz: 30ef951a0b3ce86c0e9a23178593f21f1fb059c10640b90f1e709b665f7c0a8fd44c4f5c5e88d2cd2a05fadefbcb3548f61a6d9ae571b90cdcca6e4b90d97ff0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.0.0] - 2017-09-23
9
+ ### Breaking Change
10
+ - bumped requirement of `sensu-plugin` [to 2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@majormoses)
11
+
12
+ ### Fixed
13
+ - check-mongodb-metric.rb: make `--metric` required since it is (@majormoses)
14
+
8
15
  ## [1.4.1] - 2017-09-23
9
16
  ### Fixed
10
17
  - Support for database size metrics (@fandrews)
@@ -114,7 +121,8 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
114
121
  ### Added
115
122
  - initial release
116
123
 
117
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.1...HEAD
124
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.0...HEAD
125
+ [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.1...2.0.0
118
126
  [1.4.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.0...1.4.1
119
127
  [1.4.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.3.0...1.4.0
120
128
  [1.3.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.2.1...1.3.0
@@ -95,7 +95,8 @@ class CheckMongodbMetric < Sensu::Plugin::Check::CLI
95
95
  option :metric,
96
96
  description: 'Name of the metric to check',
97
97
  long: '--metric METRIC',
98
- short: '-m METRIC'
98
+ short: '-m METRIC',
99
+ required: true
99
100
 
100
101
  option :warn,
101
102
  description: 'Warn if values are above this threshold',
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsMongoDB
2
2
  module Version
3
- MAJOR = 1
4
- MINOR = 4
5
- PATCH = 1
3
+ MAJOR = 2
4
+ MINOR = 0
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.2'
47
+ version: '2.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.2'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement