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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dce76479c6d89605e315f8f83c7e8290ccefbb6a543d8e3343b9a391ac3ed454
4
- data.tar.gz: 6d54b5c93354d8b09531cdbe4aefd5d335a52e37f2db7c45682292d06d27592c
3
+ metadata.gz: 4cf6f421538cb33ce507465bae8fdcc519759adf22fa3163f1ad18d8d8fc298a
4
+ data.tar.gz: 615db8e9ea1f0e7f06bc8370374f85c11649d793c92616fec6396a7012160096
5
5
  SHA512:
6
- metadata.gz: c2f41c52c372487a5214d9f9472b0896947c5f33663f7f3e75726d7350c0fc73cea814be179312156542fcc2c08e79f308bab2c0bfa6a0275ff3a0b7313a9067
7
- data.tar.gz: c8263710569aa4a6e1bf457e4bb0c21b5cf2d01e39b3c230fe7599b81ace74f5d69fa1799f110f3af387fcbda236d2592fb3bae476af70c52754ca9dbe7a6a47
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gazer (0.3.11)
4
+ gazer (0.3.12)
5
5
  faraday (~> 2.7.8)
6
6
  faraday-multipart (~> 1.0)
7
7
  looker-sdk (~> 0.1.6)
@@ -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.row <=> b.row }
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.row <=> b.row }
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.row <=> b.row }
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
@@ -20,5 +20,5 @@
20
20
  # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
21
 
22
22
  module Gzr
23
- VERSION = '0.3.11'.freeze
23
+ VERSION = '0.3.12'.freeze
24
24
  end
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.11
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-09-29 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-reader