gazer 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/gzr/modules/dashboard.rb +3 -3
- data/lib/gzr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cf6f421538cb33ce507465bae8fdcc519759adf22fa3163f1ad18d8d8fc298a
|
4
|
+
data.tar.gz: 615db8e9ea1f0e7f06bc8370374f85c11649d793c92616fec6396a7012160096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38601d10f3168f1b9d75c007551cb00392a8e68363a508be8869e1c12ecce23a5e21b36f1be042da02d9ef67f38fea558d7d477d033ae74ec7d61b8ad3eb5af2
|
7
|
+
data.tar.gz: '03976923f841a70654422e9efb39d1957ef480c47cdc22ab2517984907644b41a33e7ec890dae2d45d249bfdb2abaf1b4c18d5278e62c5d4d3aa13c23213d97a'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.3.12](https://github.com/looker-open-source/gzr/compare/v0.3.11...v0.3.12) (2023-10-04)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* called row element with wrong method ([e1b7bf7](https://github.com/looker-open-source/gzr/commit/e1b7bf7e0f0873dd4655ae8cd01d25d2ca978db2))
|
9
|
+
|
3
10
|
## [0.3.11](https://github.com/looker-open-source/gzr/compare/v0.3.10...v0.3.11) (2023-09-29)
|
4
11
|
|
5
12
|
|
data/Gemfile.lock
CHANGED
@@ -30,7 +30,7 @@ module Gzr
|
|
30
30
|
data = nil
|
31
31
|
begin
|
32
32
|
data = @sdk.dashboard(dashboard_id).to_attrs
|
33
|
-
data[:dashboard_filters]&.sort! { |a,b| a
|
33
|
+
data[:dashboard_filters]&.sort! { |a,b| a[:row] <=> b[:row] }
|
34
34
|
data[:dashboard_layouts]&.sort_by! { |v| (v[:active] ? 0 : 1) }
|
35
35
|
rescue LookerSDK::Error => e
|
36
36
|
say_error "dashboard #{dashboard_id} not found"
|
@@ -95,7 +95,7 @@ module Gzr
|
|
95
95
|
begin
|
96
96
|
data = @sdk.create_dashboard(dash).to_attrs
|
97
97
|
say_error data.inspect if data.respond_to?(:message)
|
98
|
-
data[:dashboard_filters]&.sort! { |a,b| a
|
98
|
+
data[:dashboard_filters]&.sort! { |a,b| a[:row] <=> b[:row] }
|
99
99
|
data[:dashboard_layouts]&.sort_by! { |v| (v[:active] ? 0 : 1) }
|
100
100
|
rescue LookerSDK::Error => e
|
101
101
|
say_error "Error creating dashboard(#{JSON.pretty_generate(dash)})"
|
@@ -109,7 +109,7 @@ module Gzr
|
|
109
109
|
data = nil
|
110
110
|
begin
|
111
111
|
data = @sdk.update_dashboard(dash_id,dash).to_attrs
|
112
|
-
data[:dashboard_filters]&.sort! { |a,b| a
|
112
|
+
data[:dashboard_filters]&.sort! { |a,b| a[:row] <=> b[:row] }
|
113
113
|
rescue LookerSDK::NotFound => e
|
114
114
|
say_error "dashboard #{dash_id} not found"
|
115
115
|
say_error e
|
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.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike DeAngelo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-reader
|