oauth 0.5.7.pre.pre1 → 0.5.9

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -104
  3. data/CODE_OF_CONDUCT.md +0 -0
  4. data/CONTRIBUTING.md +23 -0
  5. data/LICENSE +0 -0
  6. data/README.md +50 -67
  7. data/SECURITY.md +16 -0
  8. data/TODO +0 -0
  9. data/lib/oauth/cli/authorize_command.rb +8 -10
  10. data/lib/oauth/cli/base_command.rb +8 -6
  11. data/lib/oauth/cli/help_command.rb +0 -0
  12. data/lib/oauth/cli/query_command.rb +3 -3
  13. data/lib/oauth/cli/sign_command.rb +12 -15
  14. data/lib/oauth/cli/version_command.rb +0 -0
  15. data/lib/oauth/cli.rb +2 -2
  16. data/lib/oauth/client/action_controller_request.rb +14 -15
  17. data/lib/oauth/client/em_http.rb +28 -28
  18. data/lib/oauth/client/helper.rb +14 -17
  19. data/lib/oauth/client/net_http.rb +27 -27
  20. data/lib/oauth/client.rb +0 -0
  21. data/lib/oauth/consumer.rb +52 -62
  22. data/lib/oauth/errors/error.rb +0 -0
  23. data/lib/oauth/errors/problem.rb +0 -0
  24. data/lib/oauth/errors/unauthorized.rb +0 -0
  25. data/lib/oauth/errors.rb +0 -0
  26. data/lib/oauth/helper.rb +7 -7
  27. data/lib/oauth/oauth.rb +4 -4
  28. data/lib/oauth/oauth_test_helper.rb +0 -0
  29. data/lib/oauth/request_proxy/action_controller_request.rb +50 -51
  30. data/lib/oauth/request_proxy/action_dispatch_request.rb +7 -3
  31. data/lib/oauth/request_proxy/base.rb +134 -130
  32. data/lib/oauth/request_proxy/curb_request.rb +45 -39
  33. data/lib/oauth/request_proxy/em_http_request.rb +56 -52
  34. data/lib/oauth/request_proxy/jabber_request.rb +9 -6
  35. data/lib/oauth/request_proxy/mock_request.rb +3 -1
  36. data/lib/oauth/request_proxy/net_http.rb +59 -50
  37. data/lib/oauth/request_proxy/rack_request.rb +32 -28
  38. data/lib/oauth/request_proxy/rest_client_request.rb +48 -45
  39. data/lib/oauth/request_proxy/typhoeus_request.rb +45 -39
  40. data/lib/oauth/request_proxy.rb +3 -3
  41. data/lib/oauth/server.rb +8 -10
  42. data/lib/oauth/signature/base.rb +3 -4
  43. data/lib/oauth/signature/hmac/sha1.rb +1 -1
  44. data/lib/oauth/signature/hmac/sha256.rb +1 -1
  45. data/lib/oauth/signature/plaintext.rb +0 -0
  46. data/lib/oauth/signature/rsa/sha1.rb +3 -3
  47. data/lib/oauth/signature.rb +5 -5
  48. data/lib/oauth/token.rb +0 -0
  49. data/lib/oauth/tokens/access_token.rb +0 -0
  50. data/lib/oauth/tokens/consumer_token.rb +2 -2
  51. data/lib/oauth/tokens/request_token.rb +7 -8
  52. data/lib/oauth/tokens/server_token.rb +0 -1
  53. data/lib/oauth/tokens/token.rb +0 -0
  54. data/lib/oauth/version.rb +1 -1
  55. data/lib/oauth.rb +0 -0
  56. metadata +12 -163
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a88cb9c5d6705a3a9af88054d4b67bd2fdf2686057bedb2022d1998f4e94d12f
4
- data.tar.gz: d37b3d22e48c4258f1ce25f154a9c1a0ab4252fb7cb804e79808dd36c0ddcc5f
3
+ metadata.gz: 427860f175079b790e1e88bcf393bee15d08812599dfcf41db5f5ff3fa819e6c
4
+ data.tar.gz: 4ec1b4af9f55f73b3bf7ab73315661f497076fe47de06b8a9a04262e2be91837
5
5
  SHA512:
