doggy 2.1.0 → 2.1.1

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
  SHA256:
3
- metadata.gz: 87467c4f442c2d95e650e8fb3f1f320c408350f5ef56fada248fdd2e9a674ed4
4
- data.tar.gz: 12c8de2d7d7a8559a4453de243ed5be21e0d1907467ac1a6c7431851d687757d
3
+ metadata.gz: 782b3d86af1a0b64f7ddd7816230e1a159e95ab32e22912e9e4aadbdefde5c82
4
+ data.tar.gz: 7e61f95d945bbd721e2f2ca2ee6070f84940a922dfbf0ec7298c4e77f247cd94
5
5
  SHA512:
6
- metadata.gz: f8e8ae8cd44900af561c67a83c4d8c859c9c7e1e9cb28917b7d8ec80e0f85abc760d470b4ef53195d595c3ea845014019ddac10a426e24a65ae03c134c2dd808
7
- data.tar.gz: 7508043238083e3401b7d1ef21d8ffa43ae3494c7a6f8cc35cba427515300ca09980d29711b7078a5c9ecad912d6dd401ca09e7554ff50e5b945b31cdee0010b
6
+ metadata.gz: 05f92c7090313cfb21727e5159a6232532cd44f57ef565c837662f6aa3ed8e6a75a49ce86bda5609acfcb7c3e6384228b05d112dc5ab975894a658ea0508d433
7
+ data.tar.gz: 7bf88190e67e97e33cfee61a57d83f7f14e15e2889b3384eea86b2d1fd92780307a7e4adafe49d32ee6579446f24d53cc51fc877906ece9b8604cf0b59da0a5a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doggy (2.1.0)
4
+ doggy (2.1.1)
5
5
  activesupport
6
6
  parallel
7
7
  rugged
data/dev.yml CHANGED
@@ -1,8 +1,33 @@
1
1
  name: doggy
2
2
 
3
3
  up:
4
- # - homebrew:
5
- # - cmake
4
+ - homebrew:
5
+ - cmake
6
6
  - ruby:
7
7
  version: 2.6.2
8
8
  - bundler
9
+ commands:
10
+ console:
11
+ syntax: ""
12
+ desc: 'Start a console'
13
+ run: bin/console
14
+ aliases: [c]
15
+ style:
16
+ desc: 'Run Rubocop checks'
17
+ run: bundle exec rubocop --auto-correct --cache true --config .rubocop.yml
18
+ test:
19
+ syntax:
20
+ argument: file
21
+ optional: args...
22
+ desc: 'run tests related to changes'
23
+ aliases: [t]
24
+ run: |
25
+ if [[ $# -eq 0 ]]; then
26
+ bundle exec rake test
27
+ elif [[ $# -eq 1 && $1 =~ .*test\/* ]]; then
28
+ bundle exec rake test TEST="$@"
29
+ elif [[ "$2" == '-n' ]]; then
30
+ bundle exec rake test TEST="$1" TESTOPTS="--name='$3'"
31
+ else
32
+ echo "Nothing matched"
33
+ fi
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
 
14
14
  spec.summary = 'Syncs DataDog dashboards, alerts, screenboards, and monitors.'
15
15
  spec.description = 'Syncs and manages DataDog dashboards, alerts, screenboards, and monitors.'
16
- spec.homepage = "http://github.com/bai/doggy"
16
+ spec.homepage = "http://github.com/shopify/doggy"
17
17
  spec.license = "MIT"
18
18
 
19
19
  spec.files = %x(git ls-files -z).split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -27,7 +27,7 @@ module Doggy
27
27
  end
28
28
 
29
29
  def self.resource_url(id = nil)
30
- "https://app.datadoghq.com/api/v1/dash/#{id}"
30
+ ["https://app.datadoghq.com/api/v1/dash", id].compact.join("/")
31
31
  end
32
32
 
33
33
  def managed?
@@ -54,7 +54,7 @@ module Doggy
54
54
  end
55
55
 
56
56
  def self.resource_url(id = nil)
57
- "https://app.datadoghq.com/api/v1/monitor/#{id}"
57
+ ["https://app.datadoghq.com/api/v1/monitor", id].compact.join("/")
58
58
  end
59
59
 
60
60
  def managed?
@@ -28,7 +28,7 @@ module Doggy
28
28
  end
29
29
 
30
30
  def self.resource_url(id = nil)
31
- "https://app.datadoghq.com/api/v1/screen/#{id}"
31
+ ["https://app.datadoghq.com/api/v1/screen", id].compact.join("/")
32
32
  end
33
33
 
34
34
  def managed?
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Doggy
5
- VERSION = '2.1.0'
5
+ VERSION = '2.1.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Gorodetsky
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-04-09 00:00:00.000000000 Z
12
+ date: 2019-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parallel
@@ -189,7 +189,7 @@ files:
189
189
  - lib/doggy/models/monitor.rb
190
190
  - lib/doggy/models/screen.rb
191
191
  - lib/doggy/version.rb
192
- homepage: http://github.com/bai/doggy
192
+ homepage: http://github.com/shopify/doggy
193
193
  licenses:
194
194
  - MIT
195
195
  metadata: {}