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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72b9dcbda492b08e982b281b94f65be601ef4e5e
4
- data.tar.gz: 6dc42379262f05d750e47313827550f6987c82ad
3
+ metadata.gz: b6dc2e04e707e8002b90e5a66246217e91ee1be4
4
+ data.tar.gz: 609297fa62c129c8c78b4f5d268b05d9c06def15
5
5
  SHA512:
6
- metadata.gz: 7bbd5259d726402435eead658c1d828c1aa468c6749c75792e101ccad16cc3717b94ed0a29142a12259b752efbb6c7d565a9c073c8949e295de324d54a745b41
7
- data.tar.gz: 8769f81d864f075f38c25a38819f07500e53b1cac93ebda165e384ca8362fe04a068aedc2454b32274bc9209ae9d8ac2b19906ed851de6a6f7ed89f6ebc518dd
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
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.0.0"
5
+ spec.version = "10.1.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.0.0
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-03-19 00:00:00.000000000 Z
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.3
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