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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6dc2e04e707e8002b90e5a66246217e91ee1be4
4
- data.tar.gz: 609297fa62c129c8c78b4f5d268b05d9c06def15
3
+ metadata.gz: 7785e07ba66e51b690777a47ee4b1ab027059a75
4
+ data.tar.gz: 9eded8c96d4c16593e738d900bc41bd8565692a0
5
5
  SHA512:
6
- metadata.gz: 8f1bca9c6c87ef802c1ce24419ad920a2cdd9112a2a78942e5899a0b41618d45f4f25c9365c6a44b08e4a5b9d31ca4f9ff92cf6a93c113756fd91cdd2255b0fe
7
- data.tar.gz: 20bfe48897f696cd3db4111811326c30640f1f6580f0c5593546ac3c63dc610b197da7a5fbc22437a4a1c288d3fd380707556249912c6f375adc118323215b59
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(/^[\w\.-]+$/, check[:source]) ||
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")
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "10.1.0"
5
+ spec.version = "10.2.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.1.0
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-09 00:00:00.000000000 Z
11
+ date: 2017-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-json