sensu-plugins-redis 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d4276c3c602a59e367708ccbc5fa74dca365646c
4
- data.tar.gz: fc8de75b9975656b151c64570a00b8be968562dd
2
+ SHA256:
3
+ metadata.gz: 6b389cd7b78b934753cd9e463e1f329a94b8367d2dd98dc7d1929be572e5b576
4
+ data.tar.gz: 56bcdc9d0ee8b70a9cefb8d307783b5c9a889c109c02820daa7f06baab5cb750
5
5
  SHA512:
6
- metadata.gz: 3288ecb669aab05bb08e4dad3a4afeec9c7072d8014c9e28e54497cc4ee4ec65c38bf83e69a6399944d14c454515e1e0301eb701babaf4d1f04f8eb156f8c991
7
- data.tar.gz: 78762285078483bc623f7ad05e693f99553c6c461fd722d4d93c4a6ca8e76d9e89ac619d0858e7739766a583cc633f6a8a536eb8c88c5f493d4bf30a3bd66221
6
+ metadata.gz: 9bb49bbd68e4e6184e42bc204598dbb66212518f8b9d239e61961a3d3ab148a673db25cbcf004e3e774025a9adae0992e92fc8d051eeafd8aa2bfc2484230b2f
7
+ data.tar.gz: 55c5d91651c5f1c271548358212c7c47f3e8e991fb63f7003d7a4da453529baf27d3e4e3130fb32dc21084cd225d9fc311796feddca50a07af833d1f4a68b22f
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.2.2] - 2017-11-03
10
+ ### Fixed
11
+ - check-redis-key.rb: Fix the wording of the check output on warning/critical states (@evesy)
12
+
9
13
  ## [2.2.1] - 2017-09-14
10
14
  ### Fixed
11
15
  - ensure that `--timeout` option is an integer (@empyrean987)
@@ -114,7 +118,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
114
118
  ### Added
115
119
  - initial release
116
120
 
117
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.1...HEAD
121
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.2...HEAD
122
+ [2.2.2]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.1...2.2.2
118
123
  [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.2.0...2.2.1
119
124
  [2.2.0]:https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.1.0...2.2.0
120
125
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-redis/compare/2.0.1...2.1.0
@@ -96,9 +96,9 @@ class RedisKeysCheck < Sensu::Plugin::Check::CLI
96
96
  length = redis.keys(config[:pattern]).size
97
97
 
98
98
  if length < config[:crit]
99
- critical "'keys #{config[:pattern]}' returned #{length} keys, which is below the warning limit of #{config[:crit]}"
99
+ critical "'keys #{config[:pattern]}' returned #{length} keys, which is below the critical limit of #{config[:crit]}"
100
100
  elsif length < config[:warn]
101
- warning "'keys #{config[:pattern]}' returned #{length} keys, which is below the critical limit of #{config[:warn]}"
101
+ warning "'keys #{config[:pattern]}' returned #{length} keys, which is below the warning limit of #{config[:warn]}"
102
102
  else
103
103
  ok "Redis list #{config[:pattern]} length is above thresholds"
104
104
  end
@@ -2,7 +2,7 @@ module SensuPluginsRedis
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
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.1
4
+ version: 2.2.2
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-14 00:00:00.000000000 Z
11
+ date: 2017-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
- rubygems_version: 2.6.13
227
+ rubygems_version: 2.7.2
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: Sensu plugins for working with redis