gazer 0.2.54 → 0.2.56

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62185449c733517e6e3354b2faeb39e9a3b1bfbf61211c9296db1554979006fb
4
- data.tar.gz: 5fe6d548b01e9fbb5bebf5807614a28b24f64bdd7bfdc1dd0e4fd1d50079a8ff
3
+ metadata.gz: 1ea7a19e3df2caa6fb79f02bbb863ef1688ef6fcaf7085aad7e69a6de4f746e4
4
+ data.tar.gz: 9bfc4b089129a37b893bccd3a618c0e4bfdd3362903e9eeb6aefde6e23a0cb15
5
5
  SHA512:
6
- metadata.gz: 92692a5332311129b1cc7d49f73ec03170a4ab17b0f8c7b4c941ac022c11e73e8fdfa9ad520e349953aebbaa37d07c3ce6f2119f49ca4563064dbceaddd2bdfe
7
- data.tar.gz: 0daba3450b0a3fe6ca302675c7730c14993b79a4a57f7a2c73b9b2c062698ede1e8d46e2c6efbbe3b1a7f29212918ceb16fe0a77c47f60c2ec404e2ffdabff4c
6
+ metadata.gz: ec1bb2791f6c6e0d7fabbdf93813b5893159f61d2cfbbe8ac2b1200ca7fb48a0d5042d3567d8eb18c9b4071181787f5ce4b4b9b4cba04b2b6278884adc7d133f
7
+ data.tar.gz: 8081f73a584aed294764c7bc7ede5dddde9aaa5fe23ea96e85c3a407073a5105e690c32c6b074b29ab2269169cfbb12d0d8d2c0754ddee7f59907032c5dd776b
data/CHANGELOG.md CHANGED
@@ -1,53 +1,59 @@
1
1
  # Changelog
2
2
 
