sensu-plugins-elasticsearch 4.0.0 → 4.0.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
  SHA256:
3
- metadata.gz: 970b09f048442fb272daf3b4a366ba6f1fe19707aa98149140e6e34c40be6ecf
4
- data.tar.gz: c430607238dd32f68da4c3bd46ba5a460aba0fae7a4eb33fab99c5934572c4f1
3
+ metadata.gz: d870eecf676c3919ac2fa00619d61343cb7136e8a6bd999023d554012799cd05
4
+ data.tar.gz: 29e983435d4453536274e98ae873146fa148b9fbcd0070ea3860335f9e6be658
5
5
  SHA512:
6
- metadata.gz: a50e5822fbef739bd51c7b8c9c1edb422af847a04c9727c6d730e4eefab09eb3a6c358da8d54c248a68e39c29abf46ba9de04601534c952f213665bb3f50a814
7
- data.tar.gz: 44d00a15f7ab98b4863ccdaa8d4441d8d1b2dc65e178b19d92c80f31d4e63ec99cc7da9301e4c175dd5b986385917992b688d4286797cfb947fe7ec1027e3b49
6
+ metadata.gz: 892206424507b0a0cf348f663a0e173c753a05a39f985c2af9256f846f05664211abaa98da56c0b8ec0b0f8c068c785ae0db90a54cd98e7391db0796150c9d53
7
+ data.tar.gz: a0009126f277e13d73140dba695ef0caa263194876c399040e372222b8a2e928d11dcfc7b3610e3e3dc7b17f586975e90f89011071e02572865600f0c38ed4e7
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.0.1] - 2019-06-21
9
+ ### Fixed
10
+ - Fix for JSON.parse in metrics checks commands that inheret from Sensu::Plugin::Metric::CLI::JSON:Class
11
+
8
12
  ## [4.0.0] - 2019-05-07
9
13
  ### Breaking Changes
10
14
  - Bump `sensu-plugin` dependency from `~> 3.0` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
@@ -267,7 +271,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
267
271
  - initial release
268
272
 
269
273
 
270
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.0...HEAD
274
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.1...HEAD
275
+ [4.0.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/4.0.0...4.0.1
271
276
  [4.0.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/3.0.0...4.0.0
272
277
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/2.1.0...3.0.0
273
278
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/2.0.1...2.1.0
@@ -122,7 +122,7 @@ class ESClusterMetrics < Sensu::Plugin::Metric::CLI::Graphite
122
122
  timeout: config[:timeout],
123
123
  headers: headers)
124
124
  end
125
- JSON.parse(r.get)
125
+ ::JSON.parse(r.get)
126
126
  rescue Errno::ECONNREFUSED
127
127
  warning 'Connection refused'
128
128
  rescue RestClient::RequestTimeout
@@ -142,7 +142,7 @@ class ESNodeGraphiteMetrics < Sensu::Plugin::Metric::CLI::Graphite
142
142
  timeout: config[:timeout],
143
143
  headers: headers)
144
144
  end
145
- JSON.parse(r.get)
145
+ ::JSON.parse(r.get)
146
146
  rescue Errno::ECONNREFUSED
147
147
  warning 'Connection refused'
148
148
  rescue RestClient::RequestTimeout
@@ -103,7 +103,7 @@ class ESMetrics < Sensu::Plugin::Metric::CLI::Graphite
103
103
  timeout: config[:timeout],
104
104
  headers: headers)
105
105
  end
106
- JSON.parse(r.get)
106
+ ::JSON.parse(r.get)
107
107
  rescue Errno::ECONNREFUSED
108
108
  warning 'Connection refused'
109
109
  rescue RestClient::RequestTimeout
@@ -2,7 +2,7 @@ module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 4
4
4
  MINOR = 0
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-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.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: 2019-05-08 00:00:00.000000000 Z
11
+ date: 2019-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-es-transport
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  - !ruby/object:Gem::Version
344
344
  version: '0'
345
345
  requirements: []
346
- rubygems_version: 3.0.3
346
+ rubygems_version: 3.0.4
347
347
  signing_key:
348
348
  specification_version: 4
349
349
  summary: Sensu plugins for elasticsearch