sensu-settings 10.7.0 → 10.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 700c4358f07d653f488dc1342554926f4b71de4c
4
- data.tar.gz: fd5485667909f6824cb36a2cd96e94ca002b545d
3
+ metadata.gz: 17c65715430ac721ff3cf07179dda5cff74b2253
4
+ data.tar.gz: 7a51aacf7d3cbfe4a7a36ffa9e7f00aa969da890
5
5
  SHA512:
6
- metadata.gz: d96093c2c8f99fb412481776841b4fc3bb1282bf8ba86057ff9959c1544a8950543356aacd83a707e9231a0eb77d98154bbf8920eaa73c837f6e4d906762132c
7
- data.tar.gz: 561c0b4f9584fbc5f5a6efd0789d1911a105a4ef4f1df70ca931818685934b42993fdac751a1d73cdf1ab8355204a956590984c304a88334daabbec0086aaa7c
6
+ metadata.gz: 266954968859361d1cd06cf3486535468236e3ac4d482311527df6c7990391e42ecc14271bfeadbea69a6cd889c836eab6a481a7705874417c68dcbff4c9ce6d
7
+ data.tar.gz: a0207bb5a55f49a84e2f455e860fcd3b358a34ff6aadfb12ebdc56635b9fed69e3b33132533fc2e3313e25dfc486e69abc61908a21a62f98ca555e7d93019218
@@ -28,6 +28,8 @@ module Sensu
28
28
  invalid(check, "either check command or extension must be set")
29
29
  must_be_a_numeric_if_set(check[:timeout]) ||
30
30
  invalid(check, "check timeout must be numeric")
31
+ must_be_boolean_if_set(check[:stdin]) ||
32
+ invalid(check, "check stdin must be boolean")
31
33
  end
32
34
 
33
35
  # Validate check source.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.7.0"
5
+ spec.version = "10.8.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.7.0
4
+ version: 10.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter