sensu-plugins-redis 2.2.0 → 2.2.1

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: 0d1204be18c161361774b000328f479cb21485f1
4
- data.tar.gz: 242aa214c4fc3c257c8f55879e1d22fe37db458f
3
+ metadata.gz: d4276c3c602a59e367708ccbc5fa74dca365646c
4
+ data.tar.gz: fc8de75b9975656b151c64570a00b8be968562dd
5
5
  SHA512:
6
- metadata.gz: c5ad7b9d190e2e6cc7e224dfdc08040dfab0ac1e2cf28f2c1648b24d7a1f428307636c5a4bcfbd79245e5bb8c026b5bed2a8304880ef2faf69d965c34d1ac8a8
7
- data.tar.gz: 96c1dc2018738a6d472b59d551d591372b06bca02c4c6e744f9e999b04a3ee988be83562142fb5ba1b955391569a189cc8fe3322efdc2687b680fa92f4019010
6
+ metadata.gz: 3288ecb669aab05bb08e4dad3a4afeec9c7072d8014c9e28e54497cc4ee4ec65c38bf83e69a6399944d14c454515e1e0301eb701babaf4d1f04f8eb156f8c991
7
+ data.tar.gz: 78762285078483bc623f7ad05e693f99553c6c461fd722d4d93c4a6ca8e76d9e89ac619d0858e7739766a583cc633f6a8a536eb8c88c5f493d4bf30a3bd66221
data/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
- This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
4
+ This CHANGELOG follows the format listed at [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
5
+ Which is based on [Keep A Changelog](http://keepachangelog.com/)
5
6
 
6
7
  ## [Unreleased]
7
8
 
9
+ ## [2.2.1] - 2017-09-14
10
+ ### Fixed
11
+ - ensure that `--timeout` option is an integer (@empyrean987)
12
+
13
+ ### Changed
14
+ - update location of our CHANGELOG guidelines (@majormoses)
15
+
8
16
  ## [2.2.0] - 2017-09-09
9
17
  ### Added
10
18
  - All check scripts have a new option of `--timeout` (@empyrean987)
@@ -106,7 +114,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
106
114
  ### Added
107
115
  - initial release
108
116
 
109
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.0...HEAD
117
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.1...HEAD
118
+ [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.0...2.2.1
110
119
  [2.2.0]:https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.1.0...2.2.0
111
120
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.0.1...2.1.0
112
121
  [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.0.0...2.0.1
@@ -70,6 +70,7 @@ class RedisSlaveCheck < Sensu::Plugin::Check::CLI
70
70
  short: '-t TIMEOUT',
71
71
  long: '--timeout TIMEOUT',
72
72
  description: 'Redis connection timeout',
73
+ proc: proc(&:to_i),
73
74
  required: false,
74
75
  default: 5
75
76
 
@@ -78,6 +78,7 @@ class RedisKeysCheck < Sensu::Plugin::Check::CLI
78
78
  short: '-t TIMEOUT',
79
79
  long: '--timeout TIMEOUT',
80
80
  description: 'Redis connection timeout',
81
+ proc: proc(&:to_i),
81
82
  required: false,
82
83
  default: 5
83
84
 
@@ -79,6 +79,7 @@ class RedisListLengthCheck < Sensu::Plugin::Check::CLI
79
79
  short: '-t TIMEOUT',
80
80
  long: '--timeout TIMEOUT',
81
81
  description: 'Redis connection timeout',
82
+ proc: proc(&:to_i),
82
83
  required: false,
83
84
  default: 5
84
85
 
@@ -80,6 +80,7 @@ class RedisChecks < Sensu::Plugin::Check::CLI
80
80
  short: '-t TIMEOUT',
81
81
  long: '--timeout TIMEOUT',
82
82
  description: 'Redis connection timeout',
83
+ proc: proc(&:to_i),
83
84
  required: false,
84
85
  default: 5
85
86
 
@@ -62,6 +62,7 @@ class RedisChecks < Sensu::Plugin::Check::CLI
62
62
  short: '-t TIMEOUT',
63
63
  long: '--timeout TIMEOUT',
64
64
  description: 'Redis connection timeout',
65
+ proc: proc(&:to_i),
65
66
  required: false,
66
67
  default: 5
67
68
 
@@ -67,6 +67,7 @@ class RedisPing < Sensu::Plugin::Check::CLI
67
67
  short: '-t TIMEOUT',
68
68
  long: '--timeout TIMEOUT',
69
69
  description: 'Redis connection timeout',
70
+ proc: proc(&:to_i),
70
71
  required: false,
71
72
  default: 5
72
73
 
@@ -43,6 +43,7 @@ class RedisSlaveCheck < Sensu::Plugin::Check::CLI
43
43
  long: '--timeout TIMEOUT',
44
44
  description: 'Redis connection timeout',
45
45
  required: false,
46
+ proc: proc(&:to_i),
46
47
  default: 5
47
48
 
48
49
  def run
@@ -2,7 +2,7 @@ module SensuPluginsRedis
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-09 00:00:00.000000000 Z
11
+ date: 2017-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin