sensu-settings 9.5.0 → 9.6.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: cb593d35d703e565905e1a504e8102dccdc1d5e3
4
- data.tar.gz: 8ce06fcb16b890779027f9ba261e7302acb9f386
3
+ metadata.gz: ab16c752bbc9d259601625d35d3e31a7f0ad90ca
4
+ data.tar.gz: f047f2e9d104b268677add8d28620d8b690a54b0
5
5
  SHA512:
6
- metadata.gz: 89cc81fa0b7c686a42980321a38822fb570cc7fb05980824224c68f494fb28cee86d9d9db2172c0dcdfda7eb3baadb5d6774783ba82c1fc7a874ef39466cfff4
7
- data.tar.gz: 1a39bf6ebac14bac2779029bfd02b7e985dd9b39cdde129b0d135c3ccb1e1f90f271c2432038691d90f3f878e429cad91040c0387c1612fa3c8c57b3a96aa680
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]) ||
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "9.5.0"
5
+ spec.version = "9.6.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: 9.5.0
4
+ version: 9.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter