oauth 1.1.1 → 1.1.3
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 +258 -225
- data/CONTRIBUTING.md +12 -23
- data/FUNDING.md +2 -2
- data/README.md +40 -14
- data/SECURITY.md +3 -24
- data/lib/oauth/request_proxy/action_dispatch_request.rb +0 -7
- data/lib/oauth/request_proxy/base.rb +11 -0
- data/lib/oauth/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +23 -26
- metadata.gz.sig +1 -3
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,35 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [1.1.3] - 2025-11-06
|
|
34
|
+
|
|
35
|
+
- TAG: [v1.1.3][1.1.3t]
|
|
36
|
+
- COVERAGE: 81.70% -- 817/1000 lines in 36 files
|
|
37
|
+
- BRANCH COVERAGE: 50.54% -- 140/277 branches in 36 files
|
|
38
|
+
- 40.71% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- base64 dependency, fixes Ruby 3.4 and 3.5 HEAD compatibility
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Fix ActionController request proxy NoMethodError when building signatures
|
|
47
|
+
- define `wrap_values` on `OAuth::RequestProxy::Base`
|
|
48
|
+
- remove duplicate from `ActionDispatchRequest`
|
|
49
|
+
- add specs
|
|
50
|
+
|
|
51
|
+
## [1.1.2] - 2025-09-21
|
|
52
|
+
|
|
53
|
+
- TAG: [v1.1.2][1.1.2t]
|
|
54
|
+
- COVERAGE: 81.78% -- 817/999 lines in 36 files
|
|
55
|
+
- BRANCH COVERAGE: 50.54% -- 140/277 branches in 36 files
|
|
56
|
+
- 40.71% documented
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- Corrected SHA-256 & SHA-512 checksums for release 1.1.1
|
|
61
|
+
|
|
33
62
|
## [1.1.1] - 2025-09-21
|
|
34
63
|
|
|
35
64
|
- TAG: [v1.1.1][1.1.1t]
|
|
@@ -61,12 +90,12 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
61
90
|
|
|
62
91
|
### Changed
|
|
63
92
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
93
|
+
- `OAuth::CLI` has been extracted to a new gem, `oauth-tty`, hosted on [Gitlab](https://gitlab.com/ruby-oauth/oauth-tty)
|
|
94
|
+
- The public API of `oauth-tty` is backwards compatible (meaning `OAuth::CLI`)
|
|
95
|
+
- The change within the `oauth` gem is backwards compatible as `oauth-tty` has been added as a dependency
|
|
96
|
+
- Minor version bump is cautionary, as many lines of code have changed.
|
|
97
|
+
- `OAuth::Comsumer#options` hash is now handled by `snaky_hash`, which was extracted from `oauth2`
|
|
98
|
+
- symbolized keys, dot-access and snake-case are now normalized
|
|
70
99
|
|
|
71
100
|
## [1.0.1] 2022-08-29
|
|
72
101
|
|
|
@@ -74,8 +103,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
74
103
|
|
|
75
104
|
### Changed
|
|
76
105
|
|
|
77
|
-
|
|
78
|
-
|
|
106
|
+
- `OAuth::Comsumer#options` hash is now handled by `snaky_hash`, which was extracted from `oauth2`
|
|
107
|
+
- symbolized keys, dot-access and snake-case are now normalized
|
|
79
108
|
|
|
80
109
|
## [1.0.0] 2022-08-23
|
|
81
110
|
|
|
@@ -83,13 +112,13 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
83
112
|
|
|
84
113
|
### Changed
|
|
85
114
|
|
|
86
|
-
|
|
87
|
-
|
|
115
|
+
- Dropped support for Ruby < 2.7
|
|
116
|
+
- Dropped support for Rails < 6
|
|
88
117
|
|
|
89
118
|
### Added
|
|
90
119
|
|
|
91
|
-
|
|
92
|
-
|
|
120
|
+
- New EOL Policy
|
|
121
|
+
- Non-commercial support for the oldest version of Ruby (which itself is going EOL) will be dropped each year in April
|
|
93
122
|
|
|
94
123
|
## [0.6.2] 2022-08-29
|
|
95
124
|
|
|
@@ -97,8 +126,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
97
126
|
|
|
98
127
|
### Changed
|
|
99
128
|
|
|
100
|
-
|
|
101
|
-
|
|
129
|
+
- `OAuth::Comsumer#options` hash is now handled by `snaky_hash`, which was extracted from `oauth2`
|
|
130
|
+
- symbolized keys, dot-access and snake-case are now normalized
|
|
102
131
|
|
|
103
132
|
## [0.6.1] 2022-08-23
|
|
104
133
|
|
|
@@ -106,12 +135,12 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
106
135
|
|
|
107
136
|
### Changed
|
|
108
137
|
|
|
109
|
-
|
|
110
|
-
|
|
138
|
+
- Fixed documentation in SECURITY.md
|
|
139
|
+
- Change references to master => main
|
|
111
140
|
|
|
112
141
|
### Added
|
|
113
142
|
|
|
114
|
-
|
|
143
|
+
- Post install note about v0.6.x EOL approaching in April, 2024
|
|
115
144
|
|
|
116
145
|
## [0.6.0] 2022-08-23
|
|
117
146
|
|
|
@@ -119,19 +148,19 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
119
148
|
|
|
120
149
|
### Added
|
|
121
150
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
151
|
+
- 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.
|
|
152
|
+
- Improved documentation of support policy via Tidelift
|
|
153
|
+
- Stop testing against active_support v2
|
|
125
154
|
|
|
126
155
|
### Changed
|
|
127
156
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
157
|
+
- Utilize version_gem extracted from oauth2 gem for VERSION
|
|
158
|
+
- Added new `OAuth::Version` namespace
|
|
159
|
+
- VERSION constant now at `OAuth::Version::VERSION`
|
|
131
160
|
|
|
132
161
|
### Removed
|
|
133
162
|
|
|
134
|
-
|
|
163
|
+
- Ruby 2.0, 2.1, 2.2, and 2.3 are no longer valid install targets
|
|
135
164
|
|
|
136
165
|
## [0.5.14] 2022-08-29
|
|
137
166
|
|
|
@@ -141,7 +170,7 @@ The "hopeful last 0.5.x" Release
|
|
|
141
170
|
|
|
142
171
|
### Fixed
|
|
143
172
|
|
|
144
|
-
|
|
173
|
+
- More typos fixed
|
|
145
174
|
|
|
146
175
|
## [0.5.13] 2022-08-23
|
|
147
176
|
|
|
@@ -151,7 +180,7 @@ The "I think I caught 'em all!" Release
|
|
|
151
180
|
|
|
152
181
|
### Fixed
|
|
153
182
|
|
|
154
|
-
|
|
183
|
+
- Typo oauth2 => oauth as gem name in one more place.
|
|
155
184
|
|
|
156
185
|
## [0.5.12] 2022-08-23
|
|
157
186
|
|
|
@@ -161,7 +190,7 @@ The "Typoes are just the worst!" Release
|
|
|
161
190
|
|
|
162
191
|
### Fixed
|
|
163
192
|
|
|
164
|
-
|
|
193
|
+
- Typo oauth2 => oauth as gem name in a couple places.
|
|
165
194
|
|
|
166
195
|
## [0.5.11] 2022-08-23
|
|
167
196
|
|
|
@@ -171,13 +200,13 @@ The "Is this the last release with a silly name?" Release
|
|
|
171
200
|
|
|
172
201
|
### Added
|
|
173
202
|
|
|
174
|
-
|
|
203
|
+
- Post install note about v0.5.x EOL approaching in April, 2023
|
|
175
204
|
|
|
176
205
|
### Changed
|
|
177
206
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
207
|
+
- Improved documentation
|
|
208
|
+
- Switched branch references from master to main
|
|
209
|
+
- CI builds are now all green!
|
|
181
210
|
|
|
182
211
|
## [0.5.10] 2022-05-04
|
|
183
212
|
|
|
@@ -187,10 +216,10 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
187
216
|
|
|
188
217
|
### Added
|
|
189
218
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
219
|
+
- Major updates to Documentation
|
|
220
|
+
- More CI Hardening
|
|
221
|
+
- Align CI builds with official Ruby Compatibility Matrix
|
|
222
|
+
- Project tooling in preparation for final release of 0.5.x series
|
|
194
223
|
- diffend
|
|
195
224
|
|
|
196
225
|
## [0.5.9] 2022-05-03
|
|
@@ -199,13 +228,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
199
228
|
|
|
200
229
|
### Added
|
|
201
230
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
231
|
+
- Documentation related to Ruby compatibility
|
|
232
|
+
- Updated CHANGELOG.md formatting
|
|
233
|
+
- Corrected CHANGELOG.md typos
|
|
234
|
+
- Hardened the CI build for the next few years(?!)
|
|
235
|
+
- Require MFA to push new version to Rubygems
|
|
236
|
+
- Replace Hash Rocket syntax with JSON-style symbols where possible
|
|
237
|
+
- Project tooling in preparation for final release of 0.5.x series
|
|
209
238
|
- rubocop-ruby2_0
|
|
210
239
|
- overcommit
|
|
211
240
|
|
|
@@ -215,11 +244,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
215
244
|
|
|
216
245
|
### Added
|
|
217
246
|
|
|
218
|
-
|
|
247
|
+
- Added more documentation files to packaged gem, e.g. SECURITY.md, CODE_OF_CONDUCT.md
|
|
219
248
|
|
|
220
249
|
### Fixed
|
|
221
250
|
|
|
222
|
-
|
|
251
|
+
- Removed reference to RUBY_VERSION from gemspec, as it depends on rake release, which is problematic on some ruby engines. (by @pboling)
|
|
223
252
|
|
|
224
253
|
## [0.5.7] 2021-11-02
|
|
225
254
|
|
|
@@ -227,36 +256,36 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
227
256
|
|
|
228
257
|
### Added
|
|
229
258
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
259
|
+
- Setup Rubocop (#205, #208 by @pboling)
|
|
260
|
+
- Added CODE_OF_CONDUCT.md (#217, #218 by @pboling)
|
|
261
|
+
- Added FUNDING.yml (#217, #218 by @pboling)
|
|
262
|
+
- Added Client Certificate Options: :ssl_client_cert and :ssl_client_key (#136, #220 by @pboling)
|
|
263
|
+
- Handle a nested array of hashes in OAuth::Helper.normalize (#80, #221 by @pboling)
|
|
235
264
|
|
|
236
265
|
### Changed
|
|
237
266
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
267
|
+
- Switch from TravisCI to Github Actions (#202, #207, #176 by @pboling)
|
|
268
|
+
- Upgrade webmock to v3.14.0 (#196 by @pboling)
|
|
269
|
+
- Upgrade em-http-request to v1.1.7 (#173 by @pboling)
|
|
270
|
+
- Upgrade mocha to v1.13.0 (#193 by @pboling)
|
|
271
|
+
- HISTORY renamed to CHANGELOG.md, and follows Keep a Changelog (#214, #215 by @pboling)
|
|
272
|
+
- CHANGELOG, LICENSE, and README now ship with packaged gem (#214, #215 by @pboling)
|
|
273
|
+
- README.rdoc renamed to README.md (#217, #218 by @pboling)
|
|
274
|
+
- Require plaintext signature method by default (#135 by @confiks & @pboling)
|
|
246
275
|
|
|
247
276
|
### Fixed
|
|
248
277
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
278
|
+
- Fixed Infinite Redirect in v0.5.5, v0.5.6 (#186, #210 by @pboling)
|
|
279
|
+
- Fixed NoMethodError on missing leading slash in path (#194, #211 by @pboling)
|
|
280
|
+
- Fixed NoMethodError on nil request object (#165, #212 by @pboling)
|
|
281
|
+
- Fixed Unsafe String Comparison (#156, #209 by @pboling and @drosseau)
|
|
282
|
+
- Fixed typos in Gemspec (#204, #203, #208 by @pboling)
|
|
283
|
+
- Copyright Notice in LICENSE - added correct years (#217, #218 by @pboling)
|
|
284
|
+
- Fixed request proxy Class constant reference scopes - was missing `::` in many places (#225, #226 by @pboling)
|
|
256
285
|
|
|
257
286
|
### Removed
|
|
258
287
|
|
|
259
|
-
|
|
288
|
+
- Remove direct development dependency on nokogiri (#299 by @pboling)
|
|
260
289
|
|
|
261
290
|
## [0.5.6] 2021-04-02
|
|
262
291
|
|
|
@@ -264,12 +293,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
264
293
|
|
|
265
294
|
### Added
|
|
266
295
|
|
|
267
|
-
|
|
268
|
-
|
|
296
|
+
- Add metadata to Gemspec file
|
|
297
|
+
- Add support for PUT requests with Action Controller (#181)
|
|
269
298
|
|
|
270
299
|
### Changed
|
|
271
300
|
|
|
272
|
-
|
|
301
|
+
- Change default timeout to be the same as Net::HTTP default, 60 seconds instead of 30 seconds.
|
|
273
302
|
|
|
274
303
|
## [0.5.5] 2020-01-19
|
|
275
304
|
|
|
@@ -277,17 +306,17 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
277
306
|
|
|
278
307
|
### Added
|
|
279
308
|
|
|
280
|
-
|
|
309
|
+
- Add :allow_empty_params option (#155)
|
|
281
310
|
|
|
282
311
|
### Changed
|
|
283
312
|
|
|
284
|
-
|
|
285
|
-
|
|
313
|
+
- Allow redirect to different host but same path
|
|
314
|
+
- Various cleanups
|
|
286
315
|
|
|
287
316
|
### Fixed
|
|
288
317
|
|
|
289
|
-
|
|
290
|
-
|
|
318
|
+
- Fixes ssl-noverify
|
|
319
|
+
- Fixed README example (#158, #159, by @pboling)
|
|
291
320
|
|
|
292
321
|
## [0.5.4] 2017-12-08
|
|
293
322
|
|
|
@@ -295,11 +324,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
295
324
|
|
|
296
325
|
### Changed
|
|
297
326
|
|
|
298
|
-
|
|
327
|
+
- Various cleanups (charliesome)
|
|
299
328
|
|
|
300
329
|
### Fixed
|
|
301
330
|
|
|
302
|
-
|
|
331
|
+
- Fixes UnknownRequestType on Rails 5.1 for ActionDispatch::Request (xprazak2)
|
|
303
332
|
|
|
304
333
|
## [0.5.3] 2017-05-24
|
|
305
334
|
|
|
@@ -307,11 +336,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
307
336
|
|
|
308
337
|
### Fixed
|
|
309
338
|
|
|
310
|
-
|
|
339
|
+
- Fix #145 - broken CLI required loading active_support (James Pinto)
|
|
311
340
|
|
|
312
341
|
### Changed
|
|
313
342
|
|
|
314
|
-
|
|
343
|
+
- Removing legacy scripts (James Pinto)
|
|
315
344
|
|
|
316
345
|
## [0.5.2] 2017-05-17
|
|
317
346
|
|
|
@@ -319,34 +348,34 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
319
348
|
|
|
320
349
|
### Added
|
|
321
350
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
351
|
+
- Adding a development dependency that had not been mentioned (James Pinto)
|
|
352
|
+
- Adding CodeClimate (James Pinto)
|
|
353
|
+
- Adding support to Ruby 2.4 and head (James Pinto)
|
|
325
354
|
|
|
326
355
|
### Changed
|
|
327
356
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
357
|
+
- Use assert_nil so as to silence a Minitest 6 deprecation warning (James Pinto)
|
|
358
|
+
- Stop bundling tests files in the gem (Michal Papis)
|
|
359
|
+
- Minor cleanup on tests (James Pinto)
|
|
360
|
+
- TravisCI no longer needs libcurl-dev (James Pinto)
|
|
361
|
+
- Nokogiri 1.7 does not accept Ruby 2.0 (James Pinto)
|
|
362
|
+
- Upgrading to CodeClimate 1.0 (James Pinto)
|
|
363
|
+
- Locking gemspec to Rails 4 so as to allow our next version for Rails 5 (James Pinto)
|
|
364
|
+
- moving development dependency to gemspec (James Pinto)
|
|
365
|
+
- Silencing 'Net::HTTPResponse#header is obsolete' (James Pinto)
|
|
366
|
+
- Silencing some test warnings (James Pinto)
|
|
367
|
+
- Silencing 'loading in progress, circular require considered harmful' (James Pinto)
|
|
368
|
+
- Silence 'URI.escape obsolete' (James Pinto)
|
|
369
|
+
- Refactored CLI (James Pinto)
|
|
370
|
+
- Moving test files into test/units/ (James Pinto)
|
|
371
|
+
- Reimplementing #82 - Debug Output Option (James Pinto)
|
|
343
372
|
|
|
344
373
|
### Fixed
|
|
345
374
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
375
|
+
- Fix #113 adding paths when a full URL has been specified (James Pinto)
|
|
376
|
+
- Bug Fix, webmock 2.0 has introduced a new bug (James Pinto)
|
|
377
|
+
- Making a test/support dir (James Pinto)
|
|
378
|
+
- Fix #177 - Adjusting to webmock latest recommended implementation for minitest (James Pinto)
|
|
350
379
|
|
|
351
380
|
## [0.5.1] 2016-02-29
|
|
352
381
|
|
|
@@ -354,23 +383,23 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
354
383
|
|
|
355
384
|
### Added
|
|
356
385
|
|
|
357
|
-
|
|
386
|
+
- Add license info to the gemspec (Robert Reiz)
|
|
358
387
|
|
|
359
388
|
### Fixed
|
|
360
389
|
|
|
361
|
-
|
|
390
|
+
- Proper handling for empty query string in RequestToken#build_authorize_url (midchildan,
|
|
362
391
|
Harald Sitter)
|
|
363
|
-
|
|
392
|
+
- Replace calls to String#blank? with its implementation (Sergio Gil Pérez de la Manga)
|
|
364
393
|
|
|
365
394
|
### Changed
|
|
366
395
|
|
|
367
|
-
|
|
368
|
-
|
|
396
|
+
- Loosen some development dependencies. Add libcurl-dev to travis
|
|
397
|
+
- Fixes to travis config. Switch to rubygems for installation and loading
|
|
369
398
|
|
|
370
399
|
### Removed
|
|
371
400
|
|
|
372
|
-
|
|
373
|
-
|
|
401
|
+
- Remove obsolete comment (Arthur Nogueira Neves)
|
|
402
|
+
- Remove jeweler from gemspec
|
|
374
403
|
|
|
375
404
|
## [0.5.0] 2016-02-20
|
|
376
405
|
|
|
@@ -378,33 +407,33 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
378
407
|
|
|
379
408
|
### Added
|
|
380
409
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
410
|
+
- Add support for HTTP PATCH method (Richard Huang)
|
|
411
|
+
- Allow reading private key from a string (Khaja Minhajuddin)
|
|
412
|
+
- Add rest-client proxy (Khem Veasna)
|
|
413
|
+
- Add byebug. (Kevin Hughes)
|
|
414
|
+
- Allow reading certificate file path from environment variable. Add CentOS cert file path (Danil Vlasov)
|
|
386
415
|
|
|
387
416
|
### Changed
|
|
388
417
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
418
|
+
- Replace jeweler with real spec and bundler tasks
|
|
419
|
+
- Extract version to separate file
|
|
420
|
+
- Use OpenSSL for all digest and hashing. Remove signature methods not defined by OAuth spec. (Kevin Hughes)
|
|
421
|
+
- Change token requests to exclude `oauth_body_hash`. Update doc links in comments. (John Remmen)
|
|
393
422
|
|
|
394
423
|
### Fixed
|
|
395
424
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
425
|
+
- Fix ability to pass in an authorize url with a query string (Roger Smith)
|
|
426
|
+
- Fix bug in signature verification (r-stu31)
|
|
427
|
+
- Use standard key name (`oauth_token_secret`) in Token#to_query (Craig Walker)
|
|
428
|
+
- Fix error in CLI when using `query` without supplying a method (grafikchaos)
|
|
429
|
+
- Compatibility fix for Typhoeus >= 0.5.0 (Chad Feller)
|
|
430
|
+
- Rails 3+ / ActiveSupport::SafeBuffer patch (Clif Reeder)
|
|
431
|
+
- Handle `nil` token gracefully for RequestToken#authorize_url (Brian John)
|
|
432
|
+
- Fix typhoeus compatibility (Vladimir Mikhailov)
|
|
433
|
+
- Fix oauth cli option parser on Ruby 2.2 (Felix Bünemann)
|
|
434
|
+
- Update gemspec for security fixes. Convert to Minitest. Add .travis.yml. (Kevin Hughes)
|
|
435
|
+
- Fix some warnings (amatsuda)
|
|
436
|
+
- Various fixes/updates to README (Evan Arnold, Jonathan Camenisch, Brian John, Ankur Sethi)
|
|
408
437
|
|
|
409
438
|
## [0.4.7] 2012-09-03
|
|
410
439
|
|
|
@@ -412,12 +441,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
412
441
|
|
|
413
442
|
### Added
|
|
414
443
|
|
|
415
|
-
|
|
444
|
+
- Set a configurable timeout for all requests (Rick Olson)
|
|
416
445
|
|
|
417
446
|
### Fixed
|
|
418
447
|
|
|
419
|
-
|
|
420
|
-
|
|
448
|
+
- Fix merging paths if the path is not empty
|
|
449
|
+
- Fix nested hash params in Consumer#request (Ernie Miller)
|
|
421
450
|
|
|
422
451
|
## [0.4.6] 2012-04-21
|
|
423
452
|
|
|
@@ -425,13 +454,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
425
454
|
|
|
426
455
|
### Changed
|
|
427
456
|
|
|
428
|
-
|
|
457
|
+
- Make use the path component of the :site parameter (Jonathon M. Abbott)
|
|
429
458
|
|
|
430
459
|
### Fixed
|
|
431
460
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
461
|
+
- Fixed nested attributes in #normalize (Shaliko Usubov)
|
|
462
|
+
- Fixed post body's being dropped in 1.9 (Steven Hammond)
|
|
463
|
+
- Fixed PUT request handling (Anton Panasenko)
|
|
435
464
|
|
|
436
465
|
## [0.4.5] 2011-06-25
|
|
437
466
|
|
|
@@ -439,19 +468,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
439
468
|
|
|
440
469
|
### Added
|
|
441
470
|
|
|
442
|
-
|
|
443
|
-
|
|
471
|
+
- Add explicit require for rsa/sha1 (Juris Galang)
|
|
472
|
+
- Add gemtest support (Adrian Feldman)
|
|
444
473
|
|
|
445
474
|
### Changed
|
|
446
475
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
476
|
+
- Use webmock to mock all http-requests in tests (Adrian Feldman)
|
|
477
|
+
- Mention Typhoeus require in the README (Kim Ahlström)
|
|
478
|
+
- Use Net::HTTPGenericRequest (Jakub Kuźma)
|
|
450
479
|
|
|
451
480
|
### Fixed
|
|
452
481
|
|
|
453
|
-
|
|
454
|
-
|
|
482
|
+
- Fix POST Requests with Typhoeus proxy (niedhui)
|
|
483
|
+
- Fix incorrect hardcoded port (Ian Taylor)
|
|
455
484
|
|
|
456
485
|
## [0.4.4] 2010-10-31
|
|
457
486
|
|
|
@@ -459,14 +488,14 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
459
488
|
|
|
460
489
|
### Added
|
|
461
490
|
|
|
462
|
-
|
|
491
|
+
- Added support for Rails 3 in client/action_controller_request (Pelle)
|
|
463
492
|
|
|
464
493
|
### Fixed
|
|
465
494
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
495
|
+
- Fix LoadError rescue in tests: return can't be used in this context (Hans de Graaff)
|
|
496
|
+
- HTTP headers should be strings. (seancribbs)
|
|
497
|
+
- ensure consumer uri gets set back to original config even if an error occurs (Brian Finney)
|
|
498
|
+
- Yahoo uses & to split records in OAuth headers (Brian Finney)
|
|
470
499
|
|
|
471
500
|
## [0.4.3] 2010-09-01
|
|
472
501
|
|
|
@@ -474,7 +503,7 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
474
503
|
|
|
475
504
|
### Fixed
|
|
476
505
|
|
|
477
|
-
|
|
506
|
+
- Fix for em-http proxy (ichverstehe)
|
|
478
507
|
|
|
479
508
|
## [0.4.2] 2010-08-13
|
|
480
509
|
|
|
@@ -482,13 +511,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
482
511
|
|
|
483
512
|
### Added
|
|
484
513
|
|
|
485
|
-
|
|
514
|
+
- Added Bundler (rc) Gemfile for easier dev/testing
|
|
486
515
|
|
|
487
516
|
### Fixed
|
|
488
517
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
518
|
+
- Fixed compatibility with Ruby 1.9.2 (ecavazos)
|
|
519
|
+
- Fixed the em-http request proxy (Joshua Hull)
|
|
520
|
+
- Fix for oauth proxy string manipulation (Jakub Suder)
|
|
492
521
|
|
|
493
522
|
## [0.4.1] 2010-06-16
|
|
494
523
|
|
|
@@ -496,12 +525,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
496
525
|
|
|
497
526
|
### Added
|
|
498
527
|
|
|
499
|
-
|
|
528
|
+
- Added support for using OAuth with proxies (Marsh Gardiner)
|
|
500
529
|
|
|
501
530
|
### Fixed
|
|
502
531
|
|
|
503
|
-
|
|
504
|
-
|
|
532
|
+
- Rails 3 Compatibility fixes (Pelle Braendgaard)
|
|
533
|
+
- Fixed load errors on tests for missing (non-required) libraries
|
|
505
534
|
|
|
506
535
|
## [0.4.0] 2010-04-22
|
|
507
536
|
|
|
@@ -509,27 +538,27 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
509
538
|
|
|
510
539
|
### Added
|
|
511
540
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
541
|
+
- Added computation of oauth_body_hash as per OAuth Request Body Hash 1.0 Draft 4 (Michael Reinsch)
|
|
542
|
+
- Added the optional `oauth_session_handle` parameter for the Yahoo implementation (Will Bailey)
|
|
543
|
+
- Added optional block to OAuth::Consumer.get\_\*\_token (Neill Pearman)
|
|
544
|
+
- Exclude `oauth_callback` with :exclude_callback (Neill Pearman)
|
|
545
|
+
- Support for Ruby 1.9 (Aaron Quint, Corey Donahoe, et al)
|
|
546
|
+
- Support for Typhoeus (Bill Kocik)
|
|
547
|
+
- Support for em-http (EventMachine) (Darcy Laycock)
|
|
548
|
+
- Support for curb (André Luis Leal Cardoso Junior)
|
|
549
|
+
- New website (Aaron Quint)
|
|
521
550
|
|
|
522
551
|
### Changed
|
|
523
552
|
|
|
524
|
-
|
|
525
|
-
|
|
553
|
+
- Better marshalling implementation (Yoan Blanc)
|
|
554
|
+
- Replaced hoe with Jeweler (Aaron Quint)
|
|
526
555
|
|
|
527
556
|
### Fixed
|
|
528
557
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
558
|
+
- Strip extraneous spaces and line breaks from access_token responses (observed in the wild with Yahoo!'s OAuth+OpenID hybrid) (Eric Hartmann)
|
|
559
|
+
- Stop double-escaping PLAINTEXT signatures (Jimmy Zimmerman)
|
|
560
|
+
- OAuth::Client::Helper won't override the specified `oauth_version` (Philip Kromer)
|
|
561
|
+
- Fixed an encoding / multibyte issue (成田 一生)
|
|
533
562
|
|
|
534
563
|
## [0.3.6] 2009-09-14
|
|
535
564
|
|
|
@@ -537,17 +566,17 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
537
566
|
|
|
538
567
|
### Added
|
|
539
568
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
569
|
+
- Added -B CLI option to use the :body authentication scheme (Seth)
|
|
570
|
+
- Support POST and PUT with raw bodies (Yu-Shan Fung et al)
|
|
571
|
+
- Added :ca_file consumer option to allow consumer specific certificate override. (Pelle)
|
|
543
572
|
|
|
544
573
|
### Changed
|
|
545
574
|
|
|
546
|
-
|
|
575
|
+
- Test clean-up (Xavier Shay, Hannes Tydén)
|
|
547
576
|
|
|
548
577
|
### Fixed
|
|
549
578
|
|
|
550
|
-
|
|
579
|
+
- Respect `--method` in `authorize` CLI command (Seth)
|
|
551
580
|
|
|
552
581
|
## [0.3.5] 2009-06-03
|
|
553
582
|
|
|
@@ -555,13 +584,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
555
584
|
|
|
556
585
|
### Added
|
|
557
586
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
587
|
+
- `query` CLI command to access protected resources (Seth)
|
|
588
|
+
- Added -H, -Q CLI options for specifying the authentication scheme (Seth)
|
|
589
|
+
- Added -O CLI option for specifying a file containing options (Seth)
|
|
590
|
+
- Support streamable body contents for large request bodies (Seth Cousins)
|
|
591
|
+
- Support for OAuth 1.0a (Seth)
|
|
592
|
+
- Added proxy support to OAuth::Consumer (Marshall Huss)
|
|
593
|
+
- Added --scope CLI option for Google's 'scope' parameter (Seth)
|
|
565
594
|
|
|
566
595
|
## [0.3.4] 2009-05-06
|
|
567
596
|
|
|
@@ -569,11 +598,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
569
598
|
|
|
570
599
|
### Changed
|
|
571
600
|
|
|
572
|
-
|
|
601
|
+
- OAuth::Client::Helper uses OAuth::Version::VERSION (chadisfaction)
|
|
573
602
|
|
|
574
603
|
### Fixed
|
|
575
604
|
|
|
576
|
-
|
|
605
|
+
- Fix OAuth::RequestProxy::ActionControllerRequest's handling of params (Tristan Groléat)
|
|
577
606
|
|
|
578
607
|
## [0.3.3] 2009-05-04
|
|
579
608
|
|
|
@@ -581,19 +610,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
581
610
|
|
|
582
611
|
### Added
|
|
583
612
|
|
|
584
|
-
|
|
585
|
-
|
|
613
|
+
- Support for arguments in OAuth::Consumer#get_access_token (Matt Sanford)
|
|
614
|
+
- Add gem version to user-agent header (Matt Sanford)
|
|
586
615
|
|
|
587
616
|
### Changed
|
|
588
617
|
|
|
589
|
-
|
|
590
|
-
|
|
618
|
+
- Improved error handling for invalid Authorization headers (Matt Sanford)
|
|
619
|
+
- Handle input from aggressive form encoding libraries (Matt Wood)
|
|
591
620
|
|
|
592
621
|
### Fixed
|
|
593
622
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
623
|
+
- Corrected OAuth XMPP namespace (Seth)
|
|
624
|
+
- Fixed signatures for non-ASCII under $KCODE other than 'u' (Matt Sanford)
|
|
625
|
+
- Fixed edge cases in ActionControllerRequestProxy where params were being incorrectly signed (Marcos Wright Kuhns)
|
|
597
626
|
|
|
598
627
|
## [0.3.2] 2009-03-23
|
|
599
628
|
|
|
@@ -601,18 +630,18 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
601
630
|
|
|
602
631
|
### Added
|
|
603
632
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
633
|
+
- Support applications using the MethodOverride Rack middleware (László Bácsi)
|
|
634
|
+
- `authorize` command for `oauth` CLI (Seth)
|
|
635
|
+
- Initial support for Problem Reporting extension (Seth)
|
|
636
|
+
- Verify SSL certificates if CA certificates are available (Seth)
|
|
637
|
+
- Added help to the 'oauth' CLI (Seth)
|
|
609
638
|
|
|
610
639
|
### Fixed
|
|
611
640
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
641
|
+
- 2xx statuses should be treated as success (Anders Conbere)
|
|
642
|
+
- Fixed ActionController parameter escaping behavior (Thiago Arrais, László Bácsi, Brett Gibson, et al)
|
|
643
|
+
- Fixed signature calculation when both options and a block were provided to OAuth::Signature::Base#initialize (Seth)
|
|
644
|
+
- Fixed a problem when attempting to normalize MockRequest URIs (Seth)
|
|
616
645
|
|
|
617
646
|
## [0.3.1] 2009-01-26
|
|
618
647
|
|
|
@@ -620,7 +649,7 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
620
649
|
|
|
621
650
|
### Fixed
|
|
622
651
|
|
|
623
|
-
|
|
652
|
+
- Fixed a problem with relative and absolute token request paths. (Michael Wood)
|
|
624
653
|
|
|
625
654
|
## [0.3.0] 2009-01-25
|
|
626
655
|
|
|
@@ -628,19 +657,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
628
657
|
|
|
629
658
|
### Added
|
|
630
659
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
660
|
+
- Support ActionController::Request from Edge Rails (László Bácsi)
|
|
661
|
+
- Added #normalized_parameters to OAuth::RequestProxy::Base (Pelle)
|
|
662
|
+
- Command-line app for generating signatures. (Seth)
|
|
634
663
|
|
|
635
664
|
### Changed
|
|
636
665
|
|
|
637
|
-
|
|
638
|
-
|
|
666
|
+
- OAuth::Signature.sign and friends now yield the RequestProxy instead of the token when the passed block's arity is 1. (Seth)
|
|
667
|
+
- Improved test-cases and compatibility for encoding issues. (Pelle)
|
|
639
668
|
|
|
640
669
|
### Fixed
|
|
641
670
|
|
|
642
|
-
|
|
643
|
-
|
|
671
|
+
- Correctly handle multi-valued parameters (Seth)
|
|
672
|
+
- Token requests are made to the configured URL rather than generating a potentially incorrect one. (Kellan Elliott-McCrea)
|
|
644
673
|
|
|
645
674
|
## 0.2.7 2008-09-10
|
|
646
675
|
|
|
@@ -648,8 +677,8 @@ The lets fix the last release release
|
|
|
648
677
|
|
|
649
678
|
### Fixed
|
|
650
679
|
|
|
651
|
-
|
|
652
|
-
|
|
680
|
+
- Fixed plain text signatures (Andrew Arrow)
|
|
681
|
+
- Fixed RSA requests using OAuthTokens. (Philip Lipu Tsai)
|
|
653
682
|
|
|
654
683
|
## 0.2.6 2008-09-09
|
|
655
684
|
|
|
@@ -657,19 +686,19 @@ The lets RSA release
|
|
|
657
686
|
|
|
658
687
|
### Added
|
|
659
688
|
|
|
660
|
-
|
|
661
|
-
|
|
689
|
+
- Improved support for Ruby 1.8.7 (Bill Kocik)
|
|
690
|
+
- Added support for 'private_key_file' option for RSA signatures (Chris Mear)
|
|
662
691
|
|
|
663
692
|
### Changed
|
|
664
693
|
|
|
665
|
-
|
|
666
|
-
|
|
694
|
+
- Improved RSA testing
|
|
695
|
+
- Omit token when signing with RSA
|
|
667
696
|
|
|
668
697
|
### Fixed
|
|
669
698
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
699
|
+
- Fixed RSA verification to support RSA providers now using Ruby and RSA
|
|
700
|
+
- Fixed several edge cases where params were being incorrectly signed (Scott Hill)
|
|
701
|
+
- Fixed RSA signing (choonkeat)
|
|
673
702
|
|
|
674
703
|
## 0.2.2 2008-02-22
|
|
675
704
|
|
|
@@ -677,7 +706,7 @@ Lets actually support SSL release
|
|
|
677
706
|
|
|
678
707
|
### Fixed
|
|
679
708
|
|
|
680
|
-
|
|
709
|
+
- Use HTTPS when required.
|
|
681
710
|
|
|
682
711
|
## 0.2 2008-1-19
|
|
683
712
|
|
|
@@ -685,26 +714,30 @@ All together now release
|
|
|
685
714
|
|
|
686
715
|
### Changed
|
|
687
716
|
|
|
688
|
-
|
|
689
|
-
This means there are definitely some API changes you should be aware of. They should be minimal
|
|
690
|
-
but please have a look at the unit tests.
|
|
717
|
+
- This is a big release, where we have merged the efforts of various parties into one common library.
|
|
718
|
+
This means there are definitely some API changes you should be aware of. They should be minimal
|
|
719
|
+
but please have a look at the unit tests.
|
|
691
720
|
|
|
692
721
|
## 0.1.2 2007-12-1
|
|
693
722
|
|
|
694
723
|
### Fixed
|
|
695
724
|
|
|
696
|
-
|
|
697
|
-
|
|
725
|
+
- Fixed checks for missing OAuth params to improve performance
|
|
726
|
+
- Includes Pat's fix for getting the realm out.
|
|
698
727
|
|
|
699
728
|
## 0.1.1 2007-11-26
|
|
700
729
|
|
|
701
730
|
### Added
|
|
702
731
|
|
|
703
|
-
|
|
704
|
-
|
|
732
|
+
- First release as a GEM
|
|
733
|
+
- Moved all non-Rails functionality from the Rails plugin:
|
|
705
734
|
http://code.google.com/p/oauth-plugin/
|
|
706
735
|
|
|
707
|
-
[Unreleased]: https://github.com/ruby-oauth/oauth/compare/v1.1.
|
|
736
|
+
[Unreleased]: https://github.com/ruby-oauth/oauth/compare/v1.1.3...HEAD
|
|
737
|
+
[1.1.3]: https://github.com/ruby-oauth/oauth/compare/v1.1.2...v1.1.3
|
|
738
|
+
[1.1.3t]: https://github.com/ruby-oauth/oauth/releases/tag/v1.1.3
|
|
739
|
+
[1.1.2]: https://github.com/ruby-oauth/oauth/compare/v1.1.1...v1.1.2
|
|
740
|
+
[1.1.2t]: https://github.com/ruby-oauth/oauth/releases/tag/v1.1.2
|
|
708
741
|
[1.1.1]: https://github.com/ruby-oauth/oauth/compare/v1.1.0...v1.1.1
|
|
709
742
|
[1.1.1t]: https://github.com/ruby-oauth/oauth/releases/tag/v1.1.1
|
|
710
743
|
[1.1.0]: https://gitlab.com/ruby-oauth/oauth/-/compare/v1.0.1...v1.1.0
|