6
- metadata.gz: 9c074fe3a9f43349f37deddbd1405f2d6eb53585d5188c81db30699b4d05b5ab546263d8e8471cad6742a861dcf23b14a94d54f3cede5f8891eeedd3a0e4b21c
7
- data.tar.gz: 2ad01843b191714dcc05e9aaed252d5d1edc59e224c3d46e9e0b361c92403a97bf52288c4d84fd530e22b44a7d112aa36adb3f4d62fa3a4a1561681a5e353f93
6
+ metadata.gz: 71375af5e44ee5cbd0d999b21196a850504aba8e33ce8dc0c714b3fb9aa440b8ca48dcc13120a29967629b81e889fe73d7dbf8f3c8fd73caab25cb4886e401e8
7
+ data.tar.gz: 5243d503d001dd86a8e57c832106649a927012491f3204676d7bc17b64d35628739b760f2f021502e96acf65484ed8e5b75f6805e848cd3ea8cc236e5d0df1df
data/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
  ## [Unreleased]
8
8
  ### Added
9
9
 
10
+ ### Changed
11
+
12
+ ### Fixed
13
+
14
+ ### Removed
15
+
16
+ ## [0.5.9] 2022-05-03
17
+ ### Added
18
+ * Documentation related to Ruby compatibility
19
+ * Updated CHANGELOG.md formatting
20
+ * Corrected CHANGELOG.md typos
21
+ * Hardened the CI build for the next few years(?!)
22
+ * Require MFA to push new version to Rubygems
23
+ * Replace Hash Rocket syntax with JSON-style symbols where possible
24
+ * Project tooling in preparation for final release of 0.5.x series
25
+ - rubocop-ruby2_0
26
+ - overcommit
27
+
28
+ ## [0.5.8] 2021-11-10
29
+ ### Added
30
+ * Added more documentation files to packaged gem, e.g. SECURITY.md, CODE_OF_CONDUCT.md
31
+
32
+ ### Fixed
33
+ * Removed reference to RUBY_VERSION from gemspec, as it depends on rake release, which is problematic on some ruby engines. (by @pboling)
34
+
35
+ ## [0.5.7] 2021-11-02
36
+ ### Added
10
37
  * Setup Rubocop (#205, #208 by @pboling)
11
38
  * Added CODE_OF_CONDUCT.md (#217, #218 by @pboling)
12
39
  * Added FUNDING.yml (#217, #218 by @pboling)
@@ -14,7 +41,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
41
  * Handle a nested array of hashes in OAuth::Helper.normalize (#80, #221 by @pboling)
15
42
 
16
43
  ### Changed
17
-
18
44
  * Switch from TravisCI to Github Actions (#202, #207, #176 by @pboling)
19
45
  * Upgrade webmock to v3.14.0 (#196 by @pboling)
20
46
  * Upgrade em-http-request to v1.1.7 (#173 by @pboling)
@@ -25,70 +51,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
51
  * Require plaintext signature method by default (#135 by @confiks & @pboling)
26
52
 
27
53
  ### Fixed
28
-
29
54
  * Fixed Infinite Redirect in v0.5.5, v0.5.6 (#186, #210 by @pboling)
30
55
  * Fixed NoMethodError on missing leading slash in path (#194, #211 by @pboling)
31
56
  * Fixed NoMethodError on nil request object (#165, #212 by @pboling)
32
57
  * Fixed Unsafe String Comparison (#156, #209 by @pboling and @drosseau)
33
58
  * Fixed typos in Gemspec (#204, #203, #208 by @pboling)
34
59
  * Copyright Notice in LICENSE - added correct years (#217, #218 by @pboling)
60
+ * Fixed request proxy Class constant reference scopes - was missing `::` in many places (#225, #226 by @pboling)
35
61
 
36
62
  ### Removed
37
-
38
63
  * Remove direct development dependency on nokogiri (#299 by @pboling)
39
64
 
40
65
  ## [0.5.6] 2021-04-02
41
66
  ### Added
42
-
43
67
  * Add metadata to Gemspec file
44
68
  * Add support for PUT requests with Action Controller (#181)
45
69
 
46
70
  ### Changed
47
-
48
71
  * Change default timeout to be the same as Net::HTTP default, 60 seconds instead of 30 seconds.
49
72
 
50
73
  ## [0.5.5] 2020-01-19
51
74
  ### Added
52
-
53
75
  * Add :allow_empty_params option (#155)
54
76
 
55
77
  ### Changed
56
-
57
78
  * Allow redirect to different host but same path
58
79
  * Various cleanups
59
80
 
60
81
  ### Fixed
61
-
62
82
  * Fixes ssl-noverify
63
83
  * Fixed README example (#158, #159, by @pboling)
64
84
 
65
85
  ## [0.5.4] 2017-12-08
66
86
  ### Changed
67
-
68
87
  * Various cleanups (charliesome)
69
88
 
70
89
  ### Fixed
71
-
72
90
  * Fixes UnknownRequestType on Rails 5.1 for ActionDispatch::Request (xprazak2)
73
91
 
74
92
  ## [0.5.3] 2017-05-24
75
93
  ### Fixed
76
-
77
94
  * Fix #145 - broken CLI required loading active_support (James Pinto)
78
95
 
79
96
  ### Changed
80
-
81
97
  * Removing legacy scripts (James Pinto)
82
98
 
83
99
  ## [0.5.2] 2017-05-17
84
100
  ### Added
85
-
86
101
  * Adding a development dependency that had not been mentioned (James Pinto)
87
102
  * Adding CodeClimate (James Pinto)
88
103
  * Adding support to Ruby 2.4 and head (James Pinto)
89
104
 
90
105
  ### Changed
91
-
92
106
  * Use assert_nil so as to silence a Minitest 6 deprecation warning (James Pinto)
93
107
  * Stop bundling tests files in the gem (Michal Papis)
94
108
  * Minor cleanup on tests (James Pinto)
@@ -106,7 +120,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
106
120
  * Reimplementing #82 - Debug Output Option (James Pinto)
107
121
 
108
122
  ### Fixed
109
-
110
123
  * Fix #113 adding paths when a full URL has been specified (James Pinto)
111
124
  * Bug Fix, webmock 2.0 has introduced a new bug (James Pinto)
112
125
  * Making a test/support dir (James Pinto)
@@ -114,28 +127,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
114
127
 
115
128
  ## [0.5.1] 2016-02-29
116
129
  ### Added
117
-
118
130
  * Add license info to the gemspec (Robert Reiz)
119
131
 
120
132
  ### Fixed
121
-
122
133
  * Proper handling for empty query string in RequestToken#build_authorize_url (midchildan,
123
134
  Harald Sitter)
124
135
  * Replace calls to String#blank? with its implementation (Sergio Gil Pérez de la Manga)
125
136
 
126
137
  ### Changed
127
-
128
138
  * Loosen some development dependencies. Add libcurl-dev to travis
129
139
  * Fixes to travis config. Switch to rubygems for installation and loading
130
140
 
131
141
  ### Removed
132
-
133
142
  * Remove obsolete comment (Arthur Nogueira Neves)
134
143
  * Remove jeweler from gemspec
135
144
 
136
145
  ## [0.5.0] 2016-02-20
137
146
  ### Added
138
-
139
147
  * Add support for HTTP PATCH method (Richard Huang)
140
148
  * Allow reading private key from a string (Khaja Minhajuddin)
141
149
  * Add rest-client proxy (Khem Veasna)
@@ -143,14 +151,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
143
151
  * Allow reading certificate file path from environment variable. Add CentOS cert file path (Danil Vlasov)
144
152
 
145
153
  ### Changed
146
-
147
154
  * Replace jeweler with real spec and bundler tasks
148
155
  * Extract version to separate file
149
156
  * Use OpenSSL for all digest and hashing. Remove signature methods not defined by OAuth spec. (Kevin Hughes)
150
157
  * Change token requests to exclude `oauth_body_hash`. Update doc links in comments. (John Remmen)
151
158
 
152
159
  ### Fixed
153
-
154
160
  * Fix ability to pass in an authorize url with a query string (Roger Smith)
155
161
  * Fix bug in signature verification (r-stu31)
156
162
  * Use standard key name (`oauth_token_secret`) in Token#to_query (Craig Walker)
@@ -166,28 +172,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
166
172
 
167
173
  ## [0.4.7] 2012-09-03
168
174
  ### Added
169
-
170
175
  * Set a configurable timeout for all requests (Rick Olson)
171
176
 
172
177
  ### Fixed
173
-
174
178
  * Fix merging paths if the path is not empty
175
179
  * Fix nested hash params in Consumer#request (Ernie Miller)
176
180
 
177
181
  ## [0.4.6] 2012-04-21
178
182
  ### Changed
179
-
180
183
  * Make use the path component of the :site parameter (Jonathon M. Abbott)
181
184
 
182
185
  ### Fixed
183
-
184
186
  * Fixed nested attributes in #normalize (Shaliko Usubov)
185
187
  * Fixed post body's being dropped in 1.9 (Steven Hammond)
186
188
  * Fixed PUT request handling (Anton Panasenko)
187
189
 
188
190
  ## [0.4.5] 2011-06-25
189
191
  ### Added
190
-
191
192
  * Add explicit require for rsa/sha1 (Juris Galang)
192
193
  * Add gemtest support (Adrian Feldman)
193
194
 
@@ -197,17 +198,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
197
198
  * Use Net::HTTPGenericRequest (Jakub Kuźma)
198
199
 
199
200
  ### Fixed
200
-
201
201
  * Fix POST Requests with Typhoeus proxy (niedhui)
202
202
  * Fix incorrect hardcoded port (Ian Taylor)
203
203
 
204
204
  ## [0.4.4] 2010-10-31
205
205
  ### Added
206
-
207
206
  * Added support for Rails 3 in client/action_controller_request (Pelle)
208
207
 
209
208
  ### Fixed
210
-
211
209
  * Fix LoadError rescue in tests: return can't be used in this context (Hans de Graaff)
212
210
  * HTTP headers should be strings. (seancribbs)
213
211
  * ensure consumer uri gets set back to original config even if an error occurs (Brian Finney)
@@ -215,33 +213,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
215
213
 
216
214
  ## [0.4.3] 2010-09-01
217
215
  ### Fixed
218
-
219
216
  * Fix for em-http proxy (ichverstehe)
220
217
 
221
218
  ## [0.4.2] 2010-08-13
222
219
  ### Added
223
-
224
220
  * Added Bundler (rc) Gemfile for easier dev/testing
225
221
 
226
222
  ### Fixed
227
-
228
223
  * Fixed compatibility with Ruby 1.9.2 (ecavazos)
229
224
  * Fixed the em-http request proxy (Joshua Hull)
230
225
  * Fix for oauth proxy string manipulation (Jakub Suder)
231
226
 
232
227
  ## [0.4.1] 2010-06-16
233
228
  ### Added
234
-
235
229
  * Added support for using OAuth with proxies (Marsh Gardiner)
236
230
 
237
231
  ### Fixed
238
-
239
232
  * Rails 3 Compatibility fixes (Pelle Braendgaard)
240
233
  * Fixed load errors on tests for missing (non-required) libraries
241
234
 
242
235
  ## [0.4.0] 2010-04-22
243
236
  ### Added
244
-
245
237
  * Added computation of oauth_body_hash as per OAuth Request Body Hash 1.0 Draft 4 (Michael Reinsch)
246
238
  * Added the optional `oauth_session_handle` parameter for the Yahoo implementation (Will Bailey)
247
239
  * Added optional block to OAuth::Consumer.get_*_token (Neill Pearman)
@@ -253,12 +245,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
253
245
  * New website (Aaron Quint)
254
246
 
255
247
  ### Changed
256
-
257
248
  * Better marshalling implementation (Yoan Blanc)
258
249
  * Replaced hoe with Jeweler (Aaron Quint)
259
250
 
260
251
  ### Fixed
261
-
262
252
  * Strip extraneous spaces and line breaks from access_token responses (observed in the wild with Yahoo!'s OAuth+OpenID hybrid) (Eric Hartmann)
263
253
  * Stop double-escaping PLAINTEXT signatures (Jimmy Zimmerman)
264
254
  * OAuth::Client::Helper won't override the specified `oauth_version` (Philip Kromer)
@@ -266,22 +256,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
266
256
 
267
257
  ## [0.3.6] 2009-09-14
268
258
  ### Added
269
-
270
259
  * Added -B CLI option to use the :body authentication scheme (Seth)
271
260
  * Support POST and PUT with raw bodies (Yu-Shan Fung et al)
272
261
  * Added :ca_file consumer option to allow consumer specific certificate override. (Pelle)
273
262
 
274
263
  ### Changed
275
-
276
264
  * Test clean-up (Xavier Shay, Hannes Tydén)
277
265
 
278
266
  ### Fixed
279
-
280
267
  * Respect `--method` in `authorize` CLI command (Seth)
281
268
 
282
269
  ## [0.3.5] 2009-06-03
283
270
  ### Added
284
-
285
271
  * `query` CLI command to access protected resources (Seth)
286
272
  * Added -H, -Q CLI options for specifying the authentication scheme (Seth)
287
273
  * Added -O CLI option for specifying a file containing options (Seth)
@@ -292,33 +278,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
292
278
 
293
279
  ## [0.3.4] 2009-05-06
294
280
  ### Changed
295
-
296
281
  * OAuth::Client::Helper uses OAuth::VERSION (chadisfaction)
297
282
 
298
283
  ### Fixed
299
-
300
284
  * Fix OAuth::RequestProxy::ActionControllerRequest's handling of params (Tristan Groléat)
301
285
 
302
286
  ## [0.3.3] 2009-05-04
303
287
  ### Added
304
-
305
288
  * Support for arguments in OAuth::Consumer#get_access_token (Matt Sanford)
306
289
  * Add gem version to user-agent header (Matt Sanford)
307
290
 
308
291
  ### Changed
309
-
310
292
  * Improved error handling for invalid Authorization headers (Matt Sanford)
311
293
  * Handle input from aggressive form encoding libraries (Matt Wood)
312
294
 
313
295
  ### Fixed
314
-
315
296
  * Corrected OAuth XMPP namespace (Seth)
316
297
  * Fixed signatures for non-ASCII under $KCODE other than 'u' (Matt Sanford)
317
298
  * Fixed edge cases in ActionControllerRequestProxy where params were being incorrectly signed (Marcos Wright Kuhns)
318
299
 
319
300
  ## [0.3.2] 2009-03-23
320
301
  ### Added
321
-
322
302
  * Support applications using the MethodOverride Rack middleware (László Bácsi)
323
303
  * `authorize` command for `oauth` CLI (Seth)
324
304
  * Initial support for Problem Reporting extension (Seth)
@@ -326,7 +306,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
326
306
  * Added help to the 'oauth' CLI (Seth)
327
307
 
328
308
  ### Fixed
329
-
330
309
  * 2xx statuses should be treated as success (Anders Conbere)
331
310
  * Fixed ActionController parameter escaping behavior (Thiago Arrais, László Bácsi, Brett Gibson, et al)
332
311
  * Fixed signature calculation when both options and a block were provided to OAuth::Signature::Base#initialize (Seth)
@@ -334,24 +313,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
334
313
 
335
314
  ## [0.3.1] 2009-01-26
336
315
  ### Fixed
337
-
338
- * Fixed a problem with relative and absolute token request paths. (Michael
339
- Wood)
316
+ * Fixed a problem with relative and absolute token request paths. (Michael Wood)
340
317
 
341
318
  ## [0.3.0] 2009-01-25
342
319
  ### Added
343
-
344
320
  * Support ActionController::Request from Edge Rails (László Bácsi)
345
321
  * Added #normalized_parameters to OAuth::RequestProxy::Base (Pelle)
346
322
  * Command-line app for generating signatures. (Seth)
347
323
 
348
324
  ### Changed
349
-
350
325
  * OAuth::Signature.sign and friends now yield the RequestProxy instead of the token when the passed block's arity is 1. (Seth)
351
326
  * Improved test-cases and compatibility for encoding issues. (Pelle)
352
327
 
353
328
  ### Fixed
354
-
355
329
  * Correctly handle multi-valued parameters (Seth)
356
330
  * Token requests are made to the configured URL rather than generating a potentially incorrect one. (Kellan Elliott-McCrea)
357
331
 
@@ -359,7 +333,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
359
333
  The lets fix the last release release
360
334
 
361
335
  ### Fixed
362
-
363
336
  * Fixed plain text signatures (Andrew Arrow)
364
337
  * Fixed RSA requests using OAuthTokens. (Philip Lipu Tsai)
365
338
 
@@ -367,17 +340,14 @@ The lets fix the last release release
367
340
  The lets RSA release
368
341
 
369
342
  ### Added
370
-
371
343
  * Improved support for Ruby 1.8.7 (Bill Kocik)
372
344
  * Added support for 'private_key_file' option for RSA signatures (Chris Mear)
373
345
 
374
346
  ### Changed
375
-
376
347
  * Improved RSA testing
377
348
  * Omit token when signing with RSA
378
349
 
379
350
  ### Fixed
380
-
381
351
  * Fixed RSA verification to support RSA providers now using Ruby and RSA
382
352
  * Fixed several edge cases where params were being incorrectly signed (Scott Hill)
383
353
  * Fixed RSA signing (choonkeat)
@@ -386,7 +356,6 @@ The lets RSA release
386
356
  Lets actually support SSL release
387
357
 
388
358
  ### Fixed
389
-
390
359
  * Use HTTPS when required.
391
360
 
392
361
  ## 0.2 2008-1-19
@@ -398,57 +367,38 @@ but please have a look at the unit tests.
398
367
 
399
368
  ## 0.1.2 2007-12-1
400
369
  ### Fixed
401
-
402
370
  * Fixed checks for missing OAuth params to improve performance
403
371
  * Includes Pat's fix for getting the realm out.
404
372
 
405
373
  ## 0.1.1 2007-11-26
406
374
  ### Added
407
-
408
375
  * First release as a GEM
409
376
  * Moved all non-Rails functionality from the Rails plugin:
410
377
  http://code.google.com/p/oauth-plugin/
411
378
 
412
- [Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.5.6...HEAD
413
-
414
- [0.3.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.0
415
-
416
- [0.3.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.1
417
-
418
- [0.3.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.2
419
-
420
- [0.3.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.3
421
-
422
- [0.3.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.4
423
-
424
- [0.3.5]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.5
425
-
426
- [0.3.6]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.6
427
-
428
- [0.4.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.0
429
-
430
- [0.4.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.1
431
-
432
- [0.4.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.2
433
-
434
- [0.4.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.3
435
-
436
- [0.4.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.4
437
-
438
- [0.4.5]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.5
439
-
440
- [0.4.6]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.6
441
-
442
- [0.4.7]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.7
443
-
444
- [0.5.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.0
445
-
446
- [0.5.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.1
447
-
448
- [0.5.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.2
449
-
450
- [0.5.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.3
451
-
452
- [0.5.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.4
453
-
379
+ [Unreleased]: https://github.com/oauth-xx/oauth-ruby/compare/v0.5.9...v0.5-maintenance
380
+ [0.5.9]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.9
381
+ [0.5.8]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.8
382
+ [0.5.7]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.7
454
383
  [0.5.6]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.6
384
+ [0.5.5]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.5
385
+ [0.5.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.4
386
+ [0.5.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.3
387
+ [0.5.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.2
388
+ [0.5.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.1
389
+ [0.5.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.0
390
+ [0.4.7]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.7
391
+ [0.4.6]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.6
392
+ [0.4.5]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.5
393
+ [0.4.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.4
394
+ [0.4.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.3
395
+ [0.4.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.2
396
+ [0.4.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.1
397
+ [0.4.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.4.0
398
+ [0.3.6]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.6
399
+ [0.3.5]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.5
400
+ [0.3.4]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.4
401
+ [0.3.3]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.3
402
+ [0.3.2]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.2
403
+ [0.3.1]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.1
404
+ [0.3.0]: https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.3.0
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,23 @@
1
+ ## Contributing
2
+
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/oauth-xx/oauth-ruby][source]. This project is
4
+ intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
+ the [code of conduct][conduct].
6
+
7
+ To submit a patch, please fork the project and create a patch with
8
+ tests. Once you're happy with it send a pull request and post a message to the
9
+ [google group][mailinglist].
10
+
11
+ ## Contributors
12
+
13
+ [![Contributors](https://contrib.rocks/image?repo=oauth-xx/oauth-ruby)][contributors]
14
+
15
+ Made with [contributors-img][contrib-rocks].
16
+
17
+ [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
18
+
19
+ [conduct]: https://github.com/oauth-xx/oauth-ruby/blob/master/CODE_OF_CONDUCT.md
20
+ [contributing]: https://github.com/oauth-xx/oauth-ruby/blob/master/CONTRIBUTING.md
21
+ [contributors]: https://github.com/oauth-xx/oauth-ruby/graphs/contributors
22
+ [mailinglist]: http://groups.google.com/group/oauth-ruby
23
+ [source]: https://github.com/oauth-xx/oauth-ruby/
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -1,16 +1,20 @@
1
1
  # Ruby OAuth
2
2
 
3
+ **NOTE**
4
+
5
+ This README, on branch `v0.5-maintenance`, targets 0.5.x series releases. For later releases please see the `msater` branch README.
6
+
3
7
  ## Status
4
8
 
5
9
  | Project | Ruby Oauth |
6
10
  |--------------------------- |--------------------------- |
7
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] |
8
- | version & downloads | [![Version](https://img.shields.io/gem/v/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] |
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] |
9
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] |
10
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] |
11
- | 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] |
12
- | resources | [![Discussion](https://img.shields.io/badge/discussions-github-brightgreen.svg?style=flat)][gh_discussions] [![Mailing List](https://img.shields.io/badge/group-mailinglist-violet.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] |
13
- | 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] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] [![Tweet @ Peter][followme-img]][tweetme] |
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] |
14
18
 
15
19
  ## What
16
20
 
@@ -39,9 +43,21 @@ Or install it yourself as:
39
43
 
40
44
  ## Compatibility
41
45
 
42
- Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.6, 2.7, and
43
- 3.0. Ruby is limited to 2.0+ in the gemspec, and this may change while the gem is
44
- still at version 0.x.
46
+ Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.7, 3.0, and
47
+ 3.1. Ruby is limited to 2.0+ in the gemspec on this `v0.5-maintenance` branch, and
48
+ this will change with minor version bumps, while the gem is still in 0.x,
49
+ in accordance with the SemVer spec.
50
+
51
+ | | Ruby OAuth Version | Maintenance Branch | Supported Officially | Supported Unofficially | Supported Incidentally |
52
+ |:----|--------------------|--------------------|----------------------|------------------------------|------------------------|
53
+ | 1️⃣ | 0.6.x (unreleased) | `master` | 2.7, 3.0, 3.1 | 2.5, 2.6 | 2.3, 2.4 |
54
+ | 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
+ | 3️⃣ | older | N/A | Best of luck to you! | Please upgrade! | |
56
+
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.
45
61
 
46
62
  ## Basics
47
63
 
@@ -105,19 +121,13 @@ OAuth provider if you choose.
105
121
 
106
122
  ## Contributing
107
123
 
108
- Bug reports and pull requests are welcome on GitHub at [https://github.com/oauth-xx/oauth-ruby][source]. This project is
109
- intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
110
- the [code of conduct][conduct].
111
-
112
- To submit a patch, please fork the oauth project and create a patch with
113
- tests. Once you're happy with it send a pull request and post a message to the
114
- [google group][mailinglist].
124
+ See [CONTRIBUTING.md][contributing]
115
125
 
116
126
  ## Contributors
117
127
 
118
- [![Contributors](https://contrib.rocks/image?repo=oauth-xx/oauth-ruby)]("https://github.com/oauth-xx/oauth-ruby/graphs/contributors")
128
+ [![Contributors](https://contrib.rocks/image?repo=oauth-xx/oauth-ruby)][contributors]
119
129
 
120
- Made with [contributors-img](https://contrib.rocks).
130
+ Made with [contributors-img][contrib-rocks].
121
131
 
122
132
  ## Versioning
123
133
 
@@ -148,64 +158,37 @@ individuals. The current maintainer is Peter Boling ([@pboling][gh_sponsors]).
148
158
 
149
159
  Comments are welcome. Contact the [OAuth Ruby mailing list (Google Group)][mailinglist] or [GitHub Discussions][gh_discussions].
150
160
 
151
- [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
152
-
153
- [gh_discussions]: https://github.com/oauth-xx/oauth-ruby/discussions
154
-
155
- [mailinglist]: http://groups.google.com/group/oauth-ruby
161
+ [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
156
162
 
157
163
  [conduct]: https://github.com/oauth-xx/oauth-ruby/blob/master/CODE_OF_CONDUCT.md
164
+ [contributing]: https://github.com/oauth-xx/oauth-ruby/blob/master/CONTRIBUTING.md
165
+ [contributors]: https://github.com/oauth-xx/oauth-ruby/graphs/contributors
166
+ [mailinglist]: http://groups.google.com/group/oauth-ruby
167
+ [source]: https://github.com/oauth-xx/oauth-ruby/
158
168
 
159
- [license]: LICENSE
160
-
161
- [license-ref]: https://opensource.org/licenses/MIT
162
-
163
- [semver]: http://semver.org/
164
-
165
- [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
166
-
167
- [railsbling]: http://www.railsbling.com
168
-
169
- [peterboling]: http://www.peterboling.com
169
+ [comment]: <> (Following links are used by README, Homepage)
170
170
 
171
171
  [aboutme]: https://about.me/peter.boling
172
-
173
- [angelme]: https://angel.co/peter-boling
174
-
175
- [coderme]:http://coderwall.com/pboling
176
-
177
- [followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
178
-
179
- [tweetme]: http://twitter.com/galtzo
180
-
181
- [politicme]: https://nationalprogressiveparty.org
182
-
183
- [documentation]: https://rubydoc.info/github/oauth-xx/oauth-ruby/main
184
-
185
- [source]: https://github.com/oauth-xx/oauth-ruby/
186
-
187
172
  [actions]: https://github.com/oauth-xx/oauth-ruby/actions
188
-
189
- [issues]: https://github.com/oauth-xx/oauth-ruby/issues
190
-
191
- [climate_maintainability]: https://codeclimate.com/github/oauth-xx/oauth-ruby/maintainability
192
-
173
+ [angelme]: https://angel.co/peter-boling
174
+ [blogpage]: http://www.railsbling.com/tags/oauth/
175
+ [chat]: https://gitter.im/oauth-xx/oauth-ruby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
193
176
  [climate_coverage]: https://codeclimate.com/github/oauth-xx/oauth-ruby/test_coverage
194
-
195
- [codecov_coverage]: https://codecov.io/gh/oauth-xx/oauth-ruby
196
-
177
+ [climate_maintainability]: https://codeclimate.com/github/oauth-xx/oauth-ruby/maintainability
197
178
  [code_triage]: https://www.codetriage.com/oauth-xx/oauth-ruby
198
-
179
+ [codecov_coverage]: https://codecov.io/gh/oauth-xx/oauth-ruby
180
+ [coderme]:http://coderwall.com/pboling
199
181
  [depfu]: https://depfu.com/github/oauth-xx/oauth-ruby?project_id=22868
200
-
201
- [blogpage]: http://www.railsbling.com/tags/oauth/
202
-
203
- [rubygems]: https://rubygems.org/gems/oauth
204
-
205
- [chat]: https://gitter.im/oauth-xx/oauth-ruby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
206
-
207
- [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
208
-
182
+ [documentation]: https://rubydoc.info/github/oauth-xx/oauth-ruby
183
+ [followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
184
+ [gh_discussions]: https://github.com/oauth-xx/oauth-ruby/discussions
185
+ [gh_sponsors]: https://github.com/sponsors/pboling
186
+ [license]: https://github.com/oauth-xx/oauth-ruby/blob/master/LICENSE
187
+ [license-ref]: https://opensource.org/licenses/MIT
209
188
  [liberapay_donate]: https://liberapay.com/pboling/donate
210
-
211
- [gh_sponsors]: https://github.com/sponsors/pboling
189
+ [politicme]: https://nationalprogressiveparty.org
190
+ [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
191
+ [rubygems]: https://rubygems.org/gems/oauth
192
+ [security]: https://github.com/oauth-xx/oauth-ruby/blob/master/SECURITY.md
193
+ [semver]: http://semver.org/
194
+ [tweetme]: http://twitter.com/galtzo