googleauth 0.11.0 → 0.15.0
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/CODEOWNERS +7 -0
- data/.github/workflows/release.yml +36 -0
- data/.rubocop.yml +3 -1
- data/CHANGELOG.md +59 -23
- data/Gemfile +5 -2
- data/{COPYING → LICENSE} +0 -0
- data/Rakefile +21 -0
- data/googleauth.gemspec +3 -2
- data/integration/helper.rb +31 -0
- data/integration/id_tokens/key_source_test.rb +74 -0
- data/lib/googleauth.rb +1 -0
- data/lib/googleauth/application_default.rb +1 -1
- data/lib/googleauth/compute_engine.rb +40 -9
- data/lib/googleauth/credentials.rb +217 -54
- data/lib/googleauth/id_tokens.rb +233 -0
- data/lib/googleauth/id_tokens/errors.rb +71 -0
- data/lib/googleauth/id_tokens/key_sources.rb +394 -0
- data/lib/googleauth/id_tokens/verifier.rb +144 -0
- data/lib/googleauth/json_key_reader.rb +6 -2
- data/lib/googleauth/service_account.rb +39 -20
- data/lib/googleauth/signet.rb +3 -2
- data/lib/googleauth/version.rb +1 -1
- data/lib/googleauth/web_user_authorizer.rb +3 -6
- data/spec/googleauth/apply_auth_examples.rb +28 -5
- data/spec/googleauth/compute_engine_spec.rb +66 -13
- data/spec/googleauth/credentials_spec.rb +240 -112
- data/spec/googleauth/service_account_spec.rb +31 -16
- data/spec/googleauth/signet_spec.rb +15 -7
- data/spec/googleauth/user_refresh_spec.rb +1 -1
- data/test/helper.rb +33 -0
- data/test/id_tokens/key_sources_test.rb +240 -0
- data/test/id_tokens/verifier_test.rb +269 -0
- metadata +18 -7
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.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Emiola
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -104,14 +104,14 @@ dependencies:
|
|
104
104
|
requirements:
|
105
105
|
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: '0.
|
107
|
+
version: '0.14'
|
108
108
|
type: :runtime
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: '0.
|
114
|
+
version: '0.14'
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: yard
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,10 +135,12 @@ executables: []
|
|
135
135
|
extensions: []
|
136
136
|
extra_rdoc_files: []
|
137
137
|
files:
|
138
|
+
- ".github/CODEOWNERS"
|
138
139
|
- ".github/CONTRIBUTING.md"
|
139
140
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
140
141
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
141
142
|
- ".github/ISSUE_TEMPLATE/support_request.md"
|
143
|
+
- ".github/workflows/release.yml"
|
142
144
|
- ".gitignore"
|
143
145
|
- ".kokoro/build.bat"
|
144
146
|
- ".kokoro/build.sh"
|
@@ -160,11 +162,13 @@ files:
|
|
160
162
|
- ".rubocop.yml"
|
161
163
|
- CHANGELOG.md
|
162
164
|
- CODE_OF_CONDUCT.md
|
163
|
-
- COPYING
|
164
165
|
- Gemfile
|
166
|
+
- LICENSE
|
165
167
|
- README.md
|
166
168
|
- Rakefile
|
167
169
|
- googleauth.gemspec
|
170
|
+
- integration/helper.rb
|
171
|
+
- integration/id_tokens/key_source_test.rb
|
168
172
|
- lib/googleauth.rb
|
169
173
|
- lib/googleauth/application_default.rb
|
170
174
|
- lib/googleauth/client_id.rb
|
@@ -173,6 +177,10 @@ files:
|
|
173
177
|
- lib/googleauth/credentials_loader.rb
|
174
178
|
- lib/googleauth/default_credentials.rb
|
175
179
|
- lib/googleauth/iam.rb
|
180
|
+
- lib/googleauth/id_tokens.rb
|
181
|
+
- lib/googleauth/id_tokens/errors.rb
|
182
|
+
- lib/googleauth/id_tokens/key_sources.rb
|
183
|
+
- lib/googleauth/id_tokens/verifier.rb
|
176
184
|
- lib/googleauth/json_key_reader.rb
|
177
185
|
- lib/googleauth/scope_util.rb
|
178
186
|
- lib/googleauth/service_account.rb
|
@@ -203,7 +211,10 @@ files:
|
|
203
211
|
- spec/googleauth/user_refresh_spec.rb
|
204
212
|
- spec/googleauth/web_user_authorizer_spec.rb
|
205
213
|
- spec/spec_helper.rb
|
206
|
-
|
214
|
+
- test/helper.rb
|
215
|
+
- test/id_tokens/key_sources_test.rb
|
216
|
+
- test/id_tokens/verifier_test.rb
|
217
|
+
homepage: https://github.com/googleapis/google-auth-library-ruby
|
207
218
|
licenses:
|
208
219
|
- Apache-2.0
|
209
220
|
metadata: {}
|
@@ -222,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
233
|
- !ruby/object:Gem::Version
|
223
234
|
version: '0'
|
224
235
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
236
|
+
rubygems_version: 3.2.6
|
226
237
|
signing_key:
|
227
238
|
specification_version: 4
|
228
239
|
summary: Google Auth Library for Ruby
|