sensu-settings 9.2.2 → 9.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/settings/validators/check.rb +3 -1
- data/sensu-settings.gemspec +1 -2
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4404b91a440da9acdb694c506073a3702ef40ca
|
4
|
+
data.tar.gz: d4aac5f73fef35b3147e51ad6cdab419f506994f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb3cd3de879fd8c2694922b92667a938e03b4ee9e5c5a77d762a335fe98cada55c5411a080097297d947387b6662a71f8a98f2bbc059924330b02ea2b83843dc
|
7
|
+
data.tar.gz: 9b019fd3ffdf115e0e56ac3cdedb76dcd06156d0f6f2921e990d6f80ccfa407d6e384892913db54fc2a3065dc2c4eb459c76efd6790805259a3e7de789085f05
|
@@ -80,7 +80,7 @@ module Sensu
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# Validate check ttl.
|
83
|
-
# Validates: ttl
|
83
|
+
# Validates: ttl, ttl_status
|
84
84
|
#
|
85
85
|
# @param check [Hash] sensu check definition.
|
86
86
|
def validate_check_ttl(check)
|
@@ -90,6 +90,8 @@ module Sensu
|
|
90
90
|
else
|
91
91
|
invalid(check, "check ttl must be an integer")
|
92
92
|
end
|
93
|
+
must_be_an_integer_if_set(check[:ttl_status]) ||
|
94
|
+
invalid(check, "check ttl_status must be an integer")
|
93
95
|
end
|
94
96
|
|
95
97
|
# Validate check aggregate.
|
data/sensu-settings.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "sensu-settings"
|
5
|
-
spec.version = "9.
|
5
|
+
spec.version = "9.3.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"
|
@@ -20,5 +20,4 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_development_dependency "bundler", "~> 1.6"
|
21
21
|
spec.add_development_dependency "rake"
|
22
22
|
spec.add_development_dependency "rspec"
|
23
|
-
spec.add_development_dependency "codeclimate-test-reporter"
|
24
23
|
end
|
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: 9.
|
4
|
+
version: 9.3.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: 2016-
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: codeclimate-test-reporter
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
description: The Sensu settings library, loader and validator
|
84
70
|
email:
|
85
71
|
- portertech@gmail.com
|
@@ -126,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
112
|
version: '0'
|
127
113
|
requirements: []
|
128
114
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6.
|
115
|
+
rubygems_version: 2.6.3
|
130
116
|
signing_key:
|
131
117
|
specification_version: 4
|
132
118
|
summary: The Sensu settings library, loader and validator
|