gazer 0.2.26 → 0.2.27
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gzr/commands/dashboard.rb +2 -0
- data/lib/gzr/commands/dashboard/import.rb +1 -2
- data/lib/gzr/commands/look.rb +2 -0
- data/lib/gzr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f369430803f6b9f9399ac276dc1782290d795a6b
|
|
4
|
+
data.tar.gz: d782a75396113fcf993babb399967305eb9c8b25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36677ca488edd93c88dc4ed50154f600a9cecd5c12700be8e0acc79058c4551fed0018331a3888012763fb69e86574eade14d5d10822dcf919834a0112456d04
|
|
7
|
+
data.tar.gz: cbb933613180bdf7940407db04f62821ac29b6f8443b60a05cda349845c9e1ec8ae5952b16c1e9fe795e6f6d5f10b148dd971e86827f027dee189f9b912bafbf
|
data/Gemfile.lock
CHANGED
|
@@ -66,6 +66,8 @@ module Gzr
|
|
|
66
66
|
desc: 'Display usage information'
|
|
67
67
|
method_option :plain, type: :boolean,
|
|
68
68
|
desc: 'Provide minimal response information'
|
|
69
|
+
method_option :force, type: :boolean,
|
|
70
|
+
desc: 'Overwrite a dashboard with the same name/slug in the target space'
|
|
69
71
|
def import(file,dest_space_id)
|
|
70
72
|
if options[:help]
|
|
71
73
|
invoke :help, ['import']
|
|
@@ -197,9 +197,8 @@ module Gzr
|
|
|
197
197
|
end
|
|
198
198
|
)
|
|
199
199
|
(element[:query_id],element[:look_id],element[:merge_result_id]) = process_dashboard_element(new_element)
|
|
200
|
-
if existing_element[:
|
|
200
|
+
if existing_element[:result_maker] && !new_element[:result_maker]
|
|
201
201
|
element[:result_maker] = nil
|
|
202
|
-
element[:result_maker_id] = nil
|
|
203
202
|
elsif new_element[:result_maker]
|
|
204
203
|
result_maker = copy_result_maker_filterables(new_element)
|
|
205
204
|
element[:result_maker] = result_maker if result_maker
|
data/lib/gzr/commands/look.rb
CHANGED
|
@@ -64,6 +64,8 @@ module Gzr
|
|
|
64
64
|
desc: 'Display usage information'
|
|
65
65
|
method_option :plain, type: :boolean,
|
|
66
66
|
desc: 'Provide minimal response information'
|
|
67
|
+
method_option :force, type: :boolean,
|
|
68
|
+
desc: 'Overwrite a look with the same name/slug in the target space'
|
|
67
69
|
def import(file,dest_space_id)
|
|
68
70
|
if options[:help]
|
|
69
71
|
invoke :help, ['import']
|
data/lib/gzr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gazer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike DeAngelo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tty-reader
|