oauth2 2.0.24 → 2.0.25
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +25 -1
- data/CONTRIBUTING.md +4 -1
- data/FUNDING.md +1 -5
- data/MIT.md +21 -0
- data/README.md +22 -23
- data/lib/oauth2/access_token.rb +6 -6
- data/lib/oauth2/client.rb +2 -2
- data/lib/oauth2/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +28 -27
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12dd3e2f3cb149c49f71730a5804b2048f566e30b0e3aabc99f8fec7a24169d0
|
|
4
|
+
data.tar.gz: f7adbcd67c2803bd456ced1dc96c6a26d8773dde70a387f44f176ce35567e810
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9dc679e94e58e1fb5b4926889cb39d5308c6a4de6845a3562f030b8174f0a06e43d88d6ce7043b98d3046c59de8a49a1b6763684a0357e620b1c830ea6b7ae43
|
|
7
|
+
data.tar.gz: 677e9e28a831e1e7e20d2f2404a3769c82022098c683210f3f072c349bd7bde1e8357ebddd11b0c58327611e6380aa214b8983eb1634a6b35f42d8ac34e734f8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,28 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [2.0.25] - 2026-07-14
|
|
34
|
+
|
|
35
|
+
- TAG: [v2.0.25][2.0.25t]
|
|
36
|
+
- COVERAGE: 100.00% -- 558/558 lines in 15 files
|
|
37
|
+
- BRANCH COVERAGE: 97.89% -- 186/190 branches in 15 files
|
|
38
|
+
- 88.35% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Raised the `anonymous_loader` runtime dependency floor to `>= 0.1.3`.
|
|
47
|
+
- Raised the `auth-sanitizer` runtime dependency floor to `>= 0.2.3`.
|
|
48
|
+
- Retemplated generated project metadata, support documentation, CI workflows,
|
|
49
|
+
binstubs, and development dependency floors with `kettle-jem` v7.0.0.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Package configured license files in gem release file lists.
|
|
54
|
+
|
|
33
55
|
## [2.0.24] - 2026-06-18
|
|
34
56
|
|
|
35
57
|
- TAG: [v2.0.24][2.0.24t]
|
|
@@ -908,7 +930,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
908
930
|
|
|
909
931
|
[gemfiles/readme]: gemfiles/README.md
|
|
910
932
|
|
|
911
|
-
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.
|
|
933
|
+
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.25...HEAD
|
|
934
|
+
[2.0.25]: https://github.com/ruby-oauth/oauth2/compare/v2.0.24...v2.0.25
|
|
935
|
+
[2.0.25t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.25
|
|
912
936
|
[2.0.24]: https://github.com/ruby-oauth/oauth2/compare/v2.0.23...v2.0.24
|
|
913
937
|
[2.0.24t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.24
|
|
914
938
|
[2.0.23]: https://github.com/ruby-oauth/oauth2/compare/v2.0.22...v2.0.23
|
data/CONTRIBUTING.md
CHANGED
|
@@ -131,9 +131,12 @@ toolchain, and it may be higher than the gemspec runtime floor.
|
|
|
131
131
|
They are created and updated with the commands:
|
|
132
132
|
|
|
133
133
|
```console
|
|
134
|
-
bin/rake appraisal:
|
|
134
|
+
bin/rake appraisal:generate
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
+
Use `bin/rake appraisal:update` when you intentionally need to resolve fresh
|
|
138
|
+
appraisal locks.
|
|
139
|
+
|
|
137
140
|
If you need to reset all gemfiles/*.gemfile.lock files:
|
|
138
141
|
|
|
139
142
|
```console
|
data/FUNDING.md
CHANGED
|
@@ -6,7 +6,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
6
6
|
|
|
7
7
|
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal]
|
|
8
8
|
|
|
9
|
-
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
9
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
10
10
|
|
|
11
11
|
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
12
12
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
@@ -16,12 +16,8 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
16
16
|
[🖇osc-sponsors-i]: https://opencollective.com/ruby-oauth/sponsors/badge.svg?style=flat
|
|
17
17
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
18
18
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
19
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
20
|
-
[🖇polar]: https://polar.sh/pboling
|
|
21
19
|
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
22
20
|
[🖇kofi]: https://ko-fi.com/pboling
|
|
23
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
24
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
25
21
|
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
26
22
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
27
23
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
data/MIT.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
See [LICENSE.md](LICENSE.md) for the copyright notice.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
12
12
|
|
|
13
|
-
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
13
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
14
14
|
|
|
15
|
-
<details>
|
|
15
|
+
<details markdown="1">
|
|
16
16
|
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
17
17
|
|
|
18
18
|
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
@@ -150,9 +150,9 @@ See also the [OAuth 2.0 Spec][oauth2-spec], the [OpenID Connect Spec][oidc-spec]
|
|
|
150
150
|
|
|
151
151
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
152
152
|
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
153
|
-
| Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
154
|
-
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎truby-23.0-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
155
|
-
| Works with MRI Ruby 4 | [![Ruby
|
|
153
|
+
| Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
154
|
+
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎truby-23.0-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
|
|
155
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
156
156
|
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
157
157
|
| Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
|
|
158
158
|
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
@@ -171,20 +171,23 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
|
171
171
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
172
172
|
not practical for the current toolchain.
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
175
|
+
|
|
176
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
176
177
|
|
|
177
|
-
<details>
|
|
178
|
-
<summary>How
|
|
178
|
+
<details markdown="1">
|
|
179
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
179
180
|
|
|
180
181
|
| Gem | Source | Role | Daily download rank |
|
|
181
182
|
|-----|--------|------|---------------------|
|
|
182
183
|
| [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://bestgems.org/gems/appraisal2) |
|
|
183
184
|
| [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://bestgems.org/gems/appraisal2-rubocop) |
|
|
184
|
-
| [
|
|
185
|
-
| [kettle-
|
|
185
|
+
| [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://bestgems.org/gems/kettle-dev) |
|
|
186
|
+
| [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://bestgems.org/gems/kettle-jem) |
|
|
186
187
|
| [kettle-soup-cover](https://bestgems.org/gems/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://bestgems.org/gems/kettle-soup-cover) |
|
|
188
|
+
| [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://bestgems.org/gems/kettle-test) |
|
|
187
189
|
| [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://bestgems.org/gems/rubocop-lts) |
|
|
190
|
+
| [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://bestgems.org/gems/turbo_tests2) |
|
|
188
191
|
|
|
189
192
|
</details>
|
|
190
193
|
|
|
@@ -673,10 +676,6 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
|
|
|
673
676
|
|
|
674
677
|
<!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
|
|
675
678
|
No sponsors yet. Be the first!
|
|
676
|
-
|
|
677
|
-
### Open Collective for Donors
|
|
678
|
-
|
|
679
|
-
[Bill Woika](https://opencollective.com/bill-woika) [Philipp Ebneter](https://opencollective.com/guest-e77282f7) [Grigoriy](https://opencollective.com/guest-c93e0c48)
|
|
680
679
|
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
681
680
|
|
|
682
681
|
[kettle-readme-backers]: https://github.com/ruby-oauth/oauth2/blob/main/bin/kettle-readme-backers
|
|
@@ -691,7 +690,7 @@ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed
|
|
|
691
690
|
|
|
692
691
|
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
693
692
|
|
|
694
|
-
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
693
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
695
694
|
|
|
696
695
|
## 🔐 Security
|
|
697
696
|
|
|
@@ -737,7 +736,7 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
737
736
|
|
|
738
737
|
Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/oauth2/-/graphs/main][🚎contributors-gl]
|
|
739
738
|
|
|
740
|
-
<details>
|
|
739
|
+
<details markdown="1">
|
|
741
740
|
<summary>⭐️ Star History</summary>
|
|
742
741
|
|
|
743
742
|
<a href="https://star-history.com/ruby-oauth/oauth2&Date">
|
|
@@ -933,12 +932,8 @@ Thanks for RTFM. ☺️
|
|
|
933
932
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
934
933
|
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
935
934
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
936
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
937
|
-
[🖇polar]: https://polar.sh/pboling
|
|
938
935
|
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
939
936
|
[🖇kofi]: https://ko-fi.com/pboling
|
|
940
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
941
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
942
937
|
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
943
938
|
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
|
944
939
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
@@ -1028,11 +1023,13 @@ Thanks for RTFM. ☺️
|
|
|
1028
1023
|
[🚎jruby-9.2-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/jruby-9.2.yml
|
|
1029
1024
|
[🚎jruby-9.3-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/jruby-9.3.yml
|
|
1030
1025
|
[🚎jruby-9.4-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/jruby-9.4.yml
|
|
1026
|
+
[🚎jruby-10.0-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/jruby-10.0.yml
|
|
1031
1027
|
[🚎truby-22.3-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-22.3.yml
|
|
1032
1028
|
[🚎truby-23.0-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-23.0.yml
|
|
1033
1029
|
[🚎truby-23.1-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-23.1.yml
|
|
1034
1030
|
[🚎truby-24.2-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-24.2.yml
|
|
1035
1031
|
[🚎truby-25.0-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-25.0.yml
|
|
1032
|
+
[🚎truby-33.0-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/truffleruby-33.0.yml
|
|
1036
1033
|
[🚎2-cov-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/coverage.yml
|
|
1037
1034
|
[🚎2-cov-wfi]: https://github.com/ruby-oauth/oauth2/actions/workflows/coverage.yml/badge.svg
|
|
1038
1035
|
[🚎3-hd-wf]: https://github.com/ruby-oauth/oauth2/actions/workflows/heads.yml
|
|
@@ -1064,7 +1061,6 @@ Thanks for RTFM. ☺️
|
|
|
1064
1061
|
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
1065
1062
|
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
1066
1063
|
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
1067
|
-
[💎ruby-4.0i]: https://img.shields.io/badge/Ruby-4.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
1068
1064
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
1069
1065
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
1070
1066
|
[💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
@@ -1072,10 +1068,13 @@ Thanks for RTFM. ☺️
|
|
|
1072
1068
|
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
1073
1069
|
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
1074
1070
|
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
1071
|
+
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
1075
1072
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
1073
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
1076
1074
|
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
1077
1075
|
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
1078
1076
|
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
1077
|
+
[💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
1079
1078
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
1080
1079
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
1081
1080
|
[🤝gh-issues]: https://github.com/ruby-oauth/oauth2/issues
|
|
@@ -1134,5 +1133,5 @@ Thanks for RTFM. ☺️
|
|
|
1134
1133
|
| Homepage | https://github.com/ruby-oauth/oauth2 |
|
|
1135
1134
|
| Source | https://github.com/ruby-oauth/oauth2 |
|
|
1136
1135
|
| License | `MIT` |
|
|
1137
|
-
| Funding | https://github.com/sponsors/pboling, https://
|
|
1136
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/ruby-oauth, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/oauth2, https://www.buymeacoffee.com/pboling |
|
|
1138
1137
|
<!-- kettle-jem:metadata:end -->
|
data/lib/oauth2/access_token.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# :
|
|
3
|
+
# simplecov:disable
|
|
4
4
|
begin
|
|
5
5
|
# The first version of hashie that has a version file was 1.1.0
|
|
6
6
|
# The first version of hashie that required the version file at runtime was 3.2.0
|
|
@@ -13,7 +13,7 @@ begin
|
|
|
13
13
|
rescue LoadError
|
|
14
14
|
nil
|
|
15
15
|
end
|
|
16
|
-
# :
|
|
16
|
+
# simplecov:enable
|
|
17
17
|
|
|
18
18
|
module OAuth2
|
|
19
19
|
class AccessToken # rubocop:disable Metrics/ClassLength
|
|
@@ -66,10 +66,10 @@ module OAuth2
|
|
|
66
66
|
t_key = supported_keys[0]
|
|
67
67
|
extra_tokens_warning(supported_keys, t_key)
|
|
68
68
|
end
|
|
69
|
-
# :
|
|
69
|
+
# simplecov:disable
|
|
70
70
|
# TODO: Get rid of this branching logic when dropping Hashie < v3.2
|
|
71
71
|
token = extract_token_value(fresh, t_key)
|
|
72
|
-
# :
|
|
72
|
+
# simplecov:enable
|
|
73
73
|
new(client, token, fresh)
|
|
74
74
|
end
|
|
75
75
|
|
|
@@ -103,7 +103,7 @@ You may need to set `snaky: false`. See inline documentation for more info.
|
|
|
103
103
|
])
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
# :
|
|
106
|
+
# simplecov:disable
|
|
107
107
|
def extract_token_value(fresh, key)
|
|
108
108
|
token_value = fresh.delete(key)
|
|
109
109
|
return token_value || "" if defined?(Hashie::VERSION)
|
|
@@ -112,7 +112,7 @@ You may need to set `snaky: false`. See inline documentation for more info.
|
|
|
112
112
|
# There is a bug in Hashie v0, which this accounts for.
|
|
113
113
|
token_value || fresh[key] || ""
|
|
114
114
|
end
|
|
115
|
-
# :
|
|
115
|
+
# simplecov:enable
|
|
116
116
|
end
|
|
117
117
|
|
|
118
118
|
# Initialize an AccessToken
|
data/lib/oauth2/client.rb
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
require "faraday"
|
|
4
4
|
require "logger"
|
|
5
5
|
|
|
6
|
-
# :
|
|
6
|
+
# simplecov:disable since coverage tracking only runs on the builds with Faraday v2
|
|
7
7
|
# We do run builds on Faraday v0 (and v1!), so this code is actually covered!
|
|
8
8
|
# This is the only nocov in the whole project!
|
|
9
9
|
if Faraday::Utils.respond_to?(:default_space_encoding)
|
|
10
10
|
# This setting doesn't exist in faraday 0.x
|
|
11
11
|
Faraday::Utils.default_space_encoding = "%20"
|
|
12
12
|
end
|
|
13
|
-
# :
|
|
13
|
+
# simplecov:enable
|
|
14
14
|
|
|
15
15
|
module OAuth2
|
|
16
16
|
ConnectionError = Class.new(Faraday::ConnectionFailed)
|
data/lib/oauth2/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
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.
|
|
4
|
+
version: 2.0.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Michaels-Ober
|
|
@@ -141,7 +141,7 @@ dependencies:
|
|
|
141
141
|
version: '0.1'
|
|
142
142
|
- - ">="
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: 0.1.
|
|
144
|
+
version: 0.1.3
|
|
145
145
|
type: :runtime
|
|
146
146
|
prerelease: false
|
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -151,7 +151,7 @@ dependencies:
|
|
|
151
151
|
version: '0.1'
|
|
152
152
|
- - ">="
|
|
153
153
|
- !ruby/object:Gem::Version
|
|
154
|
-
version: 0.1.
|
|
154
|
+
version: 0.1.3
|
|
155
155
|
- !ruby/object:Gem::Dependency
|
|
156
156
|
name: auth-sanitizer
|
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -161,7 +161,7 @@ dependencies:
|
|
|
161
161
|
version: '0.2'
|
|
162
162
|
- - ">="
|
|
163
163
|
- !ruby/object:Gem::Version
|
|
164
|
-
version: 0.2.
|
|
164
|
+
version: 0.2.3
|
|
165
165
|
type: :runtime
|
|
166
166
|
prerelease: false
|
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -171,7 +171,7 @@ dependencies:
|
|
|
171
171
|
version: '0.2'
|
|
172
172
|
- - ">="
|
|
173
173
|
- !ruby/object:Gem::Version
|
|
174
|
-
version: 0.2.
|
|
174
|
+
version: 0.2.3
|
|
175
175
|
- !ruby/object:Gem::Dependency
|
|
176
176
|
name: faraday
|
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -269,7 +269,7 @@ dependencies:
|
|
|
269
269
|
version: '2.0'
|
|
270
270
|
- - ">="
|
|
271
271
|
- !ruby/object:Gem::Version
|
|
272
|
-
version: 2.0.
|
|
272
|
+
version: 2.0.7
|
|
273
273
|
type: :runtime
|
|
274
274
|
prerelease: false
|
|
275
275
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -279,7 +279,7 @@ dependencies:
|
|
|
279
279
|
version: '2.0'
|
|
280
280
|
- - ">="
|
|
281
281
|
- !ruby/object:Gem::Version
|
|
282
|
-
version: 2.0.
|
|
282
|
+
version: 2.0.7
|
|
283
283
|
- !ruby/object:Gem::Dependency
|
|
284
284
|
name: version_gem
|
|
285
285
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -289,7 +289,7 @@ dependencies:
|
|
|
289
289
|
version: '1.1'
|
|
290
290
|
- - ">="
|
|
291
291
|
- !ruby/object:Gem::Version
|
|
292
|
-
version: 1.1.
|
|
292
|
+
version: 1.1.14
|
|
293
293
|
type: :runtime
|
|
294
294
|
prerelease: false
|
|
295
295
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -299,27 +299,27 @@ dependencies:
|
|
|
299
299
|
version: '1.1'
|
|
300
300
|
- - ">="
|
|
301
301
|
- !ruby/object:Gem::Version
|
|
302
|
-
version: 1.1.
|
|
302
|
+
version: 1.1.14
|
|
303
303
|
- !ruby/object:Gem::Dependency
|
|
304
304
|
name: kettle-dev
|
|
305
305
|
requirement: !ruby/object:Gem::Requirement
|
|
306
306
|
requirements:
|
|
307
307
|
- - "~>"
|
|
308
308
|
- !ruby/object:Gem::Version
|
|
309
|
-
version: '2.
|
|
309
|
+
version: '2.3'
|
|
310
310
|
- - ">="
|
|
311
311
|
- !ruby/object:Gem::Version
|
|
312
|
-
version: 2.
|
|
312
|
+
version: 2.3.4
|
|
313
313
|
type: :development
|
|
314
314
|
prerelease: false
|
|
315
315
|
version_requirements: !ruby/object:Gem::Requirement
|
|
316
316
|
requirements:
|
|
317
317
|
- - "~>"
|
|
318
318
|
- !ruby/object:Gem::Version
|
|
319
|
-
version: '2.
|
|
319
|
+
version: '2.3'
|
|
320
320
|
- - ">="
|
|
321
321
|
- !ruby/object:Gem::Version
|
|
322
|
-
version: 2.
|
|
322
|
+
version: 2.3.4
|
|
323
323
|
- !ruby/object:Gem::Dependency
|
|
324
324
|
name: bundler-audit
|
|
325
325
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -377,7 +377,7 @@ dependencies:
|
|
|
377
377
|
version: '3.1'
|
|
378
378
|
- - ">="
|
|
379
379
|
- !ruby/object:Gem::Version
|
|
380
|
-
version: 3.1.
|
|
380
|
+
version: 3.1.4
|
|
381
381
|
type: :development
|
|
382
382
|
prerelease: false
|
|
383
383
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -387,7 +387,7 @@ dependencies:
|
|
|
387
387
|
version: '3.1'
|
|
388
388
|
- - ">="
|
|
389
389
|
- !ruby/object:Gem::Version
|
|
390
|
-
version: 3.1.
|
|
390
|
+
version: 3.1.4
|
|
391
391
|
- !ruby/object:Gem::Dependency
|
|
392
392
|
name: kettle-test
|
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -397,7 +397,7 @@ dependencies:
|
|
|
397
397
|
version: '2.0'
|
|
398
398
|
- - ">="
|
|
399
399
|
- !ruby/object:Gem::Version
|
|
400
|
-
version: 2.0.
|
|
400
|
+
version: 2.0.10
|
|
401
401
|
type: :development
|
|
402
402
|
prerelease: false
|
|
403
403
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -407,7 +407,7 @@ dependencies:
|
|
|
407
407
|
version: '2.0'
|
|
408
408
|
- - ">="
|
|
409
409
|
- !ruby/object:Gem::Version
|
|
410
|
-
version: 2.0.
|
|
410
|
+
version: 2.0.10
|
|
411
411
|
- !ruby/object:Gem::Dependency
|
|
412
412
|
name: turbo_tests2
|
|
413
413
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -417,7 +417,7 @@ dependencies:
|
|
|
417
417
|
version: '3.1'
|
|
418
418
|
- - ">="
|
|
419
419
|
- !ruby/object:Gem::Version
|
|
420
|
-
version: 3.1.
|
|
420
|
+
version: 3.1.8
|
|
421
421
|
type: :development
|
|
422
422
|
prerelease: false
|
|
423
423
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -427,7 +427,7 @@ dependencies:
|
|
|
427
427
|
version: '3.1'
|
|
428
428
|
- - ">="
|
|
429
429
|
- !ruby/object:Gem::Version
|
|
430
|
-
version: 3.1.
|
|
430
|
+
version: 3.1.8
|
|
431
431
|
- !ruby/object:Gem::Dependency
|
|
432
432
|
name: ruby-progressbar
|
|
433
433
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -451,7 +451,7 @@ dependencies:
|
|
|
451
451
|
version: '1.0'
|
|
452
452
|
- - ">="
|
|
453
453
|
- !ruby/object:Gem::Version
|
|
454
|
-
version: 1.0.
|
|
454
|
+
version: 1.0.6
|
|
455
455
|
type: :development
|
|
456
456
|
prerelease: false
|
|
457
457
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -461,7 +461,7 @@ dependencies:
|
|
|
461
461
|
version: '1.0'
|
|
462
462
|
- - ">="
|
|
463
463
|
- !ruby/object:Gem::Version
|
|
464
|
-
version: 1.0.
|
|
464
|
+
version: 1.0.6
|
|
465
465
|
- !ruby/object:Gem::Dependency
|
|
466
466
|
name: gitmoji-regex
|
|
467
467
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -471,7 +471,7 @@ dependencies:
|
|
|
471
471
|
version: '2.0'
|
|
472
472
|
- - ">="
|
|
473
473
|
- !ruby/object:Gem::Version
|
|
474
|
-
version: 2.0.
|
|
474
|
+
version: 2.0.4
|
|
475
475
|
type: :development
|
|
476
476
|
prerelease: false
|
|
477
477
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -481,7 +481,7 @@ dependencies:
|
|
|
481
481
|
version: '2.0'
|
|
482
482
|
- - ">="
|
|
483
483
|
- !ruby/object:Gem::Version
|
|
484
|
-
version: 2.0.
|
|
484
|
+
version: 2.0.4
|
|
485
485
|
- !ruby/object:Gem::Dependency
|
|
486
486
|
name: addressable
|
|
487
487
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -579,6 +579,7 @@ files:
|
|
|
579
579
|
- CONTRIBUTING.md
|
|
580
580
|
- FUNDING.md
|
|
581
581
|
- LICENSE.md
|
|
582
|
+
- MIT.md
|
|
582
583
|
- README.md
|
|
583
584
|
- RUBOCOP.md
|
|
584
585
|
- SECURITY.md
|
|
@@ -614,10 +615,10 @@ licenses:
|
|
|
614
615
|
- MIT
|
|
615
616
|
metadata:
|
|
616
617
|
homepage_uri: https://oauth2.galtzo.com
|
|
617
|
-
source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.
|
|
618
|
-
changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.
|
|
618
|
+
source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.25
|
|
619
|
+
changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.25/CHANGELOG.md
|
|
619
620
|
bug_tracker_uri: https://github.com/ruby-oauth/oauth2/issues
|
|
620
|
-
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.
|
|
621
|
+
documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.25
|
|
621
622
|
funding_uri: https://github.com/sponsors/pboling
|
|
622
623
|
wiki_uri: https://github.com/ruby-oauth/oauth2/wiki
|
|
623
624
|
news_uri: https://www.railsbling.com/tags/oauth2
|
|
@@ -646,7 +647,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
646
647
|
- !ruby/object:Gem::Version
|
|
647
648
|
version: '0'
|
|
648
649
|
requirements: []
|
|
649
|
-
rubygems_version: 4.0.
|
|
650
|
+
rubygems_version: 4.0.16
|
|
650
651
|
specification_version: 4
|
|
651
652
|
summary: "\U0001F510 OAuth 2.0, 2.1 & OIDC Core Ruby implementation"
|
|
652
653
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|