Skip to content

Commit

Permalink
chore: release 0.1.3 (#2)
Browse files Browse the repository at this point in the history
* chore: release 0.1.3

* chore: update to ruby 3.0

* chore: remove bundler cache

Change-Id: I50f02a9233daf071c5c43b8a6374a154c44dc1d0

* fix: modify faraday version for development to support tests

Change-Id: Icfebf08d20882f833b16f1642ffb836ef79d09c3

* chore: update bundler version

Change-Id: I5469d2218f98e8956d6cfa8a726088b74f2c8d5f

* chore: add --trace to rake test

Change-Id: Ia00e811d0191f1c48d9ffae2b24c84fc93aeb094

* chore: set ruby to 2.7 to resolve issue with ci github action

Change-Id: I3d32365f726523594e6d71a2ddfc7219589cc1d0

* chore: set ruby to 2.7 to resolve issue with ci github action

Change-Id: I1716b140f641f0408f969805fcc60cb4085b1134

* chore: fix deprecated actions

Change-Id: Ic023ddb3f6016dc137703e6c289761daceeaeb3f

---------

Co-authored-by: Dr. Strangelove <drstrangelove@google.com>
  • Loading branch information
1 parent 3aa1cc2 commit 2cf2373
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 26 deletions.
6 changes: 0 additions & 6 deletions .envrc

This file was deleted.

26 changes: 15 additions & 11 deletions .github/workflows/ruby-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,27 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [2.5.8]
ruby-version: [2.7.7]
looker: ${{ fromJson(needs.setup.outputs.matrix_json) }}

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v0.2.0
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1.0.0
with:
credentials_json: ${{ secrets.GCP_AR_READER_SA_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_AR_READER_SA_KEY }}
export_default_credentials: true
create_credentials_file: true
export_environment_variables: true

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1.1.0

- name: Authenticate Artifact Repository
run: gcloud auth configure-docker us-west1-docker.pkg.dev --quiet
Expand All @@ -60,7 +64,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
bundler-cache: false

- name: Install dependencies
run: bundle install
Expand Down Expand Up @@ -93,7 +97,7 @@ jobs:
if: failure()

- name: Run tests
run: bundle exec rake test
run: bundle exec rake test --trace

- name: remove mock .netrc
if: ${{ always() }}
Expand All @@ -102,7 +106,7 @@ jobs:
- name: Upload ts unit test results
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
name: ruby-ci-test-results
path: results/
Expand All @@ -114,7 +118,7 @@ jobs:

steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: ruby-ci-test-results
path: artifacts
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

### [0.1.3](https://www.github.com/looker-open-source/looker-sdk-ruby/compare/v0.1.2...v0.1.3) (2023-03-11)


### Bug Fixes

* Add processing to look up error documents ([a982253](https://www.github.com/looker-open-source/looker-sdk-ruby/commit/a982253a806833b4ec53ca5322f6ba046ad8fe74))
* allow faraday 2.x ([cbf1d6d](https://www.github.com/looker-open-source/looker-sdk-ruby/commit/cbf1d6df15e1c3e2101772de3be78e95e7a6cf06))
* rename readme.md to more common README.md ([83aa2c7](https://www.github.com/looker-open-source/looker-sdk-ruby/commit/83aa2c788c60c7a305b7af40990e75128353cb8d))
* slight adjustment to output of documentation url in error plus added error example ([5a4a75a](https://www.github.com/looker-open-source/looker-sdk-ruby/commit/5a4a75ad0af2c477db9980743fe59388e2a6cfb6))
* update ports back to 19999 for defaults. ([3f91b99](https://www.github.com/looker-open-source/looker-sdk-ruby/commit/3f91b9923c1821e840e84014759c54ea07b7072f))

### [0.1.2](https://www.github.com/looker-open-source/looker-sdk-ruby/compare/v0.1.1...v0.1.2) (2021-11-19)


Expand Down
17 changes: 10 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
looker-sdk (0.1.2)
looker-sdk (0.1.3)
faraday (>= 1.2, < 3.0)
sawyer (~> 0.8)

Expand All @@ -12,12 +12,13 @@ GEM
public_suffix (>= 2.0.2, < 6.0)
awesome_print (1.6.1)
builder (3.2.4)
ci_reporter (2.0.0)
ci_reporter (2.1.0)
builder (>= 2.1.2)
rexml
ci_reporter_minitest (1.0.0)
ci_reporter (~> 2.0)
minitest (~> 5.0)
faraday (1.10.2)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -45,14 +46,15 @@ GEM
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.15.0)
multipart-post (2.2.3)
multipart-post (2.3.0)
netrc (0.7.9)
public_suffix (4.0.7)
public_suffix (5.0.1)
rack (1.6.4)
rack-test (0.6.2)
rack (>= 1.0)
rake (10.5.0)
redcarpet (3.1.2)
rexml (3.2.5)
ruby2_keywords (0.0.5)
sawyer (0.9.2)
addressable (>= 2.3.5)
Expand All @@ -63,11 +65,12 @@ GEM
simplecov-html (0.7.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
awesome_print (~> 1.6.1)
ci_reporter_minitest (~> 1.0)
faraday (~> 1.10)
looker-sdk!
minitest (= 5.9.1)
mocha (= 1.1.0)
Expand All @@ -79,4 +82,4 @@ DEPENDENCIES
simplecov (~> 0.7.1)

BUNDLED WITH
2.3.26
2.4.8
2 changes: 1 addition & 1 deletion lib/looker-sdk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ module LookerSDK

# Current version
# @return [String]
VERSION = "0.1.2"
VERSION = "0.1.3"

end
3 changes: 2 additions & 1 deletion looker-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
'the Looker data analytics engine to fetch data or render visualizations defined in your Looker data models. '+
'For more information, see https://looker.com.'
s.license = 'MIT'
s.required_ruby_version = '>= 2.5'
s.required_ruby_version = '>= 2.7'
s.requirements = 'Looker version 4.0 or later' # informational

s.files = `git ls-files`.split("\n")
Expand All @@ -26,4 +26,5 @@ Gem::Specification.new do |s|
s.add_dependency 'sawyer', '~> 0.8'
s.add_dependency 'faraday', ['>= 1.2', '< 3.0']
s.add_development_dependency 'ci_reporter_minitest', '~> 1.0'
s.add_development_dependency 'faraday', '~> 1.10'
end

0 comments on commit 2cf2373

Please sign in to comment.