sensu-settings 9.5.0 → 9.6.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 +4 -4
- data/lib/sensu/settings/validators/client.rb +2 -0
- data/sensu-settings.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab16c752bbc9d259601625d35d3e31a7f0ad90ca
|
|
4
|
+
data.tar.gz: f047f2e9d104b268677add8d28620d8b690a54b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e6a8f2b5f8236fba7416eac0fb8d41c3b7f15c40d92332a291f9bb25daa2587161624b3f6379a62a57587613c9510630c7e61f46a75a08a4a923eba0e9a95ff
|
|
7
|
+
data.tar.gz: 59011c8e9c642c5abdb083750017dbd9b8696dc062cf101ab0b27ea603e475acb740c363def1ae5a7fd84b8e2c9a7febe6379483fcec53a552c879982f050ae9
|
|
@@ -48,6 +48,8 @@ module Sensu
|
|
|
48
48
|
must_be_a_hash_if_set(http_socket) ||
|
|
49
49
|
invalid(client, "client http_socket must be a hash")
|
|
50
50
|
if is_a_hash?(http_socket)
|
|
51
|
+
must_be_boolean_if_set(http_socket[:enabled]) ||
|
|
52
|
+
invalid(client, "client http_socket enabled must be boolean")
|
|
51
53
|
must_be_a_string_if_set(http_socket[:bind]) ||
|
|
52
54
|
invalid(client, "client http_socket bind must be a string")
|
|
53
55
|
must_be_an_integer_if_set(http_socket[:port]) ||
|
data/sensu-settings.gemspec
CHANGED