sensu-plugins-sensu 2.3.0 → 2.3.1

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
2
  SHA1:
3
- metadata.gz: 3a7240525d6bf313543867ab1ef374f4c20bb30f
4
- data.tar.gz: 46daf76974233d0e832a57981419df86904ebe53
3
+ metadata.gz: 9ea6a3cda96f3ff8e4b8e6cccc24f93acfff7386
4
+ data.tar.gz: 29398cd8f33ec212f1e3b348e94994a238d8adde
5
5
  SHA512:
6
- metadata.gz: 6756954b39ec49fd7bc206deaab8a4ee1b4e187ece889301d953cfa8d0bea0786fc3de37244df7d2859a445e0a49b3c9cbda7e450d9b335a93f175cd4be46d5b
7
- data.tar.gz: 83d1a8febd39f2d40014b6a940f734453b385f8e2fe1284538b40bf5f74306f0e90beccab7b0b404408799f87921f9a164f0b992dcd67f082e62ae211c8fea71
6
+ metadata.gz: 72af635c76e791b051c415b32d7e87923bcf4a66110cd6b0e8305e4e0b3751faf90caf0143d880a1bf75853ec152e0afb55c05eb177676637173c0f5010b01af
7
+ data.tar.gz: 3be770e376eac98af320e75dd66ddd82bff48ea1a5b2ed612f456609620e07c784170bdc55c993c487e08e2211a60444a70d4076148c80b47c72db9e365f46f8
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.3.1] - 2017-10-06
10
+ ### Changed
11
+ - check-stale-results.rb: update the require order for json so that it comes after sensu_plugin (@barryorourke)
12
+ - handler-purge-stale-results.rb: fix invalid hash syntax resulting in NameError (@cwjohnston)
13
+
9
14
  ## [2.3.0] - 2017-10-03
10
15
  ### Changed
11
16
  - handler-sensu.rb: more log info, with creator and reason included in json. Check name information (REMEDIATION:) at sensu server logs. Tested on sensu > 0.29. (@betorvs)
@@ -94,7 +99,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
94
99
  ### Added
95
100
  - initial release
96
101
 
97
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.0...HEAD
102
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.1...HEAD
103
+ [2.3.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.3.0...2.3.1
98
104
  [2.3.0]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.2...2.3.0
99
105
  [2.2.2]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.1...2.2.2
100
106
  [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-sensu/compare/2.2.0...2.2.1
@@ -6,9 +6,9 @@
6
6
  #
7
7
 
8
8
  require 'net/http'
9
- require 'json'
10
9
  require 'sensu-plugin/utils'
11
10
  require 'sensu-plugin/check/cli'
11
+ require 'json'
12
12
  require 'chronic_duration'
13
13
 
14
14
  class CheckStaleResults < Sensu::Plugin::Check::CLI
@@ -31,7 +31,7 @@ class HandlerPurgeStaleResults < Sensu::Handler
31
31
  option :mail_recipient,
32
32
  description: 'Mail recipient',
33
33
  long: '--mail-recipient <ADDRESS>',
34
- required => true
34
+ required: true
35
35
 
36
36
  def results
37
37
  res = []
@@ -3,7 +3,7 @@ module SensuPluginsSensu
3
3
  module Version
4
4
  MAJOR = 2
5
5
  MINOR = 3
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.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-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin