gazer 0.2.44 → 0.2.50
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/.github/scripts/wait_for_looker.sh +35 -0
- data/.github/workflows/release.yml +47 -0
- data/.github/workflows/ruby-ci.yml +60 -0
- data/.travis.yml +2 -2
- data/CHANGELOG.md +22 -0
- data/CODE_OF_CONDUCT.md +58 -39
- data/CONTRIBUTING.md +21 -21
- data/Gemfile +1 -4
- data/Gemfile.lock +69 -114
- data/README.md +1 -2
- data/gzr.gemspec +12 -12
- data/lib/gzr/cli.rb +2 -1
- data/lib/gzr/command.rb +1 -1
- data/lib/gzr/commands/attribute/ls.rb +1 -1
- data/lib/gzr/commands/connection/dialects.rb +1 -1
- data/lib/gzr/commands/connection/ls.rb +1 -1
- data/lib/gzr/commands/dashboard/cat.rb +6 -1
- data/lib/gzr/commands/dashboard.rb +2 -0
- data/lib/gzr/commands/group/ls.rb +1 -1
- data/lib/gzr/commands/group/member_groups.rb +1 -1
- data/lib/gzr/commands/group/member_users.rb +1 -1
- data/lib/gzr/commands/look/cat.rb +6 -1
- data/lib/gzr/commands/look.rb +2 -0
- data/lib/gzr/commands/model/ls.rb +1 -1
- data/lib/gzr/commands/permissions/ls.rb +1 -1
- data/lib/gzr/commands/plan/failures.rb +1 -1
- data/lib/gzr/commands/plan/ls.rb +1 -1
- data/lib/gzr/commands/role/group_ls.rb +1 -1
- data/lib/gzr/commands/role/ls.rb +1 -1
- data/lib/gzr/commands/role/rm.rb +1 -1
- data/lib/gzr/commands/role/user_ls.rb +1 -1
- data/lib/gzr/commands/space/ls.rb +1 -1
- data/lib/gzr/commands/space/top.rb +1 -1
- data/lib/gzr/commands/user/ls.rb +1 -1
- data/lib/gzr/commands/user/me.rb +1 -1
- data/lib/gzr/modules/session.rb +63 -21
- data/lib/gzr/version.rb +1 -1
- metadata +63 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da210ff2b931857f775aaa89fe7572f70ba08f31125bad7779c4367f2a6c643
|
4
|
+
data.tar.gz: e3175810d85edcd23c4203b4600438d6c5d84b925ebec7719e9b497a06718839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b57eb343d41c877e377b854148f1e10cacdc6cafd1ff55023ce72423854afe56de03f7034ddb5b1c5365155b265b0d99274f84586e6c3e5ce55540f86625678c
|
7
|
+
data.tar.gz: d12674f4722279b9a61c50e5324bdd67742f04e9fd4991e5a1f68e180b393f8797555486ae2512cc21bc4aacc71c40931ce5dc3af7904ce511579e29ae6a7c6f
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
check_looker() {
|
4
|
+
status=$(curl --silent --insecure --write "%{http_code}" \
|
5
|
+
--data "client_id=$LOOKERSDK_CLIENT_ID&client_secret=$LOOKERSDK_CLIENT_SECRET"\
|
6
|
+
$LOOKERSDK_BASE_URL/api/${LOOKERSDK_API_VERSION:-4.0}/login\
|
7
|
+
-o /dev/null)
|
8
|
+
}
|
9
|
+
|
10
|
+
MAX_RETRIES=160
|
11
|
+
ATTEMPTS=1
|
12
|
+
status=0
|
13
|
+
check_looker
|
14
|
+
while [ $status -ne 200 ];
|
15
|
+
do
|
16
|
+
RETRY_MSG="after $ATTEMPTS attempts: $MAX_RETRIES retries remaining."
|
17
|
+
if [ $ATTEMPTS -ge $MAX_RETRIES ];
|
18
|
+
then
|
19
|
+
echo 'Looker took too long to start'
|
20
|
+
exit 1
|
21
|
+
else
|
22
|
+
if [ $status -ne 0 ];
|
23
|
+
then
|
24
|
+
echo "Received status($status) from Looker $RETRY_MSG"
|
25
|
+
else
|
26
|
+
echo "Looker server connection rejected $RETRY_MSG"
|
27
|
+
fi
|
28
|
+
fi
|
29
|
+
|
30
|
+
sleep 2
|
31
|
+
ATTEMPTS=$(( $ATTEMPTS + 1 ))
|
32
|
+
check_looker
|
33
|
+
done
|
34
|
+
echo "Looker ready after $ATTEMPTS attempts"
|
35
|
+
exit 0
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# .github/workflows/release.yml
|
2
|
+
|
3
|
+
name: release
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches:
|
8
|
+
- main
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
release-please:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
steps:
|
14
|
+
- uses: GoogleCloudPlatform/release-please-action@v2
|
15
|
+
id: release
|
16
|
+
with:
|
17
|
+
release-type: ruby
|
18
|
+
package-name: gazer
|
19
|
+
bump-minor-pre-major: true
|
20
|
+
bump-patch-for-minor-pre-major: true
|
21
|
+
version-file: "lib/gzr/version.rb"
|
22
|
+
token: ${{ secrets.LOS_AUTO_BOT_RP_TOKEN }}
|
23
|
+
# Checkout code if release was created
|
24
|
+
- uses: actions/checkout@v2
|
25
|
+
if: ${{ steps.release.outputs.release_created }}
|
26
|
+
# Setup ruby if a release was created
|
27
|
+
- uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: 2.5.8
|
30
|
+
if: ${{ steps.release.outputs.release_created }}
|
31
|
+
# Bundle install
|
32
|
+
- run: bundle install
|
33
|
+
if: ${{ steps.release.outputs.release_created }}
|
34
|
+
# Publish
|
35
|
+
- name: publish gem
|
36
|
+
run: |
|
37
|
+
mkdir -p $HOME/.gem
|
38
|
+
touch $HOME/.gem/credentials
|
39
|
+
chmod 0600 $HOME/.gem/credentials
|
40
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
41
|
+
gem build *.gemspec
|
42
|
+
gem push *.gem
|
43
|
+
env:
|
44
|
+
# Make sure to update the secret name
|
45
|
+
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
46
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
47
|
+
if: ${{ steps.release.outputs.release_created }}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
name: Ruby-CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ main ]
|
8
|
+
|
9
|
+
env:
|
10
|
+
LOOKERSDK_BASE_URL: https://localhost:20000
|
11
|
+
LOOKERSDK_VERIFY_SSL: false
|
12
|
+
TS_JUNIT_OUTPUT_DIR: results/sdk-codegen
|
13
|
+
LOOKERSDK_CLIENT_ID: ${{ secrets.LOOKERSDK_CLIENT_ID__21_18 }}
|
14
|
+
LOOKERSDK_CLIENT_SECRET: ${{ secrets.LOOKERSDK_CLIENT_SECRET__21_18 }}
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
test:
|
18
|
+
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
strategy:
|
21
|
+
matrix:
|
22
|
+
ruby-version: [2.5.8]
|
23
|
+
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v2
|
26
|
+
|
27
|
+
- name: Set up Cloud SDK
|
28
|
+
uses: google-github-actions/setup-gcloud@v0.2.0
|
29
|
+
with:
|
30
|
+
project_id: ${{ secrets.GCP_PROJECT_ID }}
|
31
|
+
service_account_key: ${{ secrets.GCP_AR_READER_SA_KEY }}
|
32
|
+
export_default_credentials: true
|
33
|
+
|
34
|
+
- name: Authenticate Artifact Repository
|
35
|
+
run: gcloud auth configure-docker us-west1-docker.pkg.dev --quiet
|
36
|
+
|
37
|
+
- name: Pull and run Looker docker image
|
38
|
+
# TODO: can we cache some layers of the image for faster download?
|
39
|
+
# we probably don't want to cache the final image for IP security...
|
40
|
+
run: |
|
41
|
+
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/21_18
|
42
|
+
# set $LOOKER_OPTS to --no-ssl if we want to turn off ssl
|
43
|
+
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/21_20
|
44
|
+
docker logs -f looker-sdk-codegen-ci --until=30s &
|
45
|
+
|
46
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
47
|
+
uses: ruby/setup-ruby@v1
|
48
|
+
with:
|
49
|
+
ruby-version: ${{ matrix.ruby-version }}
|
50
|
+
bundler-cache: true
|
51
|
+
|
52
|
+
- name: Install dependencies
|
53
|
+
run: bundle install
|
54
|
+
|
55
|
+
- name: Check that Looker is ready
|
56
|
+
run: |
|
57
|
+
${{ github.workspace }}/.github/scripts/wait_for_looker.sh
|
58
|
+
|
59
|
+
- name: Run tests
|
60
|
+
run: bundle exec rake
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
### [0.2.50](https://www.github.com/looker-open-source/gzr/compare/v0.2.49...v0.2.50) (2021-11-19)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* resolved warnings in gemspec. Improved handling of live tests ([6291147](https://www.github.com/looker-open-source/gzr/commit/6291147a09f55ed095d718a7a998d5af09b716e3))
|
9
|
+
|
10
|
+
### [0.2.49](https://www.github.com/looker-open-source/gzr/compare/v0.2.48...v0.2.49) (2021-11-18)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* Bump version ([652486c](https://www.github.com/looker-open-source/gzr/commit/652486ce6571d4fea2d3ea847c5927395aa4373e))
|
16
|
+
|
17
|
+
### [0.2.48](https://www.github.com/looker-open-source/gzr/compare/v0.2.47...v0.2.48) (2021-11-18)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* Add release please workflow to automate releases ([6279bc6](https://www.github.com/looker-open-source/gzr/commit/6279bc68fcfd8f09f7385053767e6a9571570333))
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
#
|
1
|
+
# Code of Conduct
|
2
2
|
|
3
3
|
## Our Pledge
|
4
4
|
|
5
5
|
In the interest of fostering an open and welcoming environment, we as
|
6
6
|
contributors and maintainers pledge to making participation in our project and
|
7
7
|
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of
|
9
|
-
|
10
|
-
orientation.
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of
|
9
|
+
experience, education, socio-economic status, nationality, personal appearance,
|
10
|
+
race, religion, or sexual identity and orientation.
|
11
11
|
|
12
12
|
## Our Standards
|
13
13
|
|
14
14
|
Examples of behavior that contributes to creating a positive environment
|
15
15
|
include:
|
16
16
|
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
22
|
|
23
23
|
Examples of unacceptable behavior by participants include:
|
24
24
|
|
25
|
-
*
|
26
|
-
advances
|
27
|
-
*
|
28
|
-
*
|
29
|
-
*
|
30
|
-
|
31
|
-
*
|
32
|
-
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
33
|
|
34
34
|
## Our Responsibilities
|
35
35
|
|
@@ -37,11 +37,11 @@ Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
37
|
behavior and are expected to take appropriate and fair corrective action in
|
38
38
|
response to any instances of unacceptable behavior.
|
39
39
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or reject
|
41
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
42
|
+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
|
43
|
+
contributor for other behaviors that they deem inappropriate, threatening,
|
44
|
+
offensive, or harmful.
|
45
45
|
|
46
46
|
## Scope
|
47
47
|
|
@@ -52,23 +52,42 @@ address, posting via an official social media account, or acting as an appointed
|
|
52
52
|
representative at an online or offline event. Representation of a project may be
|
53
53
|
further defined and clarified by project maintainers.
|
54
54
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
55
|
+
This Code of Conduct also applies outside the project spaces when the Project
|
56
|
+
Steward has a reasonable belief that an individual's behavior may have a
|
57
|
+
negative impact on the project or its community.
|
58
|
+
|
59
|
+
## Conflict Resolution
|
60
|
+
|
61
|
+
We do not believe that all conflict is bad; healthy debate and disagreement
|
62
|
+
often yield positive results. However, it is never okay to be disrespectful or
|
63
|
+
to engage in behavior that violates the project’s code of conduct.
|
64
|
+
|
65
|
+
If you see someone violating the code of conduct, you are encouraged to address
|
66
|
+
the behavior directly with those involved. Many issues can be resolved quickly
|
67
|
+
and easily, and this gives people more control over the outcome of their
|
68
|
+
dispute. If you are unable to resolve the matter for any reason, or if the
|
69
|
+
behavior is threatening or harassing, report it. We are dedicated to providing
|
70
|
+
an environment where participants feel welcome and safe.
|
71
|
+
|
72
|
+
Reports should be directed to *Mike DeAngelo* drstrangelove@google.com, the
|
73
|
+
Project Steward(s) for *gzr*. It is the Project Steward’s duty to
|
74
|
+
receive and address reported violations of the code of conduct. They will then
|
75
|
+
work with a committee consisting of representatives from the Open Source
|
76
|
+
Programs Office and the Google Open Source Strategy team. If for any reason you
|
77
|
+
are uncomfortable reaching out to the Project Steward, please email
|
78
|
+
opensource@google.com.
|
79
|
+
|
80
|
+
We will investigate every complaint, but you may not receive a direct response.
|
81
|
+
We will use our discretion in determining when and how to follow up on reported
|
82
|
+
incidents, which may range from not taking action to permanent expulsion from
|
83
|
+
the project and project-sponsored spaces. We will notify the accused of the
|
84
|
+
report and provide them an opportunity to discuss it before any action is taken.
|
85
|
+
The identity of the reporter will be omitted from the details of the report
|
86
|
+
supplied to the accused. In potentially harmful situations, such as ongoing
|
87
|
+
harassment or threats to anyone's safety, we may take action without notice.
|
67
88
|
|
68
89
|
## Attribution
|
69
90
|
|
70
|
-
This Code of Conduct is adapted from the
|
71
|
-
available at
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
91
|
+
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
|
92
|
+
available at
|
93
|
+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
data/CONTRIBUTING.md
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
|
1
|
+
# How to Contribute
|
2
2
|
|
3
|
-
|
3
|
+
We'd love to accept your patches and contributions to this project. There are
|
4
|
+
just a few small guidelines you need to follow.
|
4
5
|
|
5
|
-
|
6
|
+
## Contributor License Agreement
|
6
7
|
|
7
|
-
|
8
|
+
Contributions to this project must be accompanied by a Contributor License
|
9
|
+
Agreement (CLA). You (or your employer) retain the copyright to your
|
10
|
+
contribution; this simply gives us permission to use and redistribute your
|
11
|
+
contributions as part of the project. Head over to
|
12
|
+
<https://cla.developers.google.com/> to see your current agreements on file or
|
13
|
+
to sign a new one.
|
8
14
|
|
9
|
-
|
15
|
+
You generally only need to submit a CLA once, so if you've already submitted one
|
16
|
+
(even if it was for a different project), you probably don't need to do it
|
17
|
+
again.
|
10
18
|
|
11
|
-
|
19
|
+
## Code Reviews
|
12
20
|
|
13
|
-
|
21
|
+
All submissions, including submissions by project members, require review. We
|
22
|
+
use GitHub pull requests for this purpose. Consult
|
23
|
+
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
|
24
|
+
information on using pull requests.
|
14
25
|
|
15
|
-
|
26
|
+
## Community Guidelines
|
16
27
|
|
17
|
-
|
18
|
-
|
19
|
-
#### **Do you intend to add a new feature or change an existing one?**
|
20
|
-
|
21
|
-
* Again please open an issue in GitHub. Larger projects often segregate bugs from new features and enhancements, but we are still small enough that it is not an issue.
|
22
|
-
|
23
|
-
#### **Do you have questions about the source code?**
|
24
|
-
|
25
|
-
* Ask any question about how to use Gazer by contacting the [primary developer](mailto:deangelo+gzr@looker.com).
|
26
|
-
|
27
|
-
Thanks! :heart: :heart: :heart:
|
28
|
-
|
29
|
-
Gazer Team
|
28
|
+
This project follows
|
29
|
+
[Google's Open Source Community Guidelines](https://opensource.google/conduct/).
|
data/Gemfile
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
RUBY_VERSION = File.read(File.join(File.dirname(__FILE__), '.ruby-version')).split('-').last.chomp
|
23
23
|
|
24
|
-
ruby '2.5.8', engine: 'ruby', engine_version:
|
24
|
+
ruby '2.5.8', engine: 'ruby', engine_version: '2.5.8'
|
25
25
|
|
26
26
|
source "https://rubygems.org"
|
27
27
|
|
@@ -29,7 +29,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
29
29
|
|
30
30
|
# Specify your gem's dependencies in gzr.gemspec
|
31
31
|
gemspec
|
32
|
-
#gem 'looker-sdk', :git => 'git@github.com:looker/looker-sdk-ruby.git'
|
33
|
-
#gem 'tty', :git => 'git@github.com:piotrmurach/tty.git'
|
34
|
-
#gem 'tty-file', :git => 'git@github.com:piotrmurach/tty-file.git'
|
35
32
|
|
data/Gemfile.lock
CHANGED
@@ -1,150 +1,105 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gazer (0.2.
|
5
|
-
looker-sdk (~> 0.
|
4
|
+
gazer (0.2.50)
|
5
|
+
looker-sdk (~> 0.1.1)
|
6
|
+
net-http-persistent (~> 4.0, >= 4.0.1)
|
6
7
|
netrc (~> 0.11.0)
|
7
|
-
pastel (~> 0.
|
8
|
-
rubyzip (~> 1.3.0)
|
9
|
-
thor (~>
|
10
|
-
tty-reader (~> 0.
|
11
|
-
tty-table (~> 0.
|
12
|
-
tty-tree (~> 0.
|
8
|
+
pastel (~> 0.8.0)
|
9
|
+
rubyzip (~> 1.3, >= 1.3.0)
|
10
|
+
thor (~> 1.1, >= 1.1.0)
|
11
|
+
tty-reader (~> 0.9.0)
|
12
|
+
tty-table (~> 0.12.0)
|
13
|
+
tty-tree (~> 0.4.0)
|
13
14
|
|
14
15
|
GEM
|
15
16
|
remote: https://rubygems.org/
|
16
17
|
specs:
|
17
|
-
addressable (2.
|
18
|
+
addressable (2.8.0)
|
18
19
|
public_suffix (>= 2.0.2, < 5.0)
|
19
|
-
|
20
|
-
|
21
|
-
faraday (
|
20
|
+
connection_pool (2.2.5)
|
21
|
+
diff-lcs (1.4.4)
|
22
|
+
faraday (1.8.0)
|
23
|
+
faraday-em_http (~> 1.0)
|
24
|
+
faraday-em_synchrony (~> 1.0)
|
25
|
+
faraday-excon (~> 1.1)
|
26
|
+
faraday-httpclient (~> 1.0.1)
|
27
|
+
faraday-net_http (~> 1.0)
|
28
|
+
faraday-net_http_persistent (~> 1.1)
|
29
|
+
faraday-patron (~> 1.0)
|
30
|
+
faraday-rack (~> 1.0)
|
22
31
|
multipart-post (>= 1.2, < 3)
|
23
|
-
|
24
|
-
|
25
|
-
|
32
|
+
ruby2_keywords (>= 0.0.4)
|
33
|
+
faraday-em_http (1.0.0)
|
34
|
+
faraday-em_synchrony (1.0.0)
|
35
|
+
faraday-excon (1.1.0)
|
36
|
+
faraday-httpclient (1.0.1)
|
37
|
+
faraday-net_http (1.0.1)
|
38
|
+
faraday-net_http_persistent (1.2.0)
|
39
|
+
faraday-patron (1.0.0)
|
40
|
+
faraday-rack (1.0.0)
|
41
|
+
looker-sdk (0.1.1)
|
42
|
+
faraday (>= 1.2, < 2.0)
|
26
43
|
sawyer (~> 0.8)
|
27
44
|
multipart-post (2.1.1)
|
28
|
-
|
45
|
+
net-http-persistent (4.0.1)
|
46
|
+
connection_pool (~> 2.2)
|
29
47
|
netrc (0.11.0)
|
30
|
-
pastel (0.
|
31
|
-
|
32
|
-
tty-color (~> 0.4.0)
|
48
|
+
pastel (0.8.0)
|
49
|
+
tty-color (~> 0.5)
|
33
50
|
public_suffix (4.0.6)
|
34
51
|
rake (12.3.3)
|
35
|
-
|
36
|
-
|
37
|
-
rspec-
|
38
|
-
rspec-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
rspec-expectations (3.9.2)
|
52
|
+
rspec (3.10.0)
|
53
|
+
rspec-core (~> 3.10.0)
|
54
|
+
rspec-expectations (~> 3.10.0)
|
55
|
+
rspec-mocks (~> 3.10.0)
|
56
|
+
rspec-core (3.10.1)
|
57
|
+
rspec-support (~> 3.10.0)
|
58
|
+
rspec-expectations (3.10.1)
|
43
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.
|
45
|
-
rspec-mocks (3.
|
60
|
+
rspec-support (~> 3.10.0)
|
61
|
+
rspec-mocks (3.10.2)
|
46
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
-
rspec-support (~> 3.
|
48
|
-
rspec-support (3.
|
63
|
+
rspec-support (~> 3.10.0)
|
64
|
+
rspec-support (3.10.2)
|
65
|
+
ruby2_keywords (0.0.5)
|
49
66
|
rubyzip (1.3.0)
|
50
67
|
sawyer (0.8.2)
|
51
68
|
addressable (>= 2.3.5)
|
52
69
|
faraday (> 0.8, < 2.0)
|
53
|
-
strings (0.1
|
54
|
-
strings-ansi (~> 0.
|
55
|
-
unicode-display_width (
|
70
|
+
strings (0.2.1)
|
71
|
+
strings-ansi (~> 0.2)
|
72
|
+
unicode-display_width (>= 1.5, < 3.0)
|
56
73
|
unicode_utils (~> 1.4)
|
57
74
|
strings-ansi (0.2.0)
|
58
|
-
thor (
|
59
|
-
|
60
|
-
tty (0.
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
tty-
|
70
|
-
|
71
|
-
|
72
|
-
tty-markdown (~> 0.4.0)
|
73
|
-
tty-pager (~> 0.11.0)
|
74
|
-
tty-platform (~> 0.1.0)
|
75
|
-
tty-progressbar (~> 0.15.0)
|
76
|
-
tty-prompt (~> 0.16.1)
|
77
|
-
tty-screen (~> 0.6.4)
|
78
|
-
tty-spinner (~> 0.8.0)
|
79
|
-
tty-table (~> 0.10.0)
|
80
|
-
tty-tree (~> 0.1.0)
|
81
|
-
tty-which (~> 0.3.0)
|
82
|
-
tty-color (0.4.3)
|
83
|
-
tty-command (0.8.2)
|
84
|
-
pastel (~> 0.7.0)
|
85
|
-
tty-config (0.2.0)
|
86
|
-
tty-cursor (0.5.0)
|
87
|
-
tty-editor (0.4.0)
|
88
|
-
tty-prompt (~> 0.16.0)
|
89
|
-
tty-which (~> 0.3.0)
|
90
|
-
tty-file (0.6.0)
|
91
|
-
diff-lcs (~> 1.3.0)
|
92
|
-
pastel (~> 0.7.2)
|
93
|
-
tty-prompt (~> 0.16.1)
|
94
|
-
tty-font (0.2.0)
|
95
|
-
tty-markdown (0.4.0)
|
96
|
-
kramdown (~> 1.16.2)
|
97
|
-
pastel (~> 0.7.2)
|
98
|
-
rouge (~> 3.1.0)
|
99
|
-
strings (~> 0.1.0)
|
100
|
-
tty-color (~> 0.4.2)
|
101
|
-
tty-screen (~> 0.6.4)
|
102
|
-
tty-pager (0.11.0)
|
103
|
-
strings (~> 0.1.0)
|
104
|
-
tty-screen (~> 0.6.4)
|
105
|
-
tty-which (~> 0.3.0)
|
106
|
-
tty-platform (0.1.0)
|
107
|
-
tty-progressbar (0.15.1)
|
108
|
-
tty-cursor (~> 0.5.0)
|
109
|
-
tty-screen (~> 0.6.4)
|
110
|
-
unicode-display_width (~> 1.3)
|
111
|
-
tty-prompt (0.16.1)
|
112
|
-
necromancer (~> 0.4.0)
|
113
|
-
pastel (~> 0.7.0)
|
114
|
-
timers (~> 4.0)
|
115
|
-
tty-cursor (~> 0.5.0)
|
116
|
-
tty-reader (~> 0.3.0)
|
117
|
-
tty-reader (0.3.0)
|
118
|
-
tty-cursor (~> 0.5.0)
|
119
|
-
tty-screen (~> 0.6.4)
|
120
|
-
wisper (~> 2.0.0)
|
121
|
-
tty-screen (0.6.5)
|
122
|
-
tty-spinner (0.8.0)
|
123
|
-
tty-cursor (>= 0.5.0)
|
124
|
-
tty-table (0.10.0)
|
125
|
-
equatable (~> 0.5.0)
|
126
|
-
necromancer (~> 0.4.0)
|
127
|
-
pastel (~> 0.7.2)
|
128
|
-
strings (~> 0.1.0)
|
129
|
-
tty-screen (~> 0.6.4)
|
130
|
-
tty-tree (0.1.0)
|
131
|
-
tty-which (0.3.0)
|
132
|
-
unicode-display_width (1.7.0)
|
75
|
+
thor (1.1.0)
|
76
|
+
tty-color (0.6.0)
|
77
|
+
tty-cursor (0.7.1)
|
78
|
+
tty-reader (0.9.0)
|
79
|
+
tty-cursor (~> 0.7)
|
80
|
+
tty-screen (~> 0.8)
|
81
|
+
wisper (~> 2.0)
|
82
|
+
tty-screen (0.8.1)
|
83
|
+
tty-table (0.12.0)
|
84
|
+
pastel (~> 0.8)
|
85
|
+
strings (~> 0.2.0)
|
86
|
+
tty-screen (~> 0.8)
|
87
|
+
tty-tree (0.4.0)
|
88
|
+
unicode-display_width (2.1.0)
|
133
89
|
unicode_utils (1.4.0)
|
134
90
|
wisper (2.0.1)
|
135
91
|
|
136
92
|
PLATFORMS
|
137
|
-
|
93
|
+
x86_64-linux
|
138
94
|
|
139
95
|
DEPENDENCIES
|
140
|
-
bundler (~>
|
96
|
+
bundler (~> 2.2, >= 2.2.10)
|
141
97
|
gazer!
|
142
|
-
rake (~> 12.3.3)
|
98
|
+
rake (~> 12.3, >= 12.3.3)
|
143
99
|
rspec (~> 3.0)
|
144
|
-
tty (~> 0.8)
|
145
100
|
|
146
101
|
RUBY VERSION
|
147
102
|
ruby 2.5.8p224
|
148
103
|
|
149
104
|
BUNDLED WITH
|
150
|
-
|
105
|
+
2.2.30
|
data/README.md
CHANGED
@@ -5,8 +5,7 @@ and Dashboards via a simple command line tool.
|
|
5
5
|
|
6
6
|
## Status and Support
|
7
7
|
|
8
|
-
Gazer is
|
9
|
-
for issues with Gazer. Issues can be logged via https://github.com/looker-open-source/gzr/issues
|
8
|
+
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.
|
10
9
|
|
11
10
|
## Installation
|
12
11
|
|
data/gzr.gemspec
CHANGED
@@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.license = "MIT"
|
29
29
|
spec.version = Gzr::VERSION
|
30
30
|
spec.authors = ["Mike DeAngelo"]
|
31
|
-
spec.email = ["
|
31
|
+
spec.email = ["drstrangelove@google.com"]
|
32
32
|
|
33
33
|
spec.summary = %q{Command line tool to manage the content of a Looker instance.}
|
34
|
-
spec.description = %q{
|
34
|
+
spec.description = %q{This tool will help manage the content of a Looker instance.}
|
35
35
|
spec.homepage = "https://github.com/looker-open-source/gzr"
|
36
36
|
|
37
37
|
spec.required_ruby_version = '>= 2.3.0'
|
@@ -52,17 +52,17 @@ Gem::Specification.new do |spec|
|
|
52
52
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
53
53
|
spec.require_paths = ["lib"]
|
54
54
|
|
55
|
-
spec.add_dependency "tty-reader", "~> 0.
|
56
|
-
spec.add_dependency "tty-table", "~> 0.
|
57
|
-
spec.add_dependency "tty-tree", "~> 0.
|
58
|
-
spec.add_dependency "pastel", "~> 0.
|
59
|
-
spec.
|
55
|
+
spec.add_dependency "tty-reader", "~> 0.9.0"
|
56
|
+
spec.add_dependency "tty-table", "~> 0.12.0"
|
57
|
+
spec.add_dependency "tty-tree", "~> 0.4.0"
|
58
|
+
spec.add_dependency "pastel", "~> 0.8.0"
|
59
|
+
spec.add_runtime_dependency 'thor', '~> 1.1', '>= 1.1.0'
|
60
60
|
spec.add_dependency 'netrc', "~> 0.11.0"
|
61
|
-
spec.
|
62
|
-
spec.add_dependency 'looker-sdk', "~> 0.
|
61
|
+
spec.add_runtime_dependency 'rubyzip', '~> 1.3', '>= 1.3.0'
|
62
|
+
spec.add_dependency 'looker-sdk', "~> 0.1.1"
|
63
|
+
spec.add_runtime_dependency 'net-http-persistent', '~> 4.0', '>= 4.0.1'
|
63
64
|
|
64
|
-
spec.add_development_dependency
|
65
|
-
spec.add_development_dependency
|
65
|
+
spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.10'
|
66
|
+
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
|
66
67
|
spec.add_development_dependency "rspec", "~> 3.0"
|
67
|
-
spec.add_development_dependency "tty", "~> 0.8"
|
68
68
|
end
|