googleauth 0.9.0 → 0.13.1
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/.kokoro/continuous/linux.cfg +12 -2
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/.kokoro/release.cfg +42 -1
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +12 -35
- data/CHANGELOG.md +32 -0
- data/Gemfile +8 -3
- data/README.md +7 -11
- data/Rakefile +48 -5
- data/googleauth.gemspec +7 -4
- 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 +9 -9
- data/lib/googleauth/compute_engine.rb +30 -27
- data/lib/googleauth/credentials.rb +92 -22
- data/lib/googleauth/credentials_loader.rb +14 -15
- 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 +16 -7
- data/lib/googleauth/signet.rb +8 -6
- data/lib/googleauth/user_authorizer.rb +8 -3
- data/lib/googleauth/user_refresh.rb +1 -1
- data/lib/googleauth/version.rb +1 -1
- data/lib/googleauth/web_user_authorizer.rb +1 -1
- data/rakelib/devsite_builder.rb +45 -0
- data/rakelib/link_checker.rb +64 -0
- data/rakelib/repo_metadata.rb +59 -0
- data/spec/googleauth/apply_auth_examples.rb +28 -5
- data/spec/googleauth/compute_engine_spec.rb +37 -13
- data/spec/googleauth/credentials_spec.rb +25 -6
- data/spec/googleauth/service_account_spec.rb +23 -16
- data/spec/googleauth/signet_spec.rb +15 -7
- data/spec/googleauth/user_authorizer_spec.rb +21 -1
- 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 +45 -12
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googleauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.1
|
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: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.17.3
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
22
|
+
version: '2.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.17.3
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
32
|
+
version: '2.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: jwt
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +104,28 @@ dependencies:
|
|
98
104
|
requirements:
|
99
105
|
- - "~>"
|
100
106
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0.
|
107
|
+
version: '0.14'
|
102
108
|
type: :runtime
|
103
109
|
prerelease: false
|
104
110
|
version_requirements: !ruby/object:Gem::Requirement
|
105
111
|
requirements:
|
106
112
|
- - "~>"
|
107
113
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0.
|
114
|
+
version: '0.14'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: yard
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0.9'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0.9'
|
109
129
|
description: |2
|
110
130
|
Allows simple authorization for accessing Google APIs.
|
111
131
|
Provide support for Application Default Credentials, as described at
|
@@ -125,6 +145,7 @@ files:
|
|
125
145
|
- ".kokoro/continuous/common.cfg"
|
126
146
|
- ".kokoro/continuous/linux.cfg"
|
127
147
|
- ".kokoro/continuous/osx.cfg"
|
148
|
+
- ".kokoro/continuous/post.cfg"
|
128
149
|
- ".kokoro/continuous/windows.cfg"
|
129
150
|
- ".kokoro/osx.sh"
|
130
151
|
- ".kokoro/presubmit/common.cfg"
|
@@ -134,6 +155,7 @@ files:
|
|
134
155
|
- ".kokoro/release.cfg"
|
135
156
|
- ".kokoro/trampoline.bat"
|
136
157
|
- ".kokoro/trampoline.sh"
|
158
|
+
- ".repo-metadata.json"
|
137
159
|
- ".rspec"
|
138
160
|
- ".rubocop.yml"
|
139
161
|
- CHANGELOG.md
|
@@ -143,6 +165,8 @@ files:
|
|
143
165
|
- README.md
|
144
166
|
- Rakefile
|
145
167
|
- googleauth.gemspec
|
168
|
+
- integration/helper.rb
|
169
|
+
- integration/id_tokens/key_source_test.rb
|
146
170
|
- lib/googleauth.rb
|
147
171
|
- lib/googleauth/application_default.rb
|
148
172
|
- lib/googleauth/client_id.rb
|
@@ -151,6 +175,10 @@ files:
|
|
151
175
|
- lib/googleauth/credentials_loader.rb
|
152
176
|
- lib/googleauth/default_credentials.rb
|
153
177
|
- lib/googleauth/iam.rb
|
178
|
+
- lib/googleauth/id_tokens.rb
|
179
|
+
- lib/googleauth/id_tokens/errors.rb
|
180
|
+
- lib/googleauth/id_tokens/key_sources.rb
|
181
|
+
- lib/googleauth/id_tokens/verifier.rb
|
154
182
|
- lib/googleauth/json_key_reader.rb
|
155
183
|
- lib/googleauth/scope_util.rb
|
156
184
|
- lib/googleauth/service_account.rb
|
@@ -162,6 +190,9 @@ files:
|
|
162
190
|
- lib/googleauth/user_refresh.rb
|
163
191
|
- lib/googleauth/version.rb
|
164
192
|
- lib/googleauth/web_user_authorizer.rb
|
193
|
+
- rakelib/devsite_builder.rb
|
194
|
+
- rakelib/link_checker.rb
|
195
|
+
- rakelib/repo_metadata.rb
|
165
196
|
- spec/googleauth/apply_auth_examples.rb
|
166
197
|
- spec/googleauth/client_id_spec.rb
|
167
198
|
- spec/googleauth/compute_engine_spec.rb
|
@@ -178,7 +209,10 @@ files:
|
|
178
209
|
- spec/googleauth/user_refresh_spec.rb
|
179
210
|
- spec/googleauth/web_user_authorizer_spec.rb
|
180
211
|
- spec/spec_helper.rb
|
181
|
-
|
212
|
+
- test/helper.rb
|
213
|
+
- test/id_tokens/key_sources_test.rb
|
214
|
+
- test/id_tokens/verifier_test.rb
|
215
|
+
homepage: https://github.com/googleapis/google-auth-library-ruby
|
182
216
|
licenses:
|
183
217
|
- Apache-2.0
|
184
218
|
metadata: {}
|
@@ -190,15 +224,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
224
|
requirements:
|
191
225
|
- - ">="
|
192
226
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
227
|
+
version: 2.4.0
|
194
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
229
|
requirements:
|
196
230
|
- - ">="
|
197
231
|
- !ruby/object:Gem::Version
|
198
232
|
version: '0'
|
199
233
|
requirements: []
|
200
|
-
|
201
|
-
rubygems_version: 2.7.6.2
|
234
|
+
rubygems_version: 3.1.3
|
202
235
|
signing_key:
|
203
236
|
specification_version: 4
|
204
237
|
summary: Google Auth Library for Ruby
|