doggy 2.0.41 → 2.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -5
- data/README.md +4 -0
- data/lib/doggy.rb +4 -0
- data/lib/doggy/models/dashboard.rb +1 -1
- data/lib/doggy/models/monitor.rb +2 -2
- data/lib/doggy/models/screen.rb +1 -1
- data/lib/doggy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acd2bd44733b75a52aa9e5b1a5fb23e432c9a808
|
4
|
+
data.tar.gz: cf4daaca16048b3ee1845997e22446bb8c395e75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd12ae555cd716b121e02f5d150e2d04f5fa48f6d2870f5ec82c4327f43b9f626bd807cf5679ecfc5ed5314c6b29163e9a2b0bb6c4f3cd9a40d9de5f45cf88e4
|
7
|
+
data.tar.gz: ba102e7b2d6c75f7da242bc306629e24f780d80a8ec6783c4cba780797adc012640c9e1294c547a29f8518392fdad8d07b3ebb3480a73f33934c48ac09938eba
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
doggy (2.0.
|
4
|
+
doggy (2.0.42)
|
5
5
|
activesupport (~> 4)
|
6
6
|
json (~> 1.8.3)
|
7
7
|
parallel (~> 1.6.1)
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (4.2.
|
15
|
+
activesupport (4.2.10)
|
16
16
|
i18n (~> 0.7)
|
17
17
|
minitest (~> 5.1)
|
18
18
|
thread_safe (~> 0.3, >= 0.3.4)
|
@@ -25,13 +25,15 @@ GEM
|
|
25
25
|
thread_safe (~> 0.3, >= 0.3.1)
|
26
26
|
coercible (1.0.0)
|
27
27
|
descendants_tracker (~> 0.0.1)
|
28
|
+
concurrent-ruby (1.0.5)
|
28
29
|
crack (0.4.3)
|
29
30
|
safe_yaml (~> 1.0.0)
|
30
31
|
descendants_tracker (0.0.4)
|
31
32
|
thread_safe (~> 0.3, >= 0.3.1)
|
32
33
|
equalizer (0.0.11)
|
33
34
|
hashdiff (0.2.3)
|
34
|
-
i18n (0.
|
35
|
+
i18n (0.9.3)
|
36
|
+
concurrent-ruby (~> 1.0)
|
35
37
|
ice_nine (0.11.2)
|
36
38
|
json (1.8.6)
|
37
39
|
metaclass (0.0.4)
|
@@ -45,7 +47,7 @@ GEM
|
|
45
47
|
safe_yaml (1.0.4)
|
46
48
|
thor (0.19.4)
|
47
49
|
thread_safe (0.3.6)
|
48
|
-
tzinfo (1.2.
|
50
|
+
tzinfo (1.2.4)
|
49
51
|
thread_safe (~> 0.1)
|
50
52
|
virtus (1.0.5)
|
51
53
|
axiom-types (~> 0.1)
|
@@ -69,4 +71,4 @@ DEPENDENCIES
|
|
69
71
|
webmock
|
70
72
|
|
71
73
|
BUNDLED WITH
|
72
|
-
1.
|
74
|
+
1.16.0
|
data/README.md
CHANGED
@@ -28,6 +28,8 @@ To authenticate, you need to set API and APP keys for your DataDog account.
|
|
28
28
|
|
29
29
|
Export `DATADOG_API_KEY` and `DATADOG_APP_KEY` environment variables and `doggy` will catch them up automatically.
|
30
30
|
|
31
|
+
Optional: You can set `DATADOG_BASE_HUMAN_URL` environment variable if your organization uses a custom domain. This will change the urls given to users.
|
32
|
+
|
31
33
|
#### ejson
|
32
34
|
|
33
35
|
Set up `ejson` by putting `secrets.ejson` in your root object store.
|
@@ -43,6 +45,8 @@ If you're feeling adventurous, just put plaintext `secrets.json` in your root ob
|
|
43
45
|
}
|
44
46
|
```
|
45
47
|
|
48
|
+
Optional: Add `datadog_base_human_url` if your organization uses a custom domain.
|
49
|
+
|
46
50
|
## Usage
|
47
51
|
|
48
52
|
```bash
|
data/lib/doggy.rb
CHANGED
data/lib/doggy/models/monitor.rb
CHANGED
@@ -87,11 +87,11 @@ module Doggy
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def human_url
|
90
|
-
"https
|
90
|
+
"https://#{Doggy.base_human_url}/monitors##{ id }"
|
91
91
|
end
|
92
92
|
|
93
93
|
def human_edit_url
|
94
|
-
"https
|
94
|
+
"https://#{Doggy.base_human_url}/monitors##{ id }/edit"
|
95
95
|
end
|
96
96
|
|
97
97
|
def to_h
|
data/lib/doggy/models/screen.rb
CHANGED
data/lib/doggy/version.rb
CHANGED
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.0.
|
4
|
+
version: 2.0.42
|
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:
|
12
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.6.
|
196
|
+
rubygems_version: 2.6.14
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Syncs DataDog dashboards, alerts, screenboards, and monitors.
|