3
- ### [0.2.54](https://www.github.com/looker-open-source/gzr/compare/v0.2.53...v0.2.54) (2022-03-17)
3
+ ### [0.2.56](https://www.github.com/looker-open-source/gzr/compare/v0.2.55...v0.2.56) (2022-07-14)
4
+
5
+ ### Bug Fixes
6
+
7
+ - release version ([c94373c](https://www.github.com/looker-open-source/gzr/commit/c94373ce0677b4bd86e525f6a7e15b0204cb69fe))
4
8
 
9
+ ### [0.2.55](https://github.com/looker-open-source/gzr/compare/v0.2.54...v0.2.55) (2022-07-14)
5
10
 
6
11
  ### Bug Fixes
7
12
 
8
- * Avoid API 4.0 for deprecation of spaces endpoint ([#124](https://www.github.com/looker-open-source/gzr/issues/124)) ([#125](https://www.github.com/looker-open-source/gzr/issues/125)) ([3823399](https://www.github.com/looker-open-source/gzr/commit/38233991bfc5456ac0cf3d485d12520f50a2ea76))
13
+ - Added alias for folder command to point to space. ([#133](https://github.com/looker-open-source/gzr/issues/133)) ([e54ffe0](https://github.com/looker-open-source/gzr/commit/e54ffe0c8c1ba300b5d989c5b16b8a234e9623b1))
14
+ - For dashboard cat with --plans ([#131](https://github.com/looker-open-source/gzr/issues/131)) ([59c961d](https://github.com/looker-open-source/gzr/commit/59c961dca820654c8ca228fc79429079ac4825bd))
9
15
 
10
- ### [0.2.53](https://www.github.com/looker-open-source/gzr/compare/v0.2.52...v0.2.53) (2021-12-14)
16
+ ### [0.2.54](https://www.github.com/looker-open-source/gzr/compare/v0.2.53...v0.2.54) (2022-03-17)
17
+
18
+ ### Bug Fixes
11
19
 
20
+ - Avoid API 4.0 for deprecation of spaces endpoint ([#124](https://www.github.com/looker-open-source/gzr/issues/124)) ([#125](https://www.github.com/looker-open-source/gzr/issues/125)) ([3823399](https://www.github.com/looker-open-source/gzr/commit/38233991bfc5456ac0cf3d485d12520f50a2ea76))
21
+
22
+ ### [0.2.53](https://www.github.com/looker-open-source/gzr/compare/v0.2.52...v0.2.53) (2021-12-14)
12
23
 
13
24
  ### Bug Fixes
14
25
 
15
- * fix version ([#121](https://www.github.com/looker-open-source/gzr/issues/121)) ([f9b0b22](https://www.github.com/looker-open-source/gzr/commit/f9b0b2237eb3c520aabc2f1ff5a63ddf6c934ce4))
26
+ - fix version ([#121](https://www.github.com/looker-open-source/gzr/issues/121)) ([f9b0b22](https://www.github.com/looker-open-source/gzr/commit/f9b0b2237eb3c520aabc2f1ff5a63ddf6c934ce4))
16
27
 
17
28
  ### [0.2.52](https://www.github.com/looker-open-source/gzr/compare/v0.2.51...v0.2.52) (2021-12-14)
18
29
 
19
-
20
30
  ### Bug Fixes
21
31
 
22
- * version number ([#119](https://www.github.com/looker-open-source/gzr/issues/119)) ([b55a892](https://www.github.com/looker-open-source/gzr/commit/b55a892d8d040ce4547924d613a590877e129322))
32
+ - version number ([#119](https://www.github.com/looker-open-source/gzr/issues/119)) ([b55a892](https://www.github.com/looker-open-source/gzr/commit/b55a892d8d040ce4547924d613a590877e129322))
23
33
 
24
34
  ### [0.2.51](https://www.github.com/looker-open-source/gzr/compare/v0.2.50...v0.2.51) (2021-12-14)
25
35
 
26
-
27
36
  ### Bug Fixes
28
37
 
29
- * detect if dashboard import gets a look file and vice versa, warn on importing a deleted dashboard or look ([#116](https://www.github.com/looker-open-source/gzr/issues/116)) ([a12dc25](https://www.github.com/looker-open-source/gzr/commit/a12dc2525bed55816b368306f2d05a24dc07aaf4))
30
- * Gemfile.lock was out of date ([a4e49c3](https://www.github.com/looker-open-source/gzr/commit/a4e49c3972772e0629a8f1589172ddd136ee7e21))
31
- * refactored look and dashboard cat commands and space export to use the same code to generate each look and dashboard file. ([#114](https://www.github.com/looker-open-source/gzr/issues/114)) ([8dadd50](https://www.github.com/looker-open-source/gzr/commit/8dadd500376e2b971c38dbcd69f507268a3e6b9e))
32
- * remove Thor deprecation warning ([#115](https://www.github.com/looker-open-source/gzr/issues/115)) ([1100c5a](https://www.github.com/looker-open-source/gzr/commit/1100c5a24b0626c01c6248d87172c7ab624bf42f))
38
+ - detect if dashboard import gets a look file and vice versa, warn on importing a deleted dashboard or look ([#116](https://www.github.com/looker-open-source/gzr/issues/116)) ([a12dc25](https://www.github.com/looker-open-source/gzr/commit/a12dc2525bed55816b368306f2d05a24dc07aaf4))
39
+ - Gemfile.lock was out of date ([a4e49c3](https://www.github.com/looker-open-source/gzr/commit/a4e49c3972772e0629a8f1589172ddd136ee7e21))
40
+ - refactored look and dashboard cat commands and space export to use the same code to generate each look and dashboard file. ([#114](https://www.github.com/looker-open-source/gzr/issues/114)) ([8dadd50](https://www.github.com/looker-open-source/gzr/commit/8dadd500376e2b971c38dbcd69f507268a3e6b9e))
41
+ - remove Thor deprecation warning ([#115](https://www.github.com/looker-open-source/gzr/issues/115)) ([1100c5a](https://www.github.com/looker-open-source/gzr/commit/1100c5a24b0626c01c6248d87172c7ab624bf42f))
33
42
 
34
43
  ### [0.2.50](https://www.github.com/looker-open-source/gzr/compare/v0.2.49...v0.2.50) (2021-11-19)
35
44
 
36
-
37
45
  ### Bug Fixes
38
46
 
39
- * resolved warnings in gemspec. Improved handling of live tests ([6291147](https://www.github.com/looker-open-source/gzr/commit/6291147a09f55ed095d718a7a998d5af09b716e3))
47
+ - resolved warnings in gemspec. Improved handling of live tests ([6291147](https://www.github.com/looker-open-source/gzr/commit/6291147a09f55ed095d718a7a998d5af09b716e3))
40
48
 
41
49
  ### [0.2.49](https://www.github.com/looker-open-source/gzr/compare/v0.2.48...v0.2.49) (2021-11-18)
42
50
 
43
-
44
51
  ### Bug Fixes
45
52
 
46
- * Bump version ([652486c](https://www.github.com/looker-open-source/gzr/commit/652486ce6571d4fea2d3ea847c5927395aa4373e))
53
+ - Bump version ([652486c](https://www.github.com/looker-open-source/gzr/commit/652486ce6571d4fea2d3ea847c5927395aa4373e))
47
54
 
48
55
  ### [0.2.48](https://www.github.com/looker-open-source/gzr/compare/v0.2.47...v0.2.48) (2021-11-18)
49
56
 
50
-
51
57
  ### Bug Fixes
52
58
 
53
- * Add release please workflow to automate releases ([6279bc6](https://www.github.com/looker-open-source/gzr/commit/6279bc68fcfd8f09f7385053767e6a9571570333))
59
+ - Add release please workflow to automate releases ([6279bc6](https://www.github.com/looker-open-source/gzr/commit/6279bc68fcfd8f09f7385053767e6a9571570333))
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gazer (0.2.54)
4
+ gazer (0.2.56)
5
5
  looker-sdk (~> 0.1.1)
6
6
  net-http-persistent (~> 4.0, >= 4.0.1)
7
7
  netrc (~> 0.11.0)
@@ -35,8 +35,8 @@ GEM
35
35
  faraday-em_synchrony (1.0.0)
36
36
  faraday-excon (1.1.0)
37
37
  faraday-httpclient (1.0.1)
38
- faraday-multipart (1.0.3)
39
- multipart-post (>= 1.2, < 3)
38
+ faraday-multipart (1.0.4)
39
+ multipart-post (~> 2)
40
40
  faraday-net_http (1.0.1)
41
41
  faraday-net_http_persistent (1.2.0)
42
42
  faraday-patron (1.0.0)
@@ -45,13 +45,13 @@ GEM
45
45
  looker-sdk (0.1.2)
46
46
  faraday (>= 1.2, < 2.0)
47
47
  sawyer (~> 0.8)
48
- multipart-post (2.1.1)
48
+ multipart-post (2.2.3)
49
49
  net-http-persistent (4.0.1)
50
50
  connection_pool (~> 2.2)
51
51
  netrc (0.11.0)
52
52
  pastel (0.8.0)
53
53
  tty-color (~> 0.5)
54
- public_suffix (4.0.6)
54
+ public_suffix (4.0.7)
55
55
  rake (12.3.3)
56
56
  rspec (3.10.0)
57
57
  rspec-core (~> 3.10.0)
@@ -68,9 +68,9 @@ GEM
68
68
  rspec-support (3.10.2)
69
69
  ruby2_keywords (0.0.5)
70
70
  rubyzip (1.3.0)
71
- sawyer (0.9.0)
71
+ sawyer (0.9.2)
72
72
  addressable (>= 2.3.5)
73
- faraday (>= 0.9, < 3)
73
+ faraday (>= 0.17.3, < 3)
74
74
  strings (0.2.1)
75
75
  strings-ansi (~> 0.2)
76
76
  unicode-display_width (>= 1.5, < 3.0)
@@ -89,11 +89,12 @@ GEM
89
89
  strings (~> 0.2.0)
90
90
  tty-screen (~> 0.8)
91
91
  tty-tree (0.4.0)
92
- unicode-display_width (2.1.0)
92
+ unicode-display_width (2.2.0)
93
93
  unicode_utils (1.4.0)
94
94
  wisper (2.0.1)
95
95
 
96
96
  PLATFORMS
97
+ x86_64-darwin-21
97
98
  x86_64-linux
98
99
 
99
100
  DEPENDENCIES
@@ -106,4 +107,4 @@ RUBY VERSION
106
107
  ruby 2.5.8p224
107
108
 
108
109
  BUNDLED WITH
109
- 2.2.30
110
+ 2.3.9
data/lib/gzr/cli.rb CHANGED
@@ -57,6 +57,7 @@ module Gzr
57
57
  puts "v#{Gzr::VERSION}"
58
58
  end
59
59
  map %w(--version -v) => :version
60
+ map folder: :space # Alias folder command to space
60
61
 
61
62
  require_relative 'commands/attribute'
62
63
  register Gzr::Commands::Attribute, 'attribute', 'attribute [SUBCOMMAND]', 'Command description...'
@@ -250,7 +250,7 @@ module Gzr
250
250
  data[:dashboard_elements][i][:merge_result] = merge_result
251
251
  end
252
252
  end
253
- data[:scheduled_plans] = query_scheduled_plans_for_dashboard(@dashboard_id,"all")&.to_attrs if @options[:plans]
253
+ data[:scheduled_plans] = query_scheduled_plans_for_dashboard(@dashboard_id,"all") if @options[:plans]
254
254
  data
255
255
  end
256
256
  end
@@ -76,6 +76,7 @@ module Gzr
76
76
  say_error e.message
77
77
  raise
78
78
  end
79
+ data.map! {|plan| plan.to_attrs}
79
80
  data
80
81
  end
81
82
 
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.2.54'.freeze
23
+ VERSION = '0.2.56'.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.2.54
4
+ version: 0.2.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike DeAngelo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-17 00:00:00.000000000 Z
11
+ date: 2022-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-reader