oauth 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/README.md +210 -32
  4. data/lib/oauth/version.rb +1 -1
  5. metadata +11 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 427860f175079b790e1e88bcf393bee15d08812599dfcf41db5f5ff3fa819e6c
4
- data.tar.gz: 4ec1b4af9f55f73b3bf7ab73315661f497076fe47de06b8a9a04262e2be91837
3
+ metadata.gz: b8b32f6236156240692af164df90d283aa768dd2f0f6e2a08c6a4c39d396f824
4
+ data.tar.gz: 4c6a5f53fd4417683198af1371938358e8808ff1f9fcad0d2e4e2af5e4233f4a
5
5
  SHA512:
6
- metadata.gz: 71375af5e44ee5cbd0d999b21196a850504aba8e33ce8dc0c714b3fb9aa440b8ca48dcc13120a29967629b81e889fe73d7dbf8f3c8fd73caab25cb4886e401e8
7
- data.tar.gz: 5243d503d001dd86a8e57c832106649a927012491f3204676d7bc17b64d35628739b760f2f021502e96acf65484ed8e5b75f6805e848cd3ea8cc236e5d0df1df
6
+ metadata.gz: d0fb04a980ad2d4ae5de14d2c6a119966b5c315a1c4738678a2040db360e6c452545c3585d718e5668389f0c183af610f7e18dc3cdc710b7b3ecc33bea419a0a
7
+ data.tar.gz: 7820c639c056aca51781fcf0a73d65c7f3a9c9032af95413024d713f80078f5b12d2d1949e3b1aec8feaf87058c5dc40eaf2dbc6a735da070a683307affed1ad
data/CHANGELOG.md CHANGED
@@ -13,6 +13,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [0.5.10] 2022-05-04
17
+ The "Can it be the end of the line for 0.5.x?" Release
18
+
19
+ ### Added
20
+ * Major updates to Documentation
21
+ * More CI Hardening
22
+ * Align CI builds with official Ruby Compatibility Matrix
23
+ * Project tooling in preparation for final release of 0.5.x series
24
+ - diffend
25
+
16
26
  ## [0.5.9] 2022-05-03
17
27
  ### Added
18
28
  * Documentation related to Ruby compatibility
@@ -376,7 +386,8 @@ but please have a look at the unit tests.
376
386
  * Moved all non-Rails functionality from the Rails plugin:
377
387
  http://code.google.com/p/oauth-plugin/
378
388
 
