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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/metrics-http-json-deep.rb +1 -1
- data/lib/sensu-plugins-http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2688318fd63b4bc7b3776c42e97babce536897c
|
4
|
+
data.tar.gz: e6168f39d78aabe8c5592ded921124798ff01e33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d7c6302e36e1703eb97508f6793f6ffc204ca55a3ad50654f4257e5d1baaf41e484aa38a4aea529f481830ce44f3364608caee395b42035e1f53a7276e38ec2
|
7
|
+
data.tar.gz: 0213ef5075fe92db8d4348dba3fc511fd0fbc0fac9bde4612d112c364d4e918df9709bd63aa96a4f2d4814052f185611908fd061ddd61184d0a8f43b655a7e4a
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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.
|
82
|
+
ekey = key.gsub(/\s/, '_')
|
83
83
|
if value.is_a?(Hash)
|
84
84
|
deep_value(value, "#{scheme}.#{ekey}")
|
85
85
|
else
|
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.
|
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-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|