sensu-settings 10.6.0 → 10.7.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: 32b60923d482ec56e4701d5cdf6b637ddabfdcf5
4
- data.tar.gz: 57f169c8eb773cbb4b7c86eea9ae0c660b54fc3a
3
+ metadata.gz: 700c4358f07d653f488dc1342554926f4b71de4c
4
+ data.tar.gz: fd5485667909f6824cb36a2cd96e94ca002b545d
5
5
  SHA512:
6
- metadata.gz: ee3cda82570a2d42a10a1591b82b1cade8bcb68878fec9089222af6674c7642e86064eefa8493cd717c56fec2e0de1c045c2f3152d2908d7e019534f2d5f7f54
7
- data.tar.gz: 2a3b9169eb149ea0cb9e153fafe25d5e2d97d8d1cbe447120718bc1b12f27e1da61ff3a23a184424b82d4460f59dddec8bac7ad295b32903d14be501d9ffaf99
6
+ metadata.gz: d96093c2c8f99fb412481776841b4fc3bb1282bf8ba86057ff9959c1544a8950543356aacd83a707e9231a0eb77d98154bbf8920eaa73c837f6e4d906762132c
7
+ data.tar.gz: 561c0b4f9584fbc5f5a6efd0789d1911a105a4ef4f1df70ca931818685934b42993fdac751a1d73cdf1ab8355204a956590984c304a88334daabbec0086aaa7c
@@ -40,7 +40,7 @@ module Sensu
40
40
  end
41
41
 
42
42
  # Validate client http_socket.
43
- # Validates: http_socket (bind, port, user, password)
43
+ # Validates: http_socket (enabled, bind, port, user, password, protect_all_endpoints)
44
44
  #
45
45
  # @param client [Hash] sensu client definition.
46
46
  def validate_client_http_socket(client)
@@ -60,6 +60,8 @@ module Sensu
60
60
  must_be_a_string(http_socket[:password]) ||
61
61
  invalid(client, "client http_socket password must be a string")
62
62
  end
63
+ must_be_boolean_if_set(http_socket[:protect_all_endpoints]) ||
64
+ invalid(client, "client http_socket protect_all_endpoints must be boolean")
63
65
  end
64
66
  end
65
67
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.6.0"
5
+ spec.version = "10.7.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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.0
4
+ version: 10.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-25 00:00:00.000000000 Z
11
+ date: 2017-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-json