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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af92cbbb28bc9c17d4c90d229e2f1eab8a0c5617
4
- data.tar.gz: 45eda5fef6a258e566fc306ee2aeea01a7628c80
3
+ metadata.gz: 8d45d25ee3c6d4187a23fa4528e5d74ad14970c0
4
+ data.tar.gz: 9e6d8e38a85428105da3b5a36ba9d0ab875b1d8f
5
5
  SHA512:
6
- metadata.gz: ffe171614f4e544d4f0cac8401111db348ffa9caeb89898ad8acc549cf1fbec5c2b8fb921b8df52ea000ad4d8ae155ee232ef92707611a79040ff7fc9b5996ae
7
- data.tar.gz: d1b8e0ed0d5a47faa17804e2abf2a2442020f38f4e3cb9f997b5f3eae064340af33580129e718528c597574fe3fdae3b64875ee82437793dd3ec2d4d19856929
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
- ## [Unreleased]
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
- [Unreleased]: https://github.com/socrata-platform/sensu-plugins-meta/compare/0.1.0...HEAD
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
@@ -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(critical warning unknown).each do |status|
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(unknown warning critical).map do |status|
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
@@ -4,7 +4,7 @@
4
4
  module SensuPluginsMeta
5
5
  module Version
6
6
  MAJOR = 0
7
- MINOR = 1
7
+ MINOR = 2
8
8
  PATCH = 0
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  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.1.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-03-07 00:00:00.000000000 Z
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: '1.2'
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: '1.2'
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.8
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