googleauth 0.16.1 → 0.16.2

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: eefa2fdbe4ecb149c7072c85db0981ab2f697be2d3ce2c1687b3f66972bcfcb2
4
- data.tar.gz: df22fda656cb43999edfdd48dfd82c1a25766cc58143d9341c86d5e11aa2c4af
3
+ metadata.gz: a1f96ad8fd7b2aae5671af839775b83db2c3f6b9c31e36622c2dc983d647e54d
4
+ data.tar.gz: 58db2385909da01755365839451a6a8bbb79fceaabd76de313dab9496a7ea0dd
5
5
  SHA512:
6
- metadata.gz: de6485517a6497011e7b91482d1b2f4ba54cd9fc792fb8d237df38897c217e2e0793ee4210f8be6058d9b077b5478c1513f4b3c3486546494473ba9d624cf0fc
7
- data.tar.gz: 0dab952b230dfc40e1cb8b5010a8fc8ce5e3de03755517408dad390470ab181439f482764f46d6acd77cb52c17f3545c170d51821a2e9b669f21f7db2e52f9a1
6
+ metadata.gz: 39f9a7e75bbb27ff0cd9bb50ebc077751f83ee22fec724d4de9ed54c3bde97a92e5a9f577859784d2c298405fa9cf57491bddf73043ff5a0cb6a567379fc2cbb
7
+ data.tar.gz: 543d6c2e8175ea1262c4235e581124378ef932fe96b7c63e27b75654a2e7cdfc5e427c6f9668141de1b06d770dedfb97ca8b94b1df800d0bdf04c1860644dc2c
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ],
5
+ "rangeStrategy": "widen"
6
+ }
@@ -0,0 +1,18 @@
1
+ rebaseMergeAllowed: true
2
+ squashMergeAllowed: true
3
+ mergeCommitAllowed: false
4
+ branchProtectionRules:
5
+ - pattern: master
6
+ isAdminEnforced: false
7
+ requiredStatusCheckContexts:
8
+ - 'cla/google'
9
+ requiredApprovingReviewCount: 1
10
+ requiresCodeOwnerReviews: true
11
+ requiresStrictStatusChecks: true
12
+ permissionRules:
13
+ - team: yoshi-admins
14
+ permission: admin
15
+ - team: yoshi-ruby-admins
16
+ permission: admin
17
+ - team: yoshi-ruby
18
+ permission: push
@@ -44,7 +44,7 @@ jobs:
44
44
  with:
45
45
  ruby-version: "${{ matrix.ruby }}"
46
46
  - name: Install NodeJS 14.x
47
- uses: actions/setup-node@v1
47
+ uses: actions/setup-node@v2
48
48
  with:
49
49
  node-version: "14.x"
50
50
  - name: Install dependencies
@@ -26,7 +26,7 @@ jobs:
26
26
  - name: ReleaseLabel
27
27
  id: release-label
28
28
  if: ${{ steps.release-please.outputs.pr }}
29
- uses: actions/github-script@v2
29
+ uses: actions/github-script@v4
30
30
  with:
31
31
  github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
32
32
  script: |
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### [0.16.2](https://www.github.com/googleapis/google-auth-library-ruby/compare/google-auth-library-ruby/v0.16.1...google-auth-library-ruby/v0.16.2) (2021-04-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Stop attempting to get the project from gcloud when applying self-signed JWTs ([#317](https://www.github.com/googleapis/google-auth-library-ruby/issues/317)) ([39258ca](https://www.github.com/googleapis/google-auth-library-ruby/commit/39258cacafa5c770fb40d99075a97b8e6427adba))
9
+
3
10
  ### [0.16.1](https://www.github.com/googleapis/google-auth-library-ruby/compare/google-auth-library-ruby/v0.16.0...google-auth-library-ruby/v0.16.1) (2021-04-01)
4
11
 
5
12
 
@@ -123,8 +123,10 @@ module Google
123
123
  def apply_self_signed_jwt! a_hash
124
124
  # Use the ServiceAccountJwtHeaderCredentials using the same cred values
125
125
  cred_json = {
126
- private_key: @signing_key.to_s,
127
- client_email: @issuer
126
+ private_key: @signing_key.to_s,
127
+ client_email: @issuer,
128
+ project_id: @project_id,
129
+ quota_project_id: @quota_project_id
128
130
  }
129
131
  key_io = StringIO.new MultiJson.dump(cred_json)
130
132
  alt = ServiceAccountJwtHeaderCredentials.make_creds json_key_io: key_io
@@ -31,6 +31,6 @@ module Google
31
31
  # Module Auth provides classes that provide Google-specific authorization
32
32
  # used to access Google APIs.
33
33
  module Auth
34
- VERSION = "0.16.1".freeze
34
+ VERSION = "0.16.2".freeze
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Emiola
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -140,6 +140,8 @@ files:
140
140
  - ".github/ISSUE_TEMPLATE/bug_report.md"
141
141
  - ".github/ISSUE_TEMPLATE/feature_request.md"
142
142
  - ".github/ISSUE_TEMPLATE/support_request.md"
143
+ - ".github/renovate.json"
144
+ - ".github/sync-repo-settings.yaml"
143
145
  - ".github/workflows/ci.yml"
144
146
  - ".github/workflows/release-please.yml"
145
147
  - ".gitignore"
@@ -226,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
228
  - !ruby/object:Gem::Version
227
229
  version: '0'
228
230
  requirements: []
229
- rubygems_version: 3.2.13
231
+ rubygems_version: 3.2.16
230
232
  signing_key:
231
233
  specification_version: 4
232
234
  summary: Google Auth Library for Ruby