sensu-settings 10.0.0 → 10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/sensu/settings/validators/client.rb +6 -0
- data/sensu-settings.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6dc2e04e707e8002b90e5a66246217e91ee1be4
|
4
|
+
data.tar.gz: 609297fa62c129c8c78b4f5d268b05d9c06def15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f1bca9c6c87ef802c1ce24419ad920a2cdd9112a2a78942e5899a0b41618d45f4f25c9365c6a44b08e4a5b9d31ca4f9ff92cf6a93c113756fd91cdd2255b0fe
|
7
|
+
data.tar.gz: 20bfe48897f696cd3db4111811326c30640f1f6580f0c5593546ac3c63dc610b197da7a5fbc22437a4a1c288d3fd380707556249912c6f375adc118323215b59
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Sensu::Settings
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/sensu/sensu-settings.svg?branch=master)](https://travis-ci.org/sensu/sensu-settings)
|
4
|
+
![Gem Version](https://img.shields.io/gem/v/sensu-settings.svg)
|
5
|
+
![MIT Licensed](https://img.shields.io/github/license/sensu/sensu.svg)
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -113,6 +113,12 @@ module Sensu
|
|
113
113
|
if is_a_hash?(client[:keepalive])
|
114
114
|
validate_client_keepalive_handlers(client)
|
115
115
|
validate_client_keepalive_thresholds(client)
|
116
|
+
# A client keepalive may include several check attributes.
|
117
|
+
# Validation is necessary, although the validation failure
|
118
|
+
# messages may be a bit confusing.
|
119
|
+
validate_check_source(client[:keepalive]) if client[:keepalive][:source]
|
120
|
+
validate_check_aggregate(client[:keepalive])
|
121
|
+
validate_check_flap_detection(client[:keepalive])
|
116
122
|
end
|
117
123
|
end
|
118
124
|
|
data/sensu-settings.gemspec
CHANGED
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.
|
4
|
+
version: 10.1.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-
|
11
|
+
date: 2017-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6.
|
129
|
+
rubygems_version: 2.6.11
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: The Sensu settings library, loader and validator
|