doggy 2.0.22 → 2.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/doggy/cli/pull.rb +3 -3
- data/lib/doggy/cli.rb +0 -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: 8f2401573a8d70ff74b54606ecc6f6edc7e1d43a
|
4
|
+
data.tar.gz: 7dd012806dd933a18c1ee963d5c211a6bec7d8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8186257ba0a9dc84a1ffd2be9b2668a85c6e5818c7242917e3721f636fab15722dcc60297ed6e401500d396e26c2bd1b149a3b2a59193da19f270c807354712
|
7
|
+
data.tar.gz: d28db37664d95ed84ab5ac8ff0a6d7bcf1c1e69a40ae92a11d324b4ca274ecb2a721f3426fc922d3d9ca13d92b366173e9eb24d3e6f3c2f200e2cf5e8c7d5d9c
|
data/Gemfile.lock
CHANGED
data/lib/doggy/cli/pull.rb
CHANGED
@@ -9,9 +9,9 @@ module Doggy
|
|
9
9
|
|
10
10
|
def run
|
11
11
|
if @ids_or_names.empty?
|
12
|
-
pull_resources('dashboards', Models::Dashboard)
|
13
|
-
pull_resources('monitors', Models::Monitor)
|
14
|
-
pull_resources('screens', Models::Screen)
|
12
|
+
pull_resources('dashboards', Models::Dashboard) if !@options.any? || @options['dashboards']
|
13
|
+
pull_resources('monitors', Models::Monitor) if !@options.any? || @options['monitors']
|
14
|
+
pull_resources('screens', Models::Screen) if !@options.any? || @options['screens']
|
15
15
|
return
|
16
16
|
end
|
17
17
|
|
data/lib/doggy/cli.rb
CHANGED
@@ -15,7 +15,6 @@ module Doggy
|
|
15
15
|
method_option "dashboards", type: :boolean, desc: 'Pull dashboards'
|
16
16
|
method_option "monitors", type: :boolean, desc: 'Pull monitors'
|
17
17
|
method_option "screens", type: :boolean, desc: 'Pull screens'
|
18
|
-
method_option "all", type: :boolean, desc: 'Pull everything', aliases: '-a'
|
19
18
|
|
20
19
|
def pull(*ids)
|
21
20
|
CLI::Pull.new(options.dup, ids).run
|
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.23
|
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: 2016-04-
|
12
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
version: '0'
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.5.1
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Syncs DataDog dashboards, alerts, screenboards, and monitors.
|