23 Commits

Author SHA1 Message Date
Stephen Sykes
60029518e1 Revised url for pennysmalls reference, posterous is shutting down shortly. 2013-04-18 15:55:01 +03:00
Felix Bünemann
99ea9a6273 Force input stream binary encoding
This fixes #11 where fakeweb returns non-binary encoding.
I've also replaced a clunky if/else with a more elegant case
statement.
2013-04-18 00:24:56 +02:00
Stephen Sykes
93a8b313c2 Use proxy if it exists 2013-03-19 10:19:23 +02:00
Stephen Sykes
a25363e5bb Correctly break out of http fetches to ensure fast return 2013-03-07 09:26:29 +02:00
Stephen Sykes
f2f64f8933 Force encoding as needed. Works correctly in ruby 1.9.3 2012-03-22 21:50:31 +02:00
Stephen Sykes
4cb393643b Fix coding for proper operation on later rubies 2012-03-22 19:43:53 +02:00
Stephen Sykes
ef54dee44f Adds documentation for changes, bump version to 1.2.10. Fixes #4 2012-03-22 18:00:45 +02:00
Stephen Sykes
34ce278d61 Handle up to 4 redirects in http fetch code, tests for it 2012-03-22 17:56:26 +02:00
Stephen Sykes
cc7ac3f084 Fixes link to jpeg code on pennysmalls 2012-03-22 16:55:45 +02:00
Stephen Sykes
d007cb4df6 Adds reading from an IO object 2011-09-30 10:43:31 +03:00
Stephen Sykes
ab2efbf2ff Fix for bug where 0xff is followed by second 0xff in jpg 2010-11-11 01:29:22 +02:00
Stephen Sykes
7fb2e5787d Fix for files in local directories that have spaces in the names 2010-07-14 12:51:00 +03:00
sdsykes
7342bc58f0 Add changes omitted in last commit 2010-05-08 18:01:38 +03:00
sdsykes
0a8b9a7f61 Catch HTTPBadResponse and EOFError - closes issue#1 2010-04-01 09:40:19 +03:00
sdsykes
01d2005b4b Work around for ruby 1.8.7p248 bug in net/http 2010-02-23 10:46:58 +01:00
sdsykes
289c133325 Fix for ruby 1.9 2010-02-16 11:28:22 +02:00
sdsykes
bef531fb33 Change symbol for jpeg to :jpeg rather than :jpg so it can be used in a mime type string. 2009-09-16 17:49:31 +03:00
sdsykes
1ff23ae490 Fix bug causing exception when fetching type when raise_on_failure is set
Mod tests to catch that code path
2009-06-25 17:02:47 +03:00
sdsykes
c3ae53bc78 Documentation updates.
Minor refactoring.
2009-06-25 13:15:46 +03:00
sdsykes
da31ecf44d Add support for local files through open-uri
Some refactoring
Added tests for local files
Bump version to 1.1
2009-06-25 13:04:07 +03:00
sdsykes
a3291e48d6 Improve documentation 2009-06-11 10:34:35 +03:00
sdsykes
50ef97c22d Mods to fix fetching using https 2009-06-11 00:06:02 +03:00
sdsykes
f582a41904 First version 2009-06-10 18:38:27 +03:00