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