oauth 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -1
- data/CONTRIBUTING.md +2 -2
- data/README.md +22 -16
- data/SECURITY.md +11 -5
- data/lib/oauth/version.rb +1 -1
- metadata +30 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 414ee66cdf6d7d20e2caddba76264dc3a5d5d058157abe8cd77907cfe42e2fbe
|
4
|
+
data.tar.gz: de2152db1bf49cb9397bb95eaf10ebbe67f755f3de478cb36e4350beda3b2b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab63e0e09c842637f45bf7053eae8c834238b36cee7ae8771a70766c51cea0a1b1277c025a46caa9fb5499fd93ff342749dc42e70bb5a3351a169b894602f0d
|
7
|
+
data.tar.gz: aca6573f60c0926534fa3f6b1e40695c3ddb96ee9153cc9a3bc3bf6948d831918c1f358afde4273eca4a9608b2e20cc75e8b86a2e9cc53ab257d1084a6130e0a
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
+
## [0.6.1] 2022-08-23
|
17
|
+
### Changed
|
18
|
+
* Fixed documentation in SECURITY.md
|
19
|
+
* Change references to master => main
|
20
|
+
|
21
|
+
### Added
|
22
|
+
* Post install note about v0.6.x EOL approaching in April, 2024
|
23
|
+
|
16
24
|
## [0.6.0] 2022-08-23
|
17
25
|
### Added
|
18
26
|
* New option `body_hash_enabled` which defaults to true to maintain backward compatibility with prior releases. Setting to `false` disables generation of a `oauth_body_hash` component as part of the signature computation.
|
@@ -27,6 +35,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
27
35
|
### Removed
|
28
36
|
* Ruby 2.0, 2.1, 2.2, and 2.3 are no longer valid install targets
|
29
37
|
|
38
|
+
## [0.5.13] 2022-08-23
|
39
|
+
The "I think I caught 'em all!" Release
|
40
|
+
|
41
|
+
### Fixed
|
42
|
+
* Typo oauth2 => oauth as gem name in one more place.
|
43
|
+
|
44
|
+
## [0.5.12] 2022-08-23
|
45
|
+
The "Typoes are just the worst!" Release
|
46
|
+
|
47
|
+
### Fixed
|
48
|
+
* Typo oauth2 => oauth as gem name in a couple places.
|
49
|
+
|
50
|
+
## [0.5.11] 2022-08-23
|
51
|
+
The "Is this the last release with a silly name?" Release
|
52
|
+
|
53
|
+
### Added
|
54
|
+
* Post install note about v0.5.x EOL approaching in April, 2023
|
55
|
+
|
56
|
+
### Changed
|
57
|
+
* Improved documentation
|
58
|
+
* Switched branch references from master to main
|
59
|
+
* CI builds are now all green!
|
60
|
+
|
30
61
|
## [0.5.10] 2022-05-04
|
31
62
|
The "Can it be the end of the line for 0.5.x?" Release
|
32
63
|
|
@@ -400,8 +431,12 @@ but please have a look at the unit tests.
|
|
400
431
|
* Moved all non-Rails functionality from the Rails plugin:
|
401
432
|
http://code.google.com/p/oauth-plugin/
|
402
433
|
|
403
|
-
[Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.6.
|
434
|
+
[Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.6.1...v0.6-maintenance
|
435
|
+
[0.6.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.6.1
|
404
436
|
[0.6.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.6.0
|
437
|
+
[0.5.13]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.13
|
438
|
+
[0.5.12]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.12
|
439
|
+
[0.5.11]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.11
|
405
440
|
[0.5.10]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.10
|
406
441
|
[0.5.9]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.9
|
407
442
|
[0.5.8]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.8
|
data/CONTRIBUTING.md
CHANGED
@@ -16,8 +16,8 @@ Made with [contributors-img][contrib-rocks].
|
|
16
16
|
|
17
17
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
18
18
|
|
19
|
-
[conduct]: https://github.com/oauth-xx/oauth-ruby/blob/
|
20
|
-
[contributing]: https://github.com/oauth-xx/oauth-ruby/blob/
|
19
|
+
[conduct]: https://github.com/oauth-xx/oauth-ruby/blob/main/CODE_OF_CONDUCT.md
|
20
|
+
[contributing]: https://github.com/oauth-xx/oauth-ruby/blob/main/CONTRIBUTING.md
|
21
21
|
[contributors]: https://github.com/oauth-xx/oauth-ruby/graphs/contributors
|
22
22
|
[mailinglist]: http://groups.google.com/group/oauth-ruby
|
23
23
|
[source]: https://github.com/oauth-xx/oauth-ruby/
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
<p align="center">
|
2
2
|
<a href="http://oauth.net/core/1.0/" target="_blank" rel="noopener">
|
3
|
-
<img width="124px" src="https://github.com/oauth-xx/oauth-ruby/raw/
|
3
|
+
<img width="124px" src="https://github.com/oauth-xx/oauth-ruby/raw/main/docs/images/logo/Oauth_logo.svg?raw=true" alt="OAuth 1.0 Logo by Chris Messina, CC BY-SA 3.0, via Wikimedia Commons">
|
4
4
|
</a>
|
5
5
|
<a href="https://www.ruby-lang.org/" target="_blank" rel="noopener">
|
6
|
-
<img width="124px" src="https://github.com/oauth-xx/oauth-ruby/raw/
|
6
|
+
<img width="124px" src="https://github.com/oauth-xx/oauth-ruby/raw/main/docs/images/logo/ruby-logo-198px.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5">
|
7
7
|
</a>
|
8
8
|
</p>
|
9
9
|
|
@@ -20,6 +20,12 @@ See the sibling `oauth2` gem for OAuth 2.0 implementations in Ruby.
|
|
20
20
|
[oauth1-spec]: http://oauth.net/core/1.0/
|
21
21
|
[sibling-gem]: https://github.com/oauth-xx/oauth-ruby
|
22
22
|
|
23
|
+
**NOTE**
|
24
|
+
|
25
|
+
This README, on branch `v0.6-maintenance`, targets 0.6.x series releases.
|
26
|
+
The v0.6.x series of releases will be EOL no later than April, 2024.
|
27
|
+
For later releases please see the `main` branch README.
|
28
|
+
|
23
29
|
## Status
|
24
30
|
|
25
31
|
<!--
|
@@ -49,7 +55,7 @@ appended indicators:
|
|
49
55
|
♻️ - URL needs to be updated from SASS integration. Find / Replace is insufficient.
|
50
56
|
-->
|
51
57
|
|
52
|
-
| | Project | bundle add
|
58
|
+
| | Project | bundle add oauth |
|
53
59
|
|:----|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
54
60
|
| 1️⃣ | name, license, docs | [![RubyGems.org][⛳️name-img]][⛳️gem] [![License: MIT][🖇src-license-img]][🖇src-license] [![FOSSA][🏘fossa-img]][🏘fossa] [![RubyDoc.info][🚎yard-img]][🚎yard] [![InchCI][🖐inch-ci-img]][🚎yard] |
|
55
61
|
| 2️⃣ | version & activity | [![Gem Version][⛳️version-img]][⛳️gem] [![Total Downloads][🖇DL-total-img]][⛳️gem] [![Download Rank][🏘DL-rank-img]][⛳️gem] [![Source Code][🚎src-home-img]][🚎src-home] [![Open PRs][🖐prs-o-img]][🖐prs-o] [![Closed PRs][🧮prs-c-img]][🧮prs-c] <!--[![Next Version][📗next-img]][📗next]--> |
|
@@ -57,7 +63,7 @@ appended indicators:
|
|
57
63
|
| 4️⃣ | testing | [![Open Issues][⛳iss-o-img]][⛳iss-o] [![Closed Issues][🖇iss-c-img]][🖇iss-c] [![Supported][🏘sup-wf-img]][🏘sup-wf] [![Heads][🚎heads-wf-img]][🚎heads-wf] [![Unofficial Support][🖐uns-wf-img]][🖐uns-wf] [![MacOS][🧮mac-wf-img]][🧮mac-wf] [![Windows][📗win-wf-img]][📗win-wf] |
|
58
64
|
| 5️⃣ | coverage & security | [![CodeClimate][⛳cclim-cov-img♻️]][⛳cclim-cov] [![CodeCov][🖇codecov-img♻️]][🖇codecov] [![Coveralls][🏘coveralls-img]][🏘coveralls] [![Security Policy][🚎sec-pol-img]][🚎sec-pol] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Code Coverage][🧮cov-wf-img]][🧮cov-wf] |
|
59
65
|
| 6️⃣ | resources | [![Discussion][⛳gh-discussions-img]][⛳gh-discussions] [![Get help on Codementor][🖇codementor-img]][🖇codementor] [![Chat][🏘chat-img]][🏘chat] [![Blog][🚎blog-img]][🚎blog] [![Blog][🖐wiki-img]][🖐wiki] |
|
60
|
-
| 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] [💻][coderme]
|
66
|
+
| 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] [💻][coderme] |
|
61
67
|
|
62
68
|
<!--
|
63
69
|
The link tokens in the following sections should be kept ordered by the row and badge numbering scheme
|
@@ -120,11 +126,11 @@ The link tokens in the following sections should be kept ordered by the row and
|
|
120
126
|
<!-- 5️⃣ coverage & security -->
|
121
127
|
[⛳cclim-cov]: https://codeclimate.com/github/oauth-xx/oauth-ruby/test_coverage
|
122
128
|
[⛳cclim-cov-img♻️]: https://api.codeclimate.com/v1/badges/3cf23270c21e8791d788/test_coverage
|
123
|
-
[🖇codecov-img♻️]: https://codecov.io/gh/oauth-xx/oauth-ruby/branch/
|
129
|
+
[🖇codecov-img♻️]: https://codecov.io/gh/oauth-xx/oauth-ruby/branch/main/graph/badge.svg?token=4ZNAWNxrf9
|
124
130
|
[🖇codecov]: https://codecov.io/gh/oauth-xx/oauth-ruby
|
125
|
-
[🏘coveralls]: https://coveralls.io/github/oauth-xx/oauth-ruby?branch=
|
126
|
-
[🏘coveralls-img]: https://coveralls.io/repos/github/oauth-xx/oauth-ruby/badge.svg?branch=
|
127
|
-
[🚎sec-pol]: https://github.com/oauth-xx/oauth-ruby/blob/
|
131
|
+
[🏘coveralls]: https://coveralls.io/github/oauth-xx/oauth-ruby?branch=main
|
132
|
+
[🏘coveralls-img]: https://coveralls.io/repos/github/oauth-xx/oauth-ruby/badge.svg?branch=main
|
133
|
+
[🚎sec-pol]: https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
|
128
134
|
[🚎sec-pol-img]: https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat
|
129
135
|
[🖐codeQL]: https://github.com/oauth-xx/oauth-ruby/security/code-scanning
|
130
136
|
[🖐codeQL-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/codeql-analysis.yml/badge.svg
|
@@ -184,11 +190,11 @@ Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.7, 3.0, and
|
|
184
190
|
3.1. Ruby is limited to 2.4+ in the gemspec, and this will change with minor version bumps,
|
185
191
|
while the gem is still in 0.x, in accordance with the SemVer spec.
|
186
192
|
|
187
|
-
The `
|
193
|
+
The `main` branch now targets 1.0.x releases.
|
188
194
|
See `v0.6-maintenance` branch for Ruby >= 2.4.
|
189
195
|
See `v0.5-maintenance` branch for Ruby >= 2.0.
|
190
196
|
|
191
|
-
NOTE:
|
197
|
+
NOTE: No further releases of version < 1.0.x are anticipated.
|
192
198
|
|
193
199
|
<details>
|
194
200
|
<summary>Ruby Engine Compatibility Policy</summary>
|
@@ -220,7 +226,7 @@ of a major release, support for that Ruby version may be dropped.
|
|
220
226
|
|
221
227
|
| | Ruby OAuth Version | Maintenance Branch | 🚂 Compatibility | Official 💎 | Unofficial 💎 | Incidental 💎 |
|
222
228
|
|:----|--------------------|--------------------|------------------------|----------------------|------------------------------|---------------|
|
223
|
-
| 1️⃣ | 1.0.x | `
|
229
|
+
| 1️⃣ | 1.0.x | `main` | Rails 6, 7 | 2.7, 3.0, 3.1 | sorry, not sorry | nope |
|
224
230
|
| 2️⃣ | 0.6.x | `v0.6-maintenance` | Rails 5, 6, 7 | 2.7, 3.0, 3.1 | 2.5, 2.6 | 2.4 |
|
225
231
|
| 3️⃣ | 0.5.x | `v0.5-maintenance` | Rails 2, 3, 4, 5, 6, 7 | 2.7, 3.0, 3.1 | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 | 2.0 |
|
226
232
|
| 4️⃣ | older | N/A | | Best of luck to you! | Please upgrade! | noop |
|
@@ -241,7 +247,7 @@ gem. After extraction that gem was made to depend on this gem.
|
|
241
247
|
|
242
248
|
Unfortunately, this gem does have some Rails related bits that are
|
243
249
|
**optional** to load. You don't need Rails! The Rails bits may be pulled out
|
244
|
-
into a separate gem
|
250
|
+
into a separate gem with the release of version 1.0 of this gem.
|
245
251
|
|
246
252
|
## Usage
|
247
253
|
|
@@ -344,8 +350,8 @@ Comments are welcome. Contact the [OAuth Ruby mailing list (Google Group)][maili
|
|
344
350
|
|
345
351
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
346
352
|
|
347
|
-
[conduct]: https://github.com/oauth-xx/oauth-ruby/blob/
|
348
|
-
[contributing]: https://github.com/oauth-xx/oauth-ruby/blob/
|
353
|
+
[conduct]: https://github.com/oauth-xx/oauth-ruby/blob/main/CODE_OF_CONDUCT.md
|
354
|
+
[contributing]: https://github.com/oauth-xx/oauth-ruby/blob/main/CONTRIBUTING.md
|
349
355
|
[contributors]: https://github.com/oauth-xx/oauth-ruby/graphs/contributors
|
350
356
|
[mailinglist]: http://groups.google.com/group/oauth-ruby
|
351
357
|
[source]: https://github.com/oauth-xx/oauth-ruby/
|
@@ -367,11 +373,11 @@ Comments are welcome. Contact the [OAuth Ruby mailing list (Google Group)][maili
|
|
367
373
|
[followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
|
368
374
|
[gh_discussions]: https://github.com/oauth-xx/oauth-ruby/discussions
|
369
375
|
[gh_sponsors]: https://github.com/sponsors/pboling
|
370
|
-
[license]: https://github.com/oauth-xx/oauth-ruby/blob/
|
376
|
+
[license]: https://github.com/oauth-xx/oauth-ruby/blob/main/LICENSE
|
371
377
|
[license-ref]: https://opensource.org/licenses/MIT
|
372
378
|
[liberapay_donate]: https://liberapay.com/pboling/donate
|
373
379
|
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
374
380
|
[rubygems]: https://rubygems.org/gems/oauth
|
375
|
-
[security]: https://github.com/oauth-xx/oauth-ruby/blob/
|
381
|
+
[security]: https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
|
376
382
|
[semver]: http://semver.org/
|
377
383
|
[tweetme]: http://twitter.com/galtzo
|
data/SECURITY.md
CHANGED
@@ -2,13 +2,19 @@
|
|
2
2
|
|
3
3
|
## Supported Versions
|
4
4
|
|
5
|
-
| Version
|
6
|
-
|
7
|
-
| 0.6.x
|
8
|
-
| 0.5.x
|
9
|
-
| <= 0.5
|
5
|
+
| Version | Supported |
|
6
|
+
|---------|--------------------|
|
7
|
+
| 0.6.x | :white_check_mark: |
|
8
|
+
| 0.5.x | :white_check_mark: |
|
9
|
+
| <= 0.5 | :x: |
|
10
10
|
|
11
11
|
## Reporting a Vulnerability
|
12
12
|
|
13
13
|
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
|
14
14
|
Tidelift will coordinate the fix and disclosure.
|
15
|
+
|
16
|
+
## OAuth for Enterprise
|
17
|
+
|
18
|
+
Available as part of the Tidelift Subscription.
|
19
|
+
|
20
|
+
The maintainers of oauth and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. [Learn more.](https://tidelift.com/subscription/pkg/rubygems-oauth?utm_source=rubygems-oauth&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
data/lib/oauth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pelle Braendgaard
|
@@ -254,13 +254,38 @@ licenses:
|
|
254
254
|
- MIT
|
255
255
|
metadata:
|
256
256
|
homepage_uri: https://github.com/oauth-xx/oauth-ruby
|
257
|
-
source_code_uri: https://github.com/oauth-xx/oauth-ruby/tree/v0.6.
|
258
|
-
changelog_uri: https://github.com/oauth-xx/oauth-ruby/blob/v0.6.
|
257
|
+
source_code_uri: https://github.com/oauth-xx/oauth-ruby/tree/v0.6.1
|
258
|
+
changelog_uri: https://github.com/oauth-xx/oauth-ruby/blob/v0.6.1/CHANGELOG.md
|
259
259
|
bug_tracker_uri: https://github.com/oauth-xx/oauth-ruby/issues
|
260
|
-
documentation_uri: https://www.rubydoc.info/gems/oauth/0.6.
|
260
|
+
documentation_uri: https://www.rubydoc.info/gems/oauth/0.6.1
|
261
261
|
wiki_uri: https://github.com/oauth-xx/oauth-ruby/wiki
|
262
262
|
rubygems_mfa_required: 'true'
|
263
|
-
post_install_message:
|
263
|
+
post_install_message: |2
|
264
|
+
|
265
|
+
You have installed oauth version 0.6.1, congratulations!
|
266
|
+
|
267
|
+
Non-commercial support for the 0.6.x series will end in April, 2024. Please upgrade to 1.0.x as soon as possible!
|
268
|
+
The only breaking change will be dropped support for Ruby 2.4, 2.5, and 2.6.
|
269
|
+
|
270
|
+
Please see:
|
271
|
+
• https://github.com/oauth-xx/oauth/blob/main/SECURITY.md
|
272
|
+
|
273
|
+
Note also that I, and this project, am in the process of leaving Github.
|
274
|
+
I wrote about some of the reasons here:
|
275
|
+
• https://dev.to/galtzo/im-leaving-github-50ba
|
276
|
+
|
277
|
+
If you are a human, please consider a donation as I move toward supporting myself with Open Source work:
|
278
|
+
• https://liberapay.com/pboling
|
279
|
+
• https://ko-fi.com/pboling
|
280
|
+
• https://patreon.com/galtzo
|
281
|
+
|
282
|
+
If you are a corporation, please consider supporting this project, and open source work generally, with a TideLift subscription.
|
283
|
+
• https://tidelift.com/funding/github/rubygems/oauth
|
284
|
+
• Or hire me. I am looking for a job!
|
285
|
+
|
286
|
+
Please report issues, and support the project!
|
287
|
+
|
288
|
+
Thanks, |7eter l-|. l3oling
|
264
289
|
rdoc_options: []
|
265
290
|
require_paths:
|
266
291
|
- lib
|