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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/sensu/settings/validators/client.rb +1 -1
- data/lib/sensu/settings/validators/sensu.rb +2 -0
- data/sensu-settings.gemspec +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a152ab9fd6936933c476b97badb531df6667ce7c
|
4
|
+
data.tar.gz: 1cd80c87cdc900094daa2f241e0588ad8deec79d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/sensu-settings.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "sensu-settings"
|
5
|
-
spec.version = "10.
|
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.
|
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:
|
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
|