oauth2 2.0.0.rc1 → 2.0.0.rc2
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/lib/oauth2/access_token.rb +1 -1
- data/lib/oauth2/client.rb +2 -0
- data/lib/oauth2/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbd97bd821d080a346022a1be5b7cc638dcd21964f5f2eb1d5bef6c2feaa5d95
|
|
4
|
+
data.tar.gz: d3b376e2ffdf58445da10fb6dfffd9268a33b640e50394e57915b68fb0c6e6a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6659d15e190363eb065b089bb2c16c1a1a76681a02608a2630f0b4af5c0ac8c7e23e479e3b77400298f861675030c218e11357518729c12d2c6c24e0a49f93f
|
|
7
|
+
data.tar.gz: 4b168e3dd8de638369477e59bbbbf6804fc29528dbf191718d7a4ceb885f359b6212856e9319ede017b91166be131105c7310677ce7b297659ed4d0412af7c13
|
data/lib/oauth2/access_token.rb
CHANGED
|
@@ -88,7 +88,7 @@ module OAuth2
|
|
|
88
88
|
#
|
|
89
89
|
# @return [AccessToken] a new AccessToken
|
|
90
90
|
# @note options should be carried over to the new AccessToken
|
|
91
|
-
def refresh(params = {}, access_token_opts = {}, access_token_class
|
|
91
|
+
def refresh(params = {}, access_token_opts = {}, access_token_class: self.class)
|
|
92
92
|
raise('A refresh_token is not available') unless refresh_token
|
|
93
93
|
|
|
94
94
|
params[:grant_type] = 'refresh_token'
|
data/lib/oauth2/client.rb
CHANGED
data/lib/oauth2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oauth2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Boling
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2022-06-
|
|
13
|
+
date: 2022-06-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: faraday
|
|
@@ -293,10 +293,10 @@ licenses:
|
|
|
293
293
|
- MIT
|
|
294
294
|
metadata:
|
|
295
295
|
homepage_uri: https://github.com/oauth-xx/oauth2
|
|
296
|
-
source_code_uri: https://github.com/oauth-xx/oauth2/tree/v2.0.0.
|
|
297
|
-
changelog_uri: https://github.com/oauth-xx/oauth2/blob/v2.0.0.
|
|
296
|
+
source_code_uri: https://github.com/oauth-xx/oauth2/tree/v2.0.0.rc2
|
|
297
|
+
changelog_uri: https://github.com/oauth-xx/oauth2/blob/v2.0.0.rc2/CHANGELOG.md
|
|
298
298
|
bug_tracker_uri: https://github.com/oauth-xx/oauth2/issues
|
|
299
|
-
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.0.
|
|
299
|
+
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.0.rc2
|
|
300
300
|
wiki_uri: https://github.com/oauth-xx/oauth2/wiki
|
|
301
301
|
rubygems_mfa_required: 'true'
|
|
302
302
|
post_install_message:
|