sensu-settings 10.1.0 → 10.2.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 +1 -1
- data/sensu-settings.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7785e07ba66e51b690777a47ee4b1ab027059a75
|
4
|
+
data.tar.gz: 9eded8c96d4c16593e738d900bc41bd8565692a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e514918a824de990a6003c7eadf66eb74d0f3ad203c49f0ac12c0e0f49850306bc2f4b084dc77c307c6696138c87717d05762efd81f6abc58c03af991d19f8c
|
7
|
+
data.tar.gz: 827a2f7fec80559a1402c6559c795cc54f38e2efdb1e2420638eb554088a6c34f1bceef49bfb83d954931b9bb1adefcbf08bad2dc20c911e089012883f266625
|
@@ -36,7 +36,7 @@ module Sensu
|
|
36
36
|
# @param check [Hash] sensu check definition.
|
37
37
|
def validate_check_source(check)
|
38
38
|
if is_a_string?(check[:source])
|
39
|
-
must_match_regex(
|
39
|
+
must_match_regex(/\A[\w\.-]+\z/, check[:source]) ||
|
40
40
|
invalid(check, "check source cannot contain spaces or special characters")
|
41
41
|
else
|
42
42
|
invalid(check, "check source must be a string")
|
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.2.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-06-
|
11
|
+
date: 2017-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-json
|