sensu-settings 10.4.0 → 10.5.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: 6c5b2454c21bd8dac94282bf6ab6daf6a2c7589d
4
- data.tar.gz: f0f516937a784b9c2b644b02d4a8616d0c89ba87
3
+ metadata.gz: 4f97a371af128c1c39b137ef071cb2f1460e592f
4
+ data.tar.gz: 27e17d0984d22e9f44bd11ebfb8ceabc49218117
5
5
  SHA512:
6
- metadata.gz: 68fcba68d86d49c144a284742f908e2011fb3064ef7a7606928dff8366b20e47f126732da568120d8f9753a8c4233fb9ddd88bb969db52ed23c15a1dcbdd4cc8
7
- data.tar.gz: a2ead53a65aab124f700daf30f2db13424f908f1cff983f41cb369c5f0f0449ca568f87da1225d383e4740f62b624d3a003b59c4db43274131fa31216e958b9b
6
+ metadata.gz: 4f9419e1d2251ac9b4d500762f4201595fb6161520d496c7a0eebe6f86d51ca418d7daadf3f2ebe042efaae6190486ed845b50cc5c74d11710f9d90ca226f787
7
+ data.tar.gz: 9b20786753493da62387bb292091ef69c957d413032be5f86a276bb81ab115bd7fa2f731083bb936cf12604b3e88f4e56143a866a2122db4a931a30d9caab509
@@ -175,6 +175,8 @@ module Sensu
175
175
  invalid(check, "check hook command must be a string")
176
176
  must_be_a_numeric_if_set(hook[:timeout]) ||
177
177
  invalid(check, "check hook timeout must be numeric")
178
+ must_be_boolean_if_set(hook[:stdin]) ||
179
+ invalid(check, "check hook stdin must be boolean")
178
180
  end
179
181
 
180
182
  # Validate check hooks.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.4.0"
5
+ spec.version = "10.5.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu settings library, loader and validator"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.4.0
4
+ version: 10.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-22 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-json