gazer 0.2.54 → 0.2.58

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: 71d91f9fd62be429d6cda41b4bbf5a7cb6b7b4dc2d271f45d327370f3aa68b96
4
+ data.tar.gz: 445e0c520b50f7da011b7742045a5f8a35fef89022b0aeddd4749a420373879d
5
5
  SHA512:
6
- metadata.gz: 92692a5332311129b1cc7d49f73ec03170a4ab17b0f8c7b4c941ac022c11e73e8fdfa9ad520e349953aebbaa37d07c3ce6f2119f49ca4563064dbceaddd2bdfe
7
- data.tar.gz: 0daba3450b0a3fe6ca302675c7730c14993b79a4a57f7a2c73b9b2c062698ede1e8d46e2c6efbbe3b1a7f29212918ceb16fe0a77c47f60c2ec404e2ffdabff4c
6
+ metadata.gz: b3e8ebc3d02a6ac73e43a4da4a2256a8c2b3a58c254eea90c2204a64428c03032bbfd9330ac9b37c4440328b86a62f6c969697348243701d9dc58f54683078ff
7
+ data.tar.gz: a28a41041e739a5724f4ebba873a1afd67be9d473f66a7a2efef439ea342cd760435aac7dfcc100d73e89562d8f2de796ad1e86f82faeb70d3546481adf9d0e3
data/CHANGELOG.md CHANGED
@@ -1,53 +1,73 @@
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.58](https://www.github.com/looker-open-source/gzr/compare/v0.2.57...v0.2.58) (2023-03-16)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
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))
8
+ * temporary fix for faraday 2.x in looker-sdk ([#159](https://www.github.com/looker-open-source/gzr/issues/159)) ([d89f813](https://www.github.com/looker-open-source/gzr/commit/d89f8138587c2986352be25b59bda79d07ea2bb4))
9
9
 
10
- ### [0.2.53](https://www.github.com/looker-open-source/gzr/compare/v0.2.52...v0.2.53) (2021-12-14)
10
+ ### [0.2.57](https://www.github.com/looker-open-source/gzr/compare/v0.2.56...v0.2.57) (2023-03-16)
11
11
 
12
12
 
13
13
  ### Bug Fixes
14
14
 
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))
15
+ * temporary fix for faraday 2.x in looker-sdk ([acdb7e8](https://www.github.com/looker-open-source/gzr/commit/acdb7e8a174cd3dde5d8c95c95e572ec331b948f))
16
16
 
17
- ### [0.2.52](https://www.github.com/looker-open-source/gzr/compare/v0.2.51...v0.2.52) (2021-12-14)
17
+ ### [0.2.56](https://www.github.com/looker-open-source/gzr/compare/v0.2.55...v0.2.56) (2022-07-14)
18
18
 
19
+ ### Bug Fixes
20
+
21
+ - release version ([c94373c](https://www.github.com/looker-open-source/gzr/commit/c94373ce0677b4bd86e525f6a7e15b0204cb69fe))
22
+
23
+ ### [0.2.55](https://github.com/looker-open-source/gzr/compare/v0.2.54...v0.2.55) (2022-07-14)
19
24
 
20
25
  ### Bug Fixes
21
26
 
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))
27
+ - 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))
28
+ - 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))
23
29
 
24
- ### [0.2.51](https://www.github.com/looker-open-source/gzr/compare/v0.2.50...v0.2.51) (2021-12-14)
30
+ ### [0.2.54](https://www.github.com/looker-open-source/gzr/compare/v0.2.53...v0.2.54) (2022-03-17)
31
+
32
+ ### Bug Fixes
25
33
 
34
+ - 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))
35
+
36
+ ### [0.2.53](https://www.github.com/looker-open-source/gzr/compare/v0.2.52...v0.2.53) (2021-12-14)
26
37
 
27
38
  ### Bug Fixes
