sensu-plugin 1.4.1 → 1.4.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: 8204fbb73dc9fbdfb57f567986b8997a30099ed7
4
- data.tar.gz: 97e9dc30b98663f67167badb4ed7255e67785283
3
+ metadata.gz: a5adc588001989a4c8089f311cdfe7410b372840
4
+ data.tar.gz: fdea6c65285174a18377ada8506c92a51cd3a134
5
5
  SHA512:
6
- metadata.gz: 988249ca6842ee1fbce7ad75569908d184e6249480a837a01cfc659afdd05f0518956e1cee0a1f515b782778c160df9ba037061e3d350613ca8e489e3e6a9885
7
- data.tar.gz: 983e3e9346d5a4a6faadf25edc586b64cf3b19e337b0d8e3dc1c554a5bbb837f98774972698194b92b8dd378c32caa56b143b4e3b2366d4cc00e29be8100e30a
6
+ metadata.gz: 1496be0ebe4b322b1a55f1f3071f1ca73ce0b1c7a8ad5ceab0f5d365774a11bcb2bcf31b322f73b5ac2fcf0cd03181813d60c5af009669aeedc8d3ac0db6bf56
7
+ data.tar.gz: 2039d12de7d10203e951d23829b5fb2cde18d5da3b2dde019e56a66337a9599f83cc4ae69e4fb587c9ab848eee4361b205671f369a751f3718d254f2eb81ef7e
@@ -209,6 +209,7 @@ module Sensu
209
209
  if @event['check']['dependencies'].is_a?(Array)
210
210
  @event['check']['dependencies'].each do |dependency|
211
211
  begin
212
+ next if dependency.to_s.empty?
212
213
  Timeout.timeout(2) do
213
214
  check, client = dependency.split('/').reverse
214
215
  if event_exists?(client || @event['client']['name'], check)
@@ -1,6 +1,6 @@
1
1
  module Sensu
2
2
  module Plugin
3
- VERSION = "1.4.1"
3
+ VERSION = "1.4.2"
4
4
  EXIT_CODES = {
5
5
  'OK' => 0,
6
6
  'WARNING' => 1,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Decklin Foster
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-04 00:00:00.000000000 Z
12
+ date: 2016-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.4.5.1
114
+ rubygems_version: 2.5.1
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Sensu Plugins