sensu-plugins-meta 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/bin/check-meta-ruby.rb +3 -2
- data/lib/sensu_plugins_meta/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d45d25ee3c6d4187a23fa4528e5d74ad14970c0
|
4
|
+
data.tar.gz: 9e6d8e38a85428105da3b5a36ba9d0ab875b1d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8848b1d5fa05ecf2da381f7799552a955c8ca471572a8ebf61702e0f8ece140997002cdacdf33787579c550ef8fc81824003d9e2f1ae199cbee47fd1c6fc1051
|
7
|
+
data.tar.gz: d191ec52430eedf1287a2ff059263b9c24ab40ee9ad968c5ae9adf52fe35dc42d88b35a0adfa9667145770b6c2e8faf2a8b80aef00fa70997239ac0c68aa0699
|
data/CHANGELOG.md
CHANGED
@@ -3,12 +3,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
|
-
## [
|
6
|
+
## [0.2.0] - 2017-04-18
|
7
7
|
### Added
|
8
8
|
|
9
|
+
### Changed
|
10
|
+
- Enable compatibility with sensu-plugin 2.x
|
11
|
+
|
9
12
|
## [0.1.0] - 2017-03-07
|
10
13
|
### Added
|
11
14
|
- Initial release
|
12
15
|
|
13
|
-
[
|
16
|
+
[0.2.0]: https://github.com/socrata-platform/sensu-plugins-meta/compare/0.1.0...0.2.0
|
14
17
|
[0.1.0]: https://github.com/socrata-platform/sensu-plugins-meta/tree/v0.1.0
|
data/bin/check-meta-ruby.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: utf-8
|
3
3
|
# frozen_string_literal: false
|
4
|
+
|
4
5
|
#
|
5
6
|
# check-meta-ruby.rb
|
6
7
|
#
|
@@ -76,7 +77,7 @@ class CheckMetaRuby < Sensu::Plugin::Check::CLI
|
|
76
77
|
# appropriate status.
|
77
78
|
#
|
78
79
|
def summarize!
|
79
|
-
%i
|
80
|
+
%i[critical warning unknown].each do |status|
|
80
81
|
send(status, summary) unless results[status].empty?
|
81
82
|
end
|
82
83
|
ok(summary)
|
@@ -89,7 +90,7 @@ class CheckMetaRuby < Sensu::Plugin::Check::CLI
|
|
89
90
|
# @return [String] a long string of all the non-ok subcheck statuses
|
90
91
|
#
|
91
92
|
def status_information
|
92
|
-
%i
|
93
|
+
%i[unknown warning critical].map do |status|
|
93
94
|
results[status].map { |result| "#{status.upcase}: #{result}" }
|
94
95
|
end.flatten.compact.join("\n")
|
95
96
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
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-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
262
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.6.
|
263
|
+
rubygems_version: 2.6.11
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Sensu plugins for batching multiple checks as one
|