379
- [Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.5.9...v0.5-maintenance
389
+ [Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.5.10...v0.5-maintenance
390
+ [0.5.10]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.10
380
391
  [0.5.9]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.9
381
392
  [0.5.8]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.8
382
393
  [0.5.7]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.7
data/README.md CHANGED
@@ -1,45 +1,191 @@
1
+ <p align="center">
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/master/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
+ </a>
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/master/docs/images/logo/ruby-logo-198px.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5">
7
+ </a>
8
+ </p>
9
+
1
10
  # Ruby OAuth
2
11
 
12
+ OAuth 1.0 is an industry-standard protocol for authorization.
13
+
14
+ This is a RubyGem for implementing both OAuth 1.0 clients and servers in Ruby applications.
15
+ See the sibling `oauth2` gem for OAuth 2.0 implementations in Ruby.
16
+
17
+ * [OAuth 1.0 Spec][oauth1-spec]
18
+ * [oauth2 sibling gem][sibling-gem] for OAuth 2.0 implementations in Ruby.
19
+
20
+ [oauth1-spec]: http://oauth.net/core/1.0/
21
+ [sibling-gem]: https://github.com/oauth-xx/oauth-ruby
22
+
3
23
  **NOTE**
4
24
 
5
- This README, on branch `v0.5-maintenance`, targets 0.5.x series releases. For later releases please see the `msater` branch README.
25
+ This README, on branch `v0.5-maintenance`, targets 0.5.x series releases. For later releases please see the `master` branch README.
6
26
 
7
27
  ## Status
8
28
 
9
- | Project | Ruby Oauth |
10
- |--------------------------- |--------------------------- |
11
- | name, license, docs | [![RubyGems.org](https://img.shields.io/badge/name-oauth-brightgreen.svg?style=flat)][rubygems] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref] [![RubyDoc.info](https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat)][documentation] |
12
- | version & downloads | [![Version](https://img.shields.io/gem/v/oauth.svg)][rubygems] [![Total Downloads](https://img.shields.io/gem/dt/oauth.svg)][rubygems] [![Downloads Today](https://img.shields.io/gem/rd/oauth.svg)][rubygems] [![Homepage](https://img.shields.io/badge/source-github-brightgreen.svg?style=flat)][source] |
13
- | dependencies & linting | [![Depfu](https://badges.depfu.com/badges/d570491bac0ad3b0b65deb3c82028327/count.svg)][depfu] [![lint status](https://github.com/oauth-xx/oauth-ruby/actions/workflows/style.yml/badge.svg)][actions] |
14
- | unit tests | [![supported rubies](https://github.com/oauth-xx/oauth-ruby/actions/workflows/supported.yml/badge.svg)][actions] [![unsupported status](https://github.com/oauth-xx/oauth-ruby/actions/workflows/unsupported.yml/badge.svg)][actions] |
15
- | coverage & maintainability | [![Test Coverage](https://api.codeclimate.com/v1/badges/3cf23270c21e8791d788/test_coverage)][climate_coverage] [![codecov](https://codecov.io/gh/oauth-xx/oauth-ruby/branch/master/graph/badge.svg?token=4ZNAWNxrf9)][codecov_coverage] [![Maintainability](https://api.codeclimate.com/v1/badges/3cf23270c21e8791d788/maintainability)][climate_maintainability] [![Maintenance Policy](https://img.shields.io/badge/maintenance-policy-brightgreen.svg?style=flat)][security] |
16
- | resources | [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions] [![Mailing List](https://img.shields.io/badge/group-mailinglist.svg?style=social&logo=google)][mailinglist] [![Join the chat at https://gitter.im/oauth-xx/oauth-ruby](https://badges.gitter.im/Join%20Chat.svg)][chat] [![Blog](https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat)][blogpage] |
17
- | Spread ~♡ⓛⓞⓥⓔ♡~ | [![Open Source Helpers](https://www.codetriage.com/oauth-xx/oauth-ruby/badges/users.svg)][code_triage] [![Liberapay Patrons](https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay)][liberapay_donate] [![Sponsor Me](https://img.shields.io/badge/sponsor-pboling.svg?style=social&logo=github)][gh_sponsors] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] [![Tweet @ Peter][followme-img]][tweetme] |
29
+ <!--
30
+ Numbering rows and badges in each row as a visual "database" lookup,
31
+ as the table is extremely dense, and it can be very difficult to find anything
32
+ Putting one on each row here, to document the emoji that should be used, and for ease of copy/paste.
33
+
34
+ row #s:
35
+ 1️⃣
36
+ 2️⃣
37
+ 3️⃣
38
+ 4️⃣
39
+ 5️⃣
40
+ 6️⃣
41
+ 7️⃣
42
+
43
+ badge #s:
44
+ ⛳️
45
+ 🖇
46
+ 🏘
47
+ 🚎
48
+ 🖐
49
+ 🧮
50
+ 📗
51
+
52
+ appended indicators:
53
+ ♻️ - URL needs to be updated from SASS integration. Find / Replace is insufficient.
54
+ -->
55
+
56
+ | | Project | bundle add oauth2 |
57
+ |:----|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
58
+ | 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] |
59
+ | 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]--> |
60
+ | 3️⃣ | maintanence & linting | [![Maintainability][⛳cclim-maint-img♻️]][⛳cclim-maint] [![Helpers][🖇triage-help-img]][🖇triage-help] [![Depfu][🏘depfu-img♻️]][🏘depfu♻️] [![Contributors][🚎contributors-img]][🚎contributors] [![Style][🖐style-wf-img]][🖐style-wf] [![Kloc Roll][🧮kloc-img]][🧮kloc] |
61
+ | 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] |
62
+ | 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] |
63
+ | 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] |
64
+ | 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] |
65
+
66
+ <!--
67
+ The link tokens in the following sections should be kept ordered by the row and badge numbering scheme
68
+ -->
69
+
70
+ <!-- 1️⃣ name, license, docs -->
71
+ [⛳️gem]: https://rubygems.org/gems/oauth
72
+ [⛳️name-img]: https://img.shields.io/badge/name-oauth-brightgreen.svg?style=flat
73
+ [🖇src-license]: https://opensource.org/licenses/MIT
74
+ [🖇src-license-img]: https://img.shields.io/badge/License-MIT-green.svg
75
+ [🏘fossa]: https://app.fossa.io/projects/git%2Bgithub.com%2Foauth-xx%2Foauth-ruby?ref=badge_shield
76
+ [🏘fossa-img]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Foauth-xx%2Foauth-ruby.svg?type=shield
77
+ [🚎yard]: https://www.rubydoc.info/github/oauth-xx/oauth-ruby
78
+ [🚎yard-img]: https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat
79
+ [🖐inch-ci-img]: http://inch-ci.org/github/oauth-xx/oauth-ruby.png
80
+
81
+ <!-- 2️⃣ version & activity -->
82
+ [⛳️version-img]: http://img.shields.io/gem/v/oauth.svg
83
+ [🖇DL-total-img]: https://img.shields.io/gem/dt/oauth.svg
84
+ [🏘DL-rank-img]: https://img.shields.io/gem/rt/oauth.svg
85
+ [🚎src-home]: https://github.com/oauth-xx/oauth-ruby
86
+ [🚎src-home-img]: https://img.shields.io/badge/source-github-brightgreen.svg?style=flat
87
+ [🖐prs-o]: https://github.com/oauth-xx/oauth-ruby/pulls
88
+ [🖐prs-o-img]: https://img.shields.io/github/issues-pr/oauth-xx/oauth-ruby
89
+ [🧮prs-c]: https://github.com/oauth-xx/oauth-ruby/pulls?q=is%3Apr+is%3Aclosed
90
+ [🧮prs-c-img]: https://img.shields.io/github/issues-pr-closed/oauth-xx/oauth-ruby
91
+ [📗next]: https://github.com/oauth-xx/oauth-ruby/milestone/1
92
+ [📗next-img]: https://img.shields.io/github/milestones/progress/oauth-xx/oauth-ruby/1?label=Next%20Version
93
+
94
+ <!-- 3️⃣ maintanence & linting -->
95
+ [⛳cclim-maint]: https://codeclimate.com/github/oauth-xx/oauth-ruby/maintainability
96
+ [⛳cclim-maint-img♻️]: https://api.codeclimate.com/v1/badges/3cf23270c21e8791d788/maintainability
97
+ [🖇triage-help]: https://www.codetriage.com/oauth-xx/oauth-ruby
98
+ [🖇triage-help-img]: https://www.codetriage.com/oauth-xx/oauth-ruby/badges/users.svg
99
+ [🏘depfu♻️]: https://depfu.com/github/oauth-xx/oauth-ruby?project_id=22868
100
+ [🏘depfu-img♻️]: https://badges.depfu.com/badges/d570491bac0ad3b0b65deb3c82028327/count.svg
101
+ [🚎contributors]: https://github.com/oauth-xx/oauth-ruby/graphs/contributors
102
+ [🚎contributors-img]: https://img.shields.io/github/contributors-anon/oauth-xx/oauth-ruby
103
+ [🖐style-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/style.yml
104
+ [🖐style-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/style.yml/badge.svg
105
+ [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
106
+ [🧮kloc-img]: https://img.shields.io/tokei/lines/github.com/oauth-xx/oauth-ruby
107
+
108
+ <!-- 4️⃣ testing -->
109
+ [⛳iss-o]: https://github.com/oauth-xx/oauth-ruby/issues
110
+ [⛳iss-o-img]: https://img.shields.io/github/issues-raw/oauth-xx/oauth-ruby
111
+ [🖇iss-c]: https://github.com/oauth-xx/oauth-ruby/issues?q=is%3Aissue+is%3Aclosed
112
+ [🖇iss-c-img]: https://img.shields.io/github/issues-closed-raw/oauth-xx/oauth-ruby
113
+ [🏘sup-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/supported.yml
114
+ [🏘sup-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/supported.yml/badge.svg
115
+ [🚎heads-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/heads.yml
116
+ [🚎heads-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/heads.yml/badge.svg
117
+ [🖐uns-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/unsupported.yml
118
+ [🖐uns-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/unsupported.yml/badge.svg
119
+ [🧮mac-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/macos.yml
120
+ [🧮mac-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/macos.yml/badge.svg
121
+ [📗win-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/windows.yml
122
+ [📗win-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/windows.yml/badge.svg
123
+
124
+ <!-- 5️⃣ coverage & security -->
125
+ [⛳cclim-cov]: https://codeclimate.com/github/oauth-xx/oauth-ruby/test_coverage
126
+ [⛳cclim-cov-img♻️]: https://api.codeclimate.com/v1/badges/3cf23270c21e8791d788/test_coverage
127
+ [🖇codecov-img♻️]: https://codecov.io/gh/oauth-xx/oauth-ruby/branch/v0.5-maintenance/graph/badge.svg?token=4ZNAWNxrf9
128
+ [🖇codecov]: https://codecov.io/gh/oauth-xx/oauth-ruby
129
+ [🏘coveralls]: https://coveralls.io/github/oauth-xx/oauth-ruby?branch=v0.5-maintenance
130
+ [🏘coveralls-img]: https://coveralls.io/repos/github/oauth-xx/oauth-ruby/badge.svg?branch=v0.5-maintenance
131
+ [🚎sec-pol]: https://github.com/oauth-xx/oauth-ruby/blob/master/SECURITY.md
132
+ [🚎sec-pol-img]: https://img.shields.io/badge/security-policy-brightgreen.svg?style=flat
133
+ [🖐codeQL]: https://github.com/oauth-xx/oauth-ruby/security/code-scanning
134
+ [🖐codeQL-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/codeql-analysis.yml/badge.svg
135
+ [🧮cov-wf]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/coverage.yml
136
+ [🧮cov-wf-img]: https://github.com/oauth-xx/oauth-ruby/actions/workflows/coverage.yml/badge.svg
137
+
138
+ <!-- 6️⃣ resources -->
139
+ [⛳gh-discussions]: https://github.com/oauth-xx/oauth-ruby/discussions
140
+ [⛳gh-discussions-img]: https://img.shields.io/github/discussions/oauth-xx/oauth-ruby
141
+ [🖇codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
142
+ [🖇codementor-img]: https://cdn.codementor.io/badges/get_help_github.svg
143
+ [🏘chat]: https://gitter.im/oauth-xx/oauth-ruby
144
+ [🏘chat-img]: https://img.shields.io/gitter/room/oauth-xx/oauth-ruby.svg
145
+ [🚎blog]: http://www.railsbling.com/tags/oauth-ruby/
146
+ [🚎blog-img]: https://img.shields.io/badge/blog-railsbling-brightgreen.svg?style=flat
147
+ [🖐wiki]: https://github.com/oauth-xx/oauth-ruby/wiki
148
+ [🖐wiki-img]: https://img.shields.io/badge/wiki-examples-brightgreen.svg?style=flat
149
+
150
+ <!-- 7️⃣ spread 💖 -->
151
+ [⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
152
+ [⛳liberapay]: https://liberapay.com/pboling/donate
153
+ [🖇sponsor-img]: https://img.shields.io/badge/sponsor-pboling.svg?style=social&logo=github
154
+ [🖇sponsor]: https://github.com/sponsors/pboling
155
+ [🏘tweet-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
156
+ [🏘tweet]: http://twitter.com/galtzo
157
+
158
+ <!-- Maintainer Contact Links -->
159
+ [railsbling]: http://www.railsbling.com
160
+ [peterboling]: http://www.peterboling.com
161
+ [aboutme]: https://about.me/peter.boling
162
+ [angelme]: https://angel.co/peter-boling
163
+ [coderme]:http://coderwall.com/pboling
164
+ [politicme]: https://nationalprogressiveparty.org
165
+
18
166
 
19
- ## What
167
+ ## Installation
20
168
 
21
- This is a RubyGem for implementing both OAuth 1.0 clients and servers in Ruby
22
- applications.
169
+ Install the gem and add to the application's Gemfile by executing:
23
170
 
24
- See the OAuth 1.0 spec http://oauth.net/core/1.0/
171
+ $ bundle add oauth
25
172
 
26
- See the sibling gem [oauth2](https://github.com/oauth-xx/oauth2) for OAuth 2.0 implementations in Ruby.
173
+ If bundler is not being used to manage dependencies, install the gem by executing:
27
174
 
28
- ## Installation
175
+ $ gem install oauth
29
176
 
30
- Add this line to your application's Gemfile:
177
+ ## OAuth for Enterprise
31
178
 
32
- ```ruby
33
- gem "oauth"
34
- ```
179
+ Available as part of the Tidelift Subscription.
35
180
 
36
- And then execute:
181
+ The maintainers of OAuth2 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)
37
182
 
38
- $ bundle install
183
+ ## Security contact information [![Security Policy][🚎sec-pol-img]][🚎sec-pol]
39
184
 
40
- Or install it yourself as:
185
+ To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
186
+ Tidelift will coordinate the fix and disclosure.
41
187
 
42
- $ gem install oauth
188
+ For more see [SECURITY.md][🚎sec-pol].
43
189
 
44
190
  ## Compatibility
45
191
 
@@ -48,16 +194,47 @@ Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.7, 3.0, and
48
194
  this will change with minor version bumps, while the gem is still in 0.x,
49
195
  in accordance with the SemVer spec.
50
196
 
197
+ The `master` branch now targets 0.6.x releases.
198
+ See `v0.5-maintenance` branch for older rubies.
199
+
200
+ NOTE: If there is another 0.5.x release it is anticipated to be the last of the 0.5.x series.
201
+
202
+ <details>
203
+ <summary>Ruby Engine Compatibility Policy</summary>
204
+
205
+ This gem is tested against MRI, JRuby, and Truffleruby.
206
+ Each of those has varying versions that target a specific version of MRI Ruby.
207
+ This gem should work in the just-listed Ruby engines according to the targeted MRI compatibility in the table below.
208
+ If you would like to add support for additional engines,
209
+ first make sure Github Actions supports the engine,
210
+ then submit a PR to the correct maintenance branch as according to the table below.
211
+ </details>
212
+
213
+ <details>
214
+ <summary>Ruby Version Compatibility Policy</summary>
215
+
216
+ If something doesn't work on one of these interpreters, it's a bug.
217
+
218
+ This library may inadvertently work (or seem to work) on other Ruby
219
+ implementations, however support will only be provided for the versions listed
220
+ above.
221
+
222
+ If you would like this library to support another Ruby version, you may
223
+ volunteer to be a maintainer. Being a maintainer entails making sure all tests
224
+ run and pass on that implementation. When something breaks on your
225
+ implementation, you will be responsible for providing patches in a timely
226
+ fashion. If critical issues for a particular implementation exist at the time
227
+ of a major release, support for that Ruby version may be dropped.
228
+ </details>
229
+
51
230
  | | Ruby OAuth Version | Maintenance Branch | Supported Officially | Supported Unofficially | Supported Incidentally |
52
231
  |:----|--------------------|--------------------|----------------------|------------------------------|------------------------|
53
- | 1️⃣ | 0.6.x (unreleased) | `master` | 2.7, 3.0, 3.1 | 2.5, 2.6 | 2.3, 2.4 |
232
+ | 1️⃣ | 0.6.x (unreleased) | `master` | 2.7, 3.0, 3.1 | 2.5, 2.6 | 2.4 |
54
233
  | 2️⃣ | 0.5.x | `v0.5-maintenance` | 2.7, 3.0, 3.1 | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 | 2.0 |
55
234
  | 3️⃣ | older | N/A | Best of luck to you! | Please upgrade! | |
56
235
 
57
- The `master` branch now targets 0.6.x releases.
58
- See `v0.5-maintenance` branch for older rubies.
59
-
60
- NOTE: If there is another 0.5.x release it is anticipated to be the last of the 0.5.x series.
236
+ NOTE: Once 1.0 is released, the 0.x series will only receive critical bug and security updates.
237
+ See [SECURITY.md][🚎sec-pol]
61
238
 
62
239
  ## Basics
63
240
 
@@ -134,15 +311,16 @@ Made with [contributors-img][contrib-rocks].
134
311
  This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations of this scheme should be reported as
135
312
  bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be
136
313
  immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new
137
- major versions.
314
+ major versions. Compatibility with a major and minor versions of Ruby will only be changed with a major version bump.
138
315
 
139
316
  As a result of this policy, you can (and should) specify a dependency on this gem using
140
- the [Pessimistic Version Constraint][pvc] with two digits of precision.
317
+ the [Pessimistic Version Constraint][pvc] with two digits of precision once it hits a 1.0 release.
318
+ While on 0.x releases three digits of precision should be used.
141
319
 
142
320
  For example:
143
321
 
144
322
  ```ruby
145
- spec.add_dependency "oauth", "~> 0.5"
323
+ spec.add_dependency "oauth", "~> 0.5.9"
146
324
  ```
147
325
 
148
326
  ## License
data/lib/oauth/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OAuth
2
- VERSION = "0.5.9".freeze
2
+ VERSION = "0.5.10".freeze
3
3
  end
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.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pelle Braendgaard
@@ -16,22 +16,8 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2022-05-03 00:00:00.000000000 Z
19
+ date: 2022-05-04 00:00:00.000000000 Z
20
20
  dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: actionpack
23
- requirement: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- version: '5.0'
28
- type: :development
29
- prerelease: false
30
- version_requirements: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '5.0'
35
21
  - !ruby/object:Gem::Dependency
36
22
  name: curb
37
23
  requirement: !ruby/object:Gem::Requirement
@@ -106,16 +92,16 @@ dependencies:
106
92
  name: rack
107
93
  requirement: !ruby/object:Gem::Requirement
108
94
  requirements:
109
- - - "~>"
95
+ - - ">="
110
96
  - !ruby/object:Gem::Version
111
- version: '2.0'
97
+ version: '0'
112
98
  type: :development
113
99
  prerelease: false
114
100
  version_requirements: !ruby/object:Gem::Requirement
115
101
  requirements:
116
- - - "~>"
102
+ - - ">="
117
103
  - !ruby/object:Gem::Version
118
- version: '2.0'
104
+ version: '0'
119
105
  - !ruby/object:Gem::Dependency
120
106
  name: rack-test
121
107
  requirement: !ruby/object:Gem::Requirement
@@ -134,16 +120,16 @@ dependencies:
134
120
  name: rake
135
121
  requirement: !ruby/object:Gem::Requirement
136
122
  requirements:
137
- - - "~>"
123
+ - - ">="
138
124
  - !ruby/object:Gem::Version
139
- version: '13.0'
125
+ version: '0'
140
126
  type: :development
141
127
  prerelease: false
142
128
  version_requirements: !ruby/object:Gem::Requirement
143
129
  requirements:
144
- - - "~>"
130
+ - - ">="
145
131
  - !ruby/object:Gem::Version
146
- version: '13.0'
132
+ version: '0'
147
133
  - !ruby/object:Gem::Dependency
148
134
  name: rest-client
149
135
  requirement: !ruby/object:Gem::Requirement
@@ -274,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
260
  - !ruby/object:Gem::Version
275
261
  version: '0'
276
262
  requirements: []
277
- rubygems_version: 3.1.6
263
+ rubygems_version: 3.0.3.1
278
264
  signing_key:
279
265
  specification_version: 4
280
266
  summary: OAuth Core Ruby implementation