sensu-plugins-http 2.0.1 → 2.0.2

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: affca08f3aef9b6807f551b57eada0ae05e3cfae
4
- data.tar.gz: 2c39c5f2d7162f07db9b27526a8611178bf2f9fb
3
+ metadata.gz: a2688318fd63b4bc7b3776c42e97babce536897c
4
+ data.tar.gz: e6168f39d78aabe8c5592ded921124798ff01e33
5
5
  SHA512:
6
- metadata.gz: 8a3ea2c90ce200aa36b6d8a3adbe6c7d88635a74c3080de980f17605cff1e5a7dec5a6a0cf860f89a47f0247c5203951886020a947fc9e23aa980061d71dc7d2
7
- data.tar.gz: 0f5bf5a0a8059b0626dbf25e6c5ffcb27366256f5a42be81842b1e221afbc2aca06433c412de2e140041ed0097e059ef1947f1fd1cf69b007cf9dd9560f17f81
6
+ metadata.gz: 9d7c6302e36e1703eb97508f6793f6ffc204ca55a3ad50654f4257e5d1baaf41e484aa38a4aea529f481830ce44f3364608caee395b42035e1f53a7276e38ec2
7
+ data.tar.gz: 0213ef5075fe92db8d4348dba3fc511fd0fbc0fac9bde4612d112c364d4e918df9709bd63aa96a4f2d4814052f185611908fd061ddd61184d0a8f43b655a7e4a
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.0.2] - 2017-03-13
9
+ ### Fixed
10
+ - `metrics-http-json-deep`: fix Regexp error (@nevins-b)
11
+
8
12
  ## [2.0.1] - 2017-02-21
9
13
  ### Fixed
10
14
  - `check-http-json`: fix incorrect "key not found" error when key value is null (@marktheunissen)
@@ -113,7 +117,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
113
117
  ### Added
114
118
  - Initial release
115
119
 
116
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.0.1...HEAD
120
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.0.2...HEAD
121
+ [2.0.2]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.0.1...2.0.2
117
122
  [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.0.0...2.0.1
118
123
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/1.0.0...2.0.0
119
124
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/0.4.0...1.0.0
@@ -79,7 +79,7 @@ class JsonDeepMetrics < Sensu::Plugin::Metric::CLI::Graphite
79
79
 
80
80
  def deep_value(hash, scheme = '')
81
81
  hash.each do |key, value|
82
- ekey = key.tr(/ /, '_')
82
+ ekey = key.gsub(/\s/, '_')
83
83
  if value.is_a?(Hash)
84
84
  deep_value(value, "#{scheme}.#{ekey}")
85
85
  else
@@ -2,7 +2,7 @@ module SensuPluginsHttp
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
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-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.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-02-21 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin