Commit graph

16 commits

Author SHA1 Message Date
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
dd11ac300b Test generation of the secret used for generating the OAuth signature. 2010-10-11 16:32:58 -04:00
laserlemon
6e1f58cb75 Test the combination of HTTP method, URL and normalized parameters into the signature base string. 2010-10-11 16:26:34 -04:00
laserlemon
98e23c185b Test the normalized request parameter string. 2010-10-11 16:18:45 -04:00
laserlemon
719a949695 Test the combination of attributes, params and URL params into an array of signature params. 2010-10-11 16:04:12 -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
83d3a6f2f6 Test URL query parameter parsing. 2010-10-11 15:52:00 -04:00
laserlemon
3286cffaa3 Add URL encoding tests. 2010-10-11 15:27:49 -04:00
laserlemon
e1ecd99f42 Test whether OAuth header attributes are parsed and re-keyed correctly. 2010-10-11 15:10:05 -04:00
laserlemon
501f7d8cde Properly normalize the parsed URI upon header initialization. 2010-10-11 14:49:58 -04:00
laserlemon
fc2fddc29b Add header initialization tests. 2010-10-11 14:49:36 -04:00
laserlemon
902fa3ed8c Add initial OAuth header generation functionality. 2010-10-11 13:52:58 -04:00
laserlemon
f4c5b632b8 Update creator name in license file. 2010-10-11 13:52:28 -04:00
laserlemon
62fb3f590c Remove install and uninstall hook files. 2010-10-11 13:51:41 -04:00
laserlemon
8be3bdc76e Populate the init.rb file for use as a Rails plugin. 2010-10-11 13:50:58 -04:00
laserlemon
a603697fa8 Initial import. 2010-10-11 13:45:52 -04:00