kennel 1.59.1 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bfb9110f28e8b361953fcdc0269511e5646e5df1ceb927bf575bd68b39504dc
4
- data.tar.gz: ec095c27801cdaa4d608ca0cacc5f481ada53dfe917b574fdd1536419a6d31dd
3
+ metadata.gz: da2bef045b7b3b70aaf46ddf1254d31ea43fb0821276a05d08ffe1027d7dcd60
4
+ data.tar.gz: ccdcb485de98385ecb58d2aa379550de5c44054b822232b36a678f034593629d
5
5
  SHA512:
6
- metadata.gz: 1aebb0f3c5954ddc7167221290a376dbdd05457b7b2a3892ccd569d27760ed9a9e5b6c6b35ff4bb8f45b1e431a8d2da096b26a381073cb3788f5ea395027f31a
7
- data.tar.gz: 5aef7d0e9e2447271eec6c5ae215ef998238535627bf41cdd4034f9f0b83650816981380e6da85998de4d81fac8b70a823e2b8914499a1172eab0522f7e6f48e
6
+ metadata.gz: 2e4132e556b0eb1a1bf4aaa0a3b7913a1e70f790be3b3226238e6d9d9e2771544b96d665ee668841fd7fa640ac22abd3b2467b91be6d70ca167d01e2af0bd426
7
+ data.tar.gz: fda2c3268e6420c106ded560ca5fb59dc97fe783e385d2295588e2cabc3b367f0e1375a48355dbfd4968e19743ebcce60136bd2ba9dc483c7024326abee12828
@@ -35,7 +35,7 @@ module Kennel
35
35
  description: description,
36
36
  thresholds: thresholds,
37
37
  monitor_ids: monitor_ids,
38
- tags: tags,
38
+ tags: tags.uniq,
39
39
  type: type
40
40
  }
41
41
 
@@ -45,8 +45,7 @@ namespace :kennel do
45
45
  end
46
46
 
47
47
  if bad.any?
48
- subdomain = ENV["DATADOG_SUBDOMAIN"]
49
- url = (subdomain ? "https://zendesk.datadoghq.com" : "") + "/account/settings"
48
+ url = Kennel::Utils.path_to_url "/account/settings"
50
49
  puts "Invalid mentions found, either ignore them by adding to `KNOWN` env var or add them via #{url}"
51
50
  bad.each { |f, v| puts "Invalid mention #{v} in monitor message of #{f}" }
52
51
  Kennel::Tasks.abort
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.59.1"
3
+ VERSION = "1.59.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.59.1
4
+ version: 1.59.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday