Commit graph

20 commits

Author SHA1 Message Date
Erik Michaels-Ober
7aec6fe2ba Trust the load path 2011-05-06 12:18:55 -07:00
Erik Michaels-Ober
ac7793ef74 Bump version to 0.1.4 2011-02-03 13:04:50 -05:00
Erik Michaels-Ober
db07b63469 Bump version to 0.1.3 2010-11-30 08:56:37 -08:00
Erik Michaels-Ober
3ddda07d91 Make compatible with Ruby versions < 1.9 2010-11-30 08:54:49 -08:00
Erik Michaels-Ober
3fb8d858ff Organize SimpleOAuth classes and modules into separate files so they can be required separately 2010-11-30 08:51:54 -08:00
Erik Michaels-Ober
9b30fbc283 Bump version to 0.1.2 2010-11-15 08:31:44 -08:00
Erik Michaels-Ober
a39ceda4ba Fix the reserved characters regex to be non-variant by KCODE 2010-11-15 08:31:03 -08:00
Mike Emery
c775850614 making signed attributes public so that it can be used with 3rd party http request libraries to use oauth through query string 2010-11-15 08:11:11 -08:00
laserlemon
23def39599 Bump version. 2010-10-13 10:09:12 -04:00
laserlemon
126b807e2d Rearranged method definitions. 2010-10-13 09:37:22 -04:00
laserlemon
b413083e43 Implement proper RSA-SHA1 signing.
Need to find an OAuth service provider supporting the RSA-SHA1 signature method for verification.
2010-10-13 09:25:11 -04:00
laserlemon
cc7510f6a5 Updated parameter and attribute sorting during normalization to behave consistently across Ruby versions 1.8.7 and 1.9.2. 2010-10-13 08:18:19 -04:00
laserlemon
090f1de829 Header parsing and validation tests pass.
Private key behaves when nil and signature is never included in normalized parameters.
2010-10-11 23:54:37 -04:00
laserlemon
f61e2750dc Add the ability to parse string OAuth headers into SimpleOAuth::Header options and to validate those headers against consumer and token secrets. 2010-10-11 23:52:56 -04:00
laserlemon
1f519dd45a Add the SimpleOAuth::Version module. 2010-10-11 22:14:36 -04:00
laserlemon
c8790cf98e Test HMAC-SHA1 signature generation against real-world, accepted signatures.
Also, stop memoizing the to_s and url instance methods.
2010-10-11 17:36:20 -04:00
laserlemon
bd1153df5d Pass query parameter tests, changing the url_params method to return an array. 2010-10-11 15:52:24 -04:00
laserlemon
501f7d8cde Properly normalize the parsed URI upon header initialization. 2010-10-11 14:49:58 -04:00
laserlemon
902fa3ed8c Add initial OAuth header generation functionality. 2010-10-11 13:52:58 -04:00
laserlemon
a603697fa8 Initial import. 2010-10-11 13:45:52 -04:00