sensu-settings 10.14.0 → 10.15.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: 41da4fb8028ac3cfc68d5abfc188b17990fddf75
4
- data.tar.gz: 37af7c2c3cf32097a0495c2b358ff7f096376544
3
+ metadata.gz: a152ab9fd6936933c476b97badb531df6667ce7c
4
+ data.tar.gz: 1cd80c87cdc900094daa2f241e0588ad8deec79d
5
5
  SHA512:
6
- metadata.gz: 70bffe6052e39e0908b582d9825fca60094a78a6e19a47b2d10079bef373b84adbdaa0478ceac7d27defdac243afbf42c9c48c7aa3bee8ed40c1fe50edb53ae0
7
- data.tar.gz: 5b9f13bcd3b85d51b2492e468a294e977e099c5d73739c3da26b245c91f6e5c4628ac6890b2c95178418cb57a8ad6377f96ef8ce4160e19a1508f3704d063d8b
6
+ metadata.gz: 0ee8c96a7ea7ff79db3bfda8eac0bfdd6b16699275f82551301ea40aa976d46b1a2bad86dba699dcba3c0cc55379bfcf03f7d367748e045da985383d608a4b40
7
+ data.tar.gz: 48f190b5e460af0015907d4dca022465f1255071d58477e538420bf1a04a7eb06bf960791456a72dec952fd3c5f4fe3ef07e7344f31a36e70aa3d05ad6fa7eed
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -9,7 +9,7 @@ module Sensu
9
9
  def validate_client_subscriptions(client)
10
10
  if is_an_array?(client[:subscriptions])
11
11
  items_must_be_strings(client[:subscriptions]) ||
12
- invalid(client, "client subscriptions must each be a string")
12
+ invalid(client, "client subscriptions must each be a non empty string")
13
13
  else
14
14
  invalid(client, "client subscriptions must be an array")
15
15
  end
@@ -73,6 +73,8 @@ module Sensu
73
73
  if is_a_hash?(sensu)
74
74
  validate_sensu_spawn(sensu)
75
75
  validate_sensu_keepalives(sensu)
76
+ must_be_boolean_if_set(sensu[:global_error_handler]) ||
77
+ invalid(sensu, "sensu global_error_handler must be boolean")
76
78
  else
77
79
  invalid(sensu, "sensu must be a hash")
78
80
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.14.0"
5
+ spec.version = "10.15.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com", "engineering@sensu.io"]
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.14.0
4
+ version: 10.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -30,7 +30,7 @@ cert_chain:
30
30
  jOeGyhtQa9j4FFmsEJDg59f5v/3hECXsa3Xuml3foaFHzX3Ya/YIyd2YFxvkFKIu
31
31
  GVbe7A3YdxzdkH2Es/Ym9twdxXaIDdXzj8sWhw==
32
32
  -----END CERTIFICATE-----
33
- date: 2018-05-02 00:00:00.000000000 Z
33
+ date: 2019-02-18 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-json
metadata.gz.sig CHANGED
Binary file