28
39
 
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))
40
+ - fix version ([#121](https://www.github.com/looker-open-source/gzr/issues/121)) ([f9b0b22](https://www.github.com/looker-open-source/gzr/commit/f9b0b2237eb3c520aabc2f1ff5a63ddf6c934ce4))
33
41
 
34
- ### [0.2.50](https://www.github.com/looker-open-source/gzr/compare/v0.2.49...v0.2.50) (2021-11-19)
42
+ ### [0.2.52](https://www.github.com/looker-open-source/gzr/compare/v0.2.51...v0.2.52) (2021-12-14)
43
+
44
+ ### Bug Fixes
35
45
 
46
+ - version number ([#119](https://www.github.com/looker-open-source/gzr/issues/119)) ([b55a892](https://www.github.com/looker-open-source/gzr/commit/b55a892d8d040ce4547924d613a590877e129322))
47
+
48
+ ### [0.2.51](https://www.github.com/looker-open-source/gzr/compare/v0.2.50...v0.2.51) (2021-12-14)
36
49
 
37
50
  ### Bug Fixes
38
51
 
39
- * resolved warnings in gemspec. Improved handling of live tests ([6291147](https://www.github.com/looker-open-source/gzr/commit/6291147a09f55ed095d718a7a998d5af09b716e3))
52
+ - 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))
53
+ - Gemfile.lock was out of date ([a4e49c3](https://www.github.com/looker-open-source/gzr/commit/a4e49c3972772e0629a8f1589172ddd136ee7e21))
54
+ - 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))
55
+ - 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))
40
56
 
41
- ### [0.2.49](https://www.github.com/looker-open-source/gzr/compare/v0.2.48...v0.2.49) (2021-11-18)
57
+ ### [0.2.50](https://www.github.com/looker-open-source/gzr/compare/v0.2.49...v0.2.50) (2021-11-19)
58
+
59
+ ### Bug Fixes
42
60
 
61
+ - resolved warnings in gemspec. Improved handling of live tests ([6291147](https://www.github.com/looker-open-source/gzr/commit/6291147a09f55ed095d718a7a998d5af09b716e3))
62
+
63
+ ### [0.2.49](https://www.github.com/looker-open-source/gzr/compare/v0.2.48...v0.2.49) (2021-11-18)
43
64
 
44
65
  ### Bug Fixes
45
66
 
46
- * Bump version ([652486c](https://www.github.com/looker-open-source/gzr/commit/652486ce6571d4fea2d3ea847c5927395aa4373e))
67
+ - Bump version ([652486c](https://www.github.com/looker-open-source/gzr/commit/652486ce6571d4fea2d3ea847c5927395aa4373e))
47
68
 
48
69
  ### [0.2.48](https://www.github.com/looker-open-source/gzr/compare/v0.2.47...v0.2.48) (2021-11-18)
49
70
 
50
-
51
71
  ### Bug Fixes
52
72
 
53
- * Add release please workflow to automate releases ([6279bc6](https://www.github.com/looker-open-source/gzr/commit/6279bc68fcfd8f09f7385053767e6a9571570333))
73
+ - Add release please workflow to automate releases ([6279bc6](https://www.github.com/looker-open-source/gzr/commit/6279bc68fcfd8f09f7385053767e6a9571570333))
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gazer (0.2.54)
5
- looker-sdk (~> 0.1.1)
4
+ gazer (0.2.58)
5
+ looker-sdk (~> 0.1.1, <= 0.1.2)
6
6
  net-http-persistent (~> 4.0, >= 4.0.1)
7
7
  netrc (~> 0.11.0)
8
8
  pastel (~> 0.8.0)
@@ -15,11 +15,11 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- addressable (2.8.0)
19
- public_suffix (>= 2.0.2, < 5.0)
20
- connection_pool (2.2.5)
18
+ addressable (2.8.1)
19
+ public_suffix (>= 2.0.2, < 6.0)
20
+ connection_pool (2.3.0)
21
21
  diff-lcs (1.4.4)
22
- faraday (1.10.0)
22
+ faraday (1.10.3)
23
23
  faraday-em_http (~> 1.0)
24
24
  faraday-em_synchrony (~> 1.0)
25
25
  faraday-excon (~> 1.1)
@@ -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.3.0)
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.4.2)
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.26
data/README.md CHANGED
@@ -3,6 +3,16 @@
3
3
  Gazer can be used to navigate and manage Spaces, Looks,
4
4
  and Dashboards via a simple command line tool.
5
5
 
6
+ <br/>
7
+
8
+ ## *Attention*
9
+
10
+ > This project is on a path towards deprecation in favor of (Looker Deployer)[https://github.com/looker-open-source/looker_deployer]. New users should start with Looker Deployer if possible.
11
+ >
12
+ > Looker Deployer is based on newer Looker APIs and is intended to provide a superset of CLI functionality, including content migration features.
13
+
14
+ <br/>
15
+
6
16
  ## Status and Support
7
17
 
8
18
  As of November 2021, Gazer is supported, but not warrantied by Bytecode IO, Inc. Issues and feature requests can be reported via https://github.com/looker-open-source/gzr/issues, which will be regularly monitored and prioritized by Bytecode IO, Inc., a preferred Looker consulting partner.
data/gzr.gemspec CHANGED
@@ -59,7 +59,7 @@ Gem::Specification.new do |spec|
59
59
  spec.add_runtime_dependency 'thor', '~> 1.1', '>= 1.1.0'
60
60
  spec.add_dependency 'netrc', "~> 0.11.0"
61
61
  spec.add_runtime_dependency 'rubyzip', '~> 1.3', '>= 1.3.0'
62
- spec.add_dependency 'looker-sdk', "~> 0.1.1"
62
+ spec.add_dependency 'looker-sdk', "~> 0.1.1", "<= 0.1.2"
63
63
  spec.add_runtime_dependency 'net-http-persistent', '~> 4.0', '>= 4.0.1'
64
64
 
65
65
  spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.10'
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.58'.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.58
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: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-reader
@@ -127,6 +127,9 @@ dependencies:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
129
  version: 0.1.1
130
+ - - "<="
131
+ - !ruby/object:Gem::Version
132
+ version: 0.1.2
130
133
  type: :runtime
131
134
  prerelease: false
132
135
  version_requirements: !ruby/object:Gem::Requirement
@@ -134,6 +137,9 @@ dependencies:
134
137
  - - "~>"
135
138
  - !ruby/object:Gem::Version
136
139
  version: 0.1.1
140
+ - - "<="
141
+ - !ruby/object:Gem::Version
142
+ version: 0.1.2
137
143
  - !ruby/object:Gem::Dependency
138
144
  name: net-http-persistent
139
145
  requirement: !ruby/object:Gem::Requirement