oauth 1.1.2 → 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 +245 -225
- data/CONTRIBUTING.md +12 -23
- data/FUNDING.md +2 -2
- data/README.md +41 -15
- 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 +0 -0
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,24 @@ 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
|
+
|
|
33
51
|
## [1.1.2] - 2025-09-21
|
|
34
52
|
|
|
35
53
|
- TAG: [v1.1.2][1.1.2t]
|
|
@@ -72,12 +90,12 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
72
90
|
|
|
73
91
|
### Changed
|
|
74
92
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
|
81
99
|
|
|
82
100
|
## [1.0.1] 2022-08-29
|
|
83
101
|
|
|
@@ -85,8 +103,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
85
103
|
|
|
86
104
|
### Changed
|
|
87
105
|
|
|
88
|
-
|
|
89
|
-
|
|
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
|
|
90
108
|
|
|
91
109
|
## [1.0.0] 2022-08-23
|
|
92
110
|
|
|
@@ -94,13 +112,13 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
94
112
|
|
|
95
113
|
### Changed
|
|
96
114
|
|
|
97
|
-
|
|
98
|
-
|
|
115
|
+
- Dropped support for Ruby < 2.7
|
|
116
|
+
- Dropped support for Rails < 6
|
|
99
117
|
|
|
100
118
|
### Added
|
|
101
119
|
|
|
102
|
-
|
|
103
|
-
|
|
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
|
|
104
122
|
|
|
105
123
|
## [0.6.2] 2022-08-29
|
|
106
124
|
|
|
@@ -108,8 +126,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
108
126
|
|
|
109
127
|
### Changed
|
|
110
128
|
|
|
111
|
-
|
|
112
|
-
|
|
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
|
|
113
131
|
|
|
114
132
|
## [0.6.1] 2022-08-23
|
|
115
133
|
|
|
@@ -117,12 +135,12 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
117
135
|
|
|
118
136
|
### Changed
|
|
119
137
|
|
|
120
|
-
|
|
121
|
-
|
|
138
|
+
- Fixed documentation in SECURITY.md
|
|
139
|
+
- Change references to master => main
|
|
122
140
|
|
|
123
141
|
### Added
|
|
124
142
|
|
|
125
|
-
|
|
143
|
+
- Post install note about v0.6.x EOL approaching in April, 2024
|
|
126
144
|
|
|
127
145
|
## [0.6.0] 2022-08-23
|
|
128
146
|
|
|
@@ -130,19 +148,19 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
130
148
|
|
|
131
149
|
### Added
|
|
132
150
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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
|
|
136
154
|
|
|
137
155
|
### Changed
|
|
138
156
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
157
|
+
- Utilize version_gem extracted from oauth2 gem for VERSION
|
|
158
|
+
- Added new `OAuth::Version` namespace
|
|
159
|
+
- VERSION constant now at `OAuth::Version::VERSION`
|
|
142
160
|
|
|
143
161
|
### Removed
|
|
144
162
|
|
|
145
|
-
|
|
163
|
+
- Ruby 2.0, 2.1, 2.2, and 2.3 are no longer valid install targets
|
|
146
164
|
|
|
147
165
|
## [0.5.14] 2022-08-29
|
|
148
166
|
|
|
@@ -152,7 +170,7 @@ The "hopeful last 0.5.x" Release
|
|
|
152
170
|
|
|
153
171
|
### Fixed
|
|
154
172
|
|
|
155
|
-
|
|
173
|
+
- More typos fixed
|
|
156
174
|
|
|
157
175
|
## [0.5.13] 2022-08-23
|
|
158
176
|
|
|
@@ -162,7 +180,7 @@ The "I think I caught 'em all!" Release
|
|
|
162
180
|
|
|
163
181
|
### Fixed
|
|
164
182
|
|
|
165
|
-
|
|
183
|
+
- Typo oauth2 => oauth as gem name in one more place.
|
|
166
184
|
|
|
167
185
|
## [0.5.12] 2022-08-23
|
|
168
186
|
|
|
@@ -172,7 +190,7 @@ The "Typoes are just the worst!" Release
|
|
|
172
190
|
|
|
173
191
|
### Fixed
|
|
174
192
|
|
|
175
|
-
|
|
193
|
+
- Typo oauth2 => oauth as gem name in a couple places.
|
|
176
194
|
|
|
177
195
|
## [0.5.11] 2022-08-23
|
|
178
196
|
|
|
@@ -182,13 +200,13 @@ The "Is this the last release with a silly name?" Release
|
|
|
182
200
|
|
|
183
201
|
### Added
|
|
184
202
|
|
|
185
|
-
|
|
203
|
+
- Post install note about v0.5.x EOL approaching in April, 2023
|
|
186
204
|
|
|
187
205
|
### Changed
|
|
188
206
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
207
|
+
- Improved documentation
|
|
208
|
+
- Switched branch references from master to main
|
|
209
|
+
- CI builds are now all green!
|
|
192
210
|
|
|
193
211
|
## [0.5.10] 2022-05-04
|
|
194
212
|
|
|
@@ -198,10 +216,10 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
198
216
|
|
|
199
217
|
### Added
|
|
200
218
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
|
205
223
|
- diffend
|
|
206
224
|
|
|
207
225
|
## [0.5.9] 2022-05-03
|
|
@@ -210,13 +228,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
210
228
|
|
|
211
229
|
### Added
|
|
212
230
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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
|
|
220
238
|
- rubocop-ruby2_0
|
|
221
239
|
- overcommit
|
|
222
240
|
|
|
@@ -226,11 +244,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
226
244
|
|
|
227
245
|
### Added
|
|
228
246
|
|
|
229
|
-
|
|
247
|
+
- Added more documentation files to packaged gem, e.g. SECURITY.md, CODE_OF_CONDUCT.md
|
|
230
248
|
|
|
231
249
|
### Fixed
|
|
232
250
|
|
|
233
|
-
|
|
251
|
+
- Removed reference to RUBY_VERSION from gemspec, as it depends on rake release, which is problematic on some ruby engines. (by @pboling)
|
|
234
252
|
|
|
235
253
|
## [0.5.7] 2021-11-02
|
|
236
254
|
|
|
@@ -238,36 +256,36 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
238
256
|
|
|
239
257
|
### Added
|
|
240
258
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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)
|
|
246
264
|
|
|
247
265
|
### Changed
|
|
248
266
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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)
|
|
257
275
|
|
|
258
276
|
### Fixed
|
|
259
277
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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)
|
|
267
285
|
|
|
268
286
|
### Removed
|
|
269
287
|
|
|
270
|
-
|
|
288
|
+
- Remove direct development dependency on nokogiri (#299 by @pboling)
|
|
271
289
|
|
|
272
290
|
## [0.5.6] 2021-04-02
|
|
273
291
|
|
|
@@ -275,12 +293,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
275
293
|
|
|
276
294
|
### Added
|
|
277
295
|
|
|
278
|
-
|
|
279
|
-
|
|
296
|
+
- Add metadata to Gemspec file
|
|
297
|
+
- Add support for PUT requests with Action Controller (#181)
|
|
280
298
|
|
|
281
299
|
### Changed
|
|
282
300
|
|
|
283
|
-
|
|
301
|
+
- Change default timeout to be the same as Net::HTTP default, 60 seconds instead of 30 seconds.
|
|
284
302
|
|
|
285
303
|
## [0.5.5] 2020-01-19
|
|
286
304
|
|
|
@@ -288,17 +306,17 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
288
306
|
|
|
289
307
|
### Added
|
|
290
308
|
|
|
291
|
-
|
|
309
|
+
- Add :allow_empty_params option (#155)
|
|
292
310
|
|
|
293
311
|
### Changed
|
|
294
312
|
|
|
295
|
-
|
|
296
|
-
|
|
313
|
+
- Allow redirect to different host but same path
|
|
314
|
+
- Various cleanups
|
|
297
315
|
|
|
298
316
|
### Fixed
|
|
299
317
|
|
|
300
|
-
|
|
301
|
-
|
|
318
|
+
- Fixes ssl-noverify
|
|
319
|
+
- Fixed README example (#158, #159, by @pboling)
|
|
302
320
|
|
|
303
321
|
## [0.5.4] 2017-12-08
|
|
304
322
|
|
|
@@ -306,11 +324,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
306
324
|
|
|
307
325
|
### Changed
|
|
308
326
|
|
|
309
|
-
|
|
327
|
+
- Various cleanups (charliesome)
|
|
310
328
|
|
|
311
329
|
### Fixed
|
|
312
330
|
|
|
313
|
-
|
|
331
|
+
- Fixes UnknownRequestType on Rails 5.1 for ActionDispatch::Request (xprazak2)
|
|
314
332
|
|
|
315
333
|
## [0.5.3] 2017-05-24
|
|
316
334
|
|
|
@@ -318,11 +336,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
318
336
|
|
|
319
337
|
### Fixed
|
|
320
338
|
|
|
321
|
-
|
|
339
|
+
- Fix #145 - broken CLI required loading active_support (James Pinto)
|
|
322
340
|
|
|
323
341
|
### Changed
|
|
324
342
|
|
|
325
|
-
|
|
343
|
+
- Removing legacy scripts (James Pinto)
|
|
326
344
|
|
|
327
345
|
## [0.5.2] 2017-05-17
|
|
328
346
|
|
|
@@ -330,34 +348,34 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
330
348
|
|
|
331
349
|
### Added
|
|
332
350
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
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)
|
|
336
354
|
|
|
337
355
|
### Changed
|
|
338
356
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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)
|
|
354
372
|
|
|
355
373
|
### Fixed
|
|
356
374
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
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)
|
|
361
379
|
|
|
362
380
|
## [0.5.1] 2016-02-29
|
|
363
381
|
|
|
@@ -365,23 +383,23 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
365
383
|
|
|
366
384
|
### Added
|
|
367
385
|
|
|
368
|
-
|
|
386
|
+
- Add license info to the gemspec (Robert Reiz)
|
|
369
387
|
|
|
370
388
|
### Fixed
|
|
371
389
|
|
|
372
|
-
|
|
390
|
+
- Proper handling for empty query string in RequestToken#build_authorize_url (midchildan,
|
|
373
391
|
Harald Sitter)
|
|
374
|
-
|
|
392
|
+
- Replace calls to String#blank? with its implementation (Sergio Gil Pérez de la Manga)
|
|
375
393
|
|
|
376
394
|
### Changed
|
|
377
395
|
|
|
378
|
-
|
|
379
|
-
|
|
396
|
+
- Loosen some development dependencies. Add libcurl-dev to travis
|
|
397
|
+
- Fixes to travis config. Switch to rubygems for installation and loading
|
|
380
398
|
|
|
381
399
|
### Removed
|
|
382
400
|
|
|
383
|
-
|
|
384
|
-
|
|
401
|
+
- Remove obsolete comment (Arthur Nogueira Neves)
|
|
402
|
+
- Remove jeweler from gemspec
|
|
385
403
|
|
|
386
404
|
## [0.5.0] 2016-02-20
|
|
387
405
|
|
|
@@ -389,33 +407,33 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
389
407
|
|
|
390
408
|
### Added
|
|
391
409
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
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)
|
|
397
415
|
|
|
398
416
|
### Changed
|
|
399
417
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
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)
|
|
404
422
|
|
|
405
423
|
### Fixed
|
|
406
424
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
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)
|
|
419
437
|
|
|
420
438
|
## [0.4.7] 2012-09-03
|
|
421
439
|
|
|
@@ -423,12 +441,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
423
441
|
|
|
424
442
|
### Added
|
|
425
443
|
|
|
426
|
-
|
|
444
|
+
- Set a configurable timeout for all requests (Rick Olson)
|
|
427
445
|
|
|
428
446
|
### Fixed
|
|
429
447
|
|
|
430
|
-
|
|
431
|
-
|
|
448
|
+
- Fix merging paths if the path is not empty
|
|
449
|
+
- Fix nested hash params in Consumer#request (Ernie Miller)
|
|
432
450
|
|
|
433
451
|
## [0.4.6] 2012-04-21
|
|
434
452
|
|
|
@@ -436,13 +454,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
436
454
|
|
|
437
455
|
### Changed
|
|
438
456
|
|
|
439
|
-
|
|
457
|
+
- Make use the path component of the :site parameter (Jonathon M. Abbott)
|
|
440
458
|
|
|
441
459
|
### Fixed
|
|
442
460
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
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)
|
|
446
464
|
|
|
447
465
|
## [0.4.5] 2011-06-25
|
|
448
466
|
|
|
@@ -450,19 +468,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
450
468
|
|
|
451
469
|
### Added
|
|
452
470
|
|
|
453
|
-
|
|
454
|
-
|
|
471
|
+
- Add explicit require for rsa/sha1 (Juris Galang)
|
|
472
|
+
- Add gemtest support (Adrian Feldman)
|
|
455
473
|
|
|
456
474
|
### Changed
|
|
457
475
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
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)
|
|
461
479
|
|
|
462
480
|
### Fixed
|
|
463
481
|
|
|
464
|
-
|
|
465
|
-
|
|
482
|
+
- Fix POST Requests with Typhoeus proxy (niedhui)
|
|
483
|
+
- Fix incorrect hardcoded port (Ian Taylor)
|
|
466
484
|
|
|
467
485
|
## [0.4.4] 2010-10-31
|
|
468
486
|
|
|
@@ -470,14 +488,14 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
470
488
|
|
|
471
489
|
### Added
|
|
472
490
|
|
|
473
|
-
|
|
491
|
+
- Added support for Rails 3 in client/action_controller_request (Pelle)
|
|
474
492
|
|
|
475
493
|
### Fixed
|
|
476
494
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
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)
|
|
481
499
|
|
|
482
500
|
## [0.4.3] 2010-09-01
|
|
483
501
|
|
|
@@ -485,7 +503,7 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
485
503
|
|
|
486
504
|
### Fixed
|
|
487
505
|
|
|
488
|
-
|
|
506
|
+
- Fix for em-http proxy (ichverstehe)
|
|
489
507
|
|
|
490
508
|
## [0.4.2] 2010-08-13
|
|
491
509
|
|
|
@@ -493,13 +511,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
493
511
|
|
|
494
512
|
### Added
|
|
495
513
|
|
|
496
|
-
|
|
514
|
+
- Added Bundler (rc) Gemfile for easier dev/testing
|
|
497
515
|
|
|
498
516
|
### Fixed
|
|
499
517
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
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)
|
|
503
521
|
|
|
504
522
|
## [0.4.1] 2010-06-16
|
|
505
523
|
|
|
@@ -507,12 +525,12 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
507
525
|
|
|
508
526
|
### Added
|
|
509
527
|
|
|
510
|
-
|
|
528
|
+
- Added support for using OAuth with proxies (Marsh Gardiner)
|
|
511
529
|
|
|
512
530
|
### Fixed
|
|
513
531
|
|
|
514
|
-
|
|
515
|
-
|
|
532
|
+
- Rails 3 Compatibility fixes (Pelle Braendgaard)
|
|
533
|
+
- Fixed load errors on tests for missing (non-required) libraries
|
|
516
534
|
|
|
517
535
|
## [0.4.0] 2010-04-22
|
|
518
536
|
|
|
@@ -520,27 +538,27 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
520
538
|
|
|
521
539
|
### Added
|
|
522
540
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
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)
|
|
532
550
|
|
|
533
551
|
### Changed
|
|
534
552
|
|
|
535
|
-
|
|
536
|
-
|
|
553
|
+
- Better marshalling implementation (Yoan Blanc)
|
|
554
|
+
- Replaced hoe with Jeweler (Aaron Quint)
|
|
537
555
|
|
|
538
556
|
### Fixed
|
|
539
557
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
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 (成田 一生)
|
|
544
562
|
|
|
545
563
|
## [0.3.6] 2009-09-14
|
|
546
564
|
|
|
@@ -548,17 +566,17 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
548
566
|
|
|
549
567
|
### Added
|
|
550
568
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
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)
|
|
554
572
|
|
|
555
573
|
### Changed
|
|
556
574
|
|
|
557
|
-
|
|
575
|
+
- Test clean-up (Xavier Shay, Hannes Tydén)
|
|
558
576
|
|
|
559
577
|
### Fixed
|
|
560
578
|
|
|
561
|
-
|
|
579
|
+
- Respect `--method` in `authorize` CLI command (Seth)
|
|
562
580
|
|
|
563
581
|
## [0.3.5] 2009-06-03
|
|
564
582
|
|
|
@@ -566,13 +584,13 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
566
584
|
|
|
567
585
|
### Added
|
|
568
586
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
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)
|
|
576
594
|
|
|
577
595
|
## [0.3.4] 2009-05-06
|
|
578
596
|
|
|
@@ -580,11 +598,11 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
580
598
|
|
|
581
599
|
### Changed
|
|
582
600
|
|
|
583
|
-
|
|
601
|
+
- OAuth::Client::Helper uses OAuth::Version::VERSION (chadisfaction)
|
|
584
602
|
|
|
585
603
|
### Fixed
|
|
586
604
|
|
|
587
|
-
|
|
605
|
+
- Fix OAuth::RequestProxy::ActionControllerRequest's handling of params (Tristan Groléat)
|
|
588
606
|
|
|
589
607
|
## [0.3.3] 2009-05-04
|
|
590
608
|
|
|
@@ -592,19 +610,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
592
610
|
|
|
593
611
|
### Added
|
|
594
612
|
|
|
595
|
-
|
|
596
|
-
|
|
613
|
+
- Support for arguments in OAuth::Consumer#get_access_token (Matt Sanford)
|
|
614
|
+
- Add gem version to user-agent header (Matt Sanford)
|
|
597
615
|
|
|
598
616
|
### Changed
|
|
599
617
|
|
|
600
|
-
|
|
601
|
-
|
|
618
|
+
- Improved error handling for invalid Authorization headers (Matt Sanford)
|
|
619
|
+
- Handle input from aggressive form encoding libraries (Matt Wood)
|
|
602
620
|
|
|
603
621
|
### Fixed
|
|
604
622
|
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
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)
|
|
608
626
|
|
|
609
627
|
## [0.3.2] 2009-03-23
|
|
610
628
|
|
|
@@ -612,18 +630,18 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
612
630
|
|
|
613
631
|
### Added
|
|
614
632
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
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)
|
|
620
638
|
|
|
621
639
|
### Fixed
|
|
622
640
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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)
|
|
627
645
|
|
|
628
646
|
## [0.3.1] 2009-01-26
|
|
629
647
|
|
|
@@ -631,7 +649,7 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
631
649
|
|
|
632
650
|
### Fixed
|
|
633
651
|
|
|
634
|
-
|
|
652
|
+
- Fixed a problem with relative and absolute token request paths. (Michael Wood)
|
|
635
653
|
|
|
636
654
|
## [0.3.0] 2009-01-25
|
|
637
655
|
|
|
@@ -639,19 +657,19 @@ The "Can it be the end of the line for 0.5.x?" Release
|
|
|
639
657
|
|
|
640
658
|
### Added
|
|
641
659
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
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)
|
|
645
663
|
|
|
646
664
|
### Changed
|
|
647
665
|
|
|
648
|
-
|
|
649
|
-
|
|
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)
|
|
650
668
|
|
|
651
669
|
### Fixed
|
|
652
670
|
|
|
653
|
-
|
|
654
|
-
|
|
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)
|
|
655
673
|
|
|
656
674
|
## 0.2.7 2008-09-10
|
|
657
675
|
|
|
@@ -659,8 +677,8 @@ The lets fix the last release release
|
|
|
659
677
|
|
|
660
678
|
### Fixed
|
|
661
679
|
|
|
662
|
-
|
|
663
|
-
|
|
680
|
+
- Fixed plain text signatures (Andrew Arrow)
|
|
681
|
+
- Fixed RSA requests using OAuthTokens. (Philip Lipu Tsai)
|
|
664
682
|
|
|
665
683
|
## 0.2.6 2008-09-09
|
|
666
684
|
|
|
@@ -668,19 +686,19 @@ The lets RSA release
|
|
|
668
686
|
|
|
669
687
|
### Added
|
|
670
688
|
|
|
671
|
-
|
|
672
|
-
|
|
689
|
+
- Improved support for Ruby 1.8.7 (Bill Kocik)
|
|
690
|
+
- Added support for 'private_key_file' option for RSA signatures (Chris Mear)
|
|
673
691
|
|
|
674
692
|
### Changed
|
|
675
693
|
|
|
676
|
-
|
|
677
|
-
|
|
694
|
+
- Improved RSA testing
|
|
695
|
+
- Omit token when signing with RSA
|
|
678
696
|
|
|
679
697
|
### Fixed
|
|
680
698
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
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)
|
|
684
702
|
|
|
685
703
|
## 0.2.2 2008-02-22
|
|
686
704
|
|
|
@@ -688,7 +706,7 @@ Lets actually support SSL release
|
|
|
688
706
|
|
|
689
707
|
### Fixed
|
|
690
708
|
|
|
691
|
-
|
|
709
|
+
- Use HTTPS when required.
|
|
692
710
|
|
|
693
711
|
## 0.2 2008-1-19
|
|
694
712
|
|
|
@@ -696,26 +714,28 @@ All together now release
|
|
|
696
714
|
|
|
697
715
|
### Changed
|
|
698
716
|
|
|
699
|
-
|
|
700
|
-
This means there are definitely some API changes you should be aware of. They should be minimal
|
|
701
|
-
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.
|
|
702
720
|
|
|
703
721
|
## 0.1.2 2007-12-1
|
|
704
722
|
|
|
705
723
|
### Fixed
|
|
706
724
|
|
|
707
|
-
|
|
708
|
-
|
|
725
|
+
- Fixed checks for missing OAuth params to improve performance
|
|
726
|
+
- Includes Pat's fix for getting the realm out.
|
|
709
727
|
|
|
710
728
|
## 0.1.1 2007-11-26
|
|
711
729
|
|
|
712
730
|
### Added
|
|
713
731
|
|
|
714
|
-
|
|
715
|
-
|
|
732
|
+
- First release as a GEM
|
|
733
|
+
- Moved all non-Rails functionality from the Rails plugin:
|
|
716
734
|
http://code.google.com/p/oauth-plugin/
|
|
717
735
|
|
|
718
|
-
[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
|
|
719
739
|
[1.1.2]: https://github.com/ruby-oauth/oauth/compare/v1.1.1...v1.1.2
|
|
720
740
|
[1.1.2t]: https://github.com/ruby-oauth/oauth/releases/tag/v1.1.2
|
|
721
741
|
[1.1.1]: https://github.com/ruby-oauth/oauth/compare/v1.1.0...v1.1.1
|