312 Commits

Author SHA1 Message Date
Marc-Andre Lafortune
0c613a441d Encapsulate reading in a new class 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
e0ba178869 Simplify 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
c9c0223726 Remove unused instance variable 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
eded5ed0e6 Simplify dealing with encoding 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
55ea8ad49d Create peek_chars to avoid writing to strpos/bytes_delivered 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
60924acde6 Small refactor of read_int -> get_int 2014-01-29 09:51:32 -05:00
Marc-Andre Lafortune
a47cd09dca Remove trailing spaces 2014-01-29 08:28:03 -05:00
Marc-Andre Lafortune
1f06b26451 Update gemfile lock 2014-01-29 08:28:02 -05:00
Stephen Sykes
8c3764ed6d bump version in gemspec 2013-12-23 22:00:14 +02:00
Stephen Sykes
cef507abf4 Merge pull request #25 from bandzoogle/master
Handle BMP with negative height, implement Travis-CI
2013-12-19 23:13:02 -08:00
Colin Mitchell
e0fa2a35e9 add rdoc to gemspec 2013-12-10 10:30:30 -05:00
Colin Mitchell
9f64e8c910 Ooops, restore old Rakefile content 2013-12-10 10:24:20 -05:00
Colin Mitchell
c48d9cb711 add rubygems source 2013-12-10 10:17:21 -05:00
Colin Mitchell
828052a375 travis setup 2013-12-10 10:14:23 -05:00
Colin Mitchell
606dd34690 handle negative height bitmaps and ensure that we read in bmp dimensions as signed ints 2013-12-10 10:06:27 -05:00
Stephen Sykes
dd396f5644 Bump gem version 2013-11-14 10:02:55 +02:00
Stephen Sykes
bad3608afd Use Addressable's inferred_port instead of port so that SSL works. Fixes #23 2013-11-14 10:01:32 +02:00
Stephen Sykes
eb398e46c7 New version number 2013-10-26 22:30:44 +03:00
Stephen Sykes
1083953313 More friendly/lenient version conditions for dependencies 2013-10-26 22:29:20 +03:00
Stephen Sykes
5a0399a8f5 Merge pull request #21 from longform/master
Switched to using Addressable for URI parsing
2013-10-26 12:24:06 -07:00
Benjamin Jackson
3a2eb31b06 Switched to using Addressable for URI parsing due to issues with hostnames that contain underscores.
Cf. http://www.cloudspace.com/blog/2009/05/26/replacing-rubys-uri-with-addressable/
2013-10-26 11:49:24 -04:00
Stephen Sykes
3c4fd7ac35 new gemspec for 1.5.2 2013-09-19 19:22:05 +03:00
Stephen Sykes
151a770b87 Fixes #20 Unable to handle permanent redirection, for redirects that have relative urls 2013-09-19 19:20:43 +03:00
Stephen Sykes
63b97f7ef0 Fixes infinite loop with certain jpegs, adds test. Fixes #19. 2013-09-17 18:26:52 +03:00
Stephen Sykes
6913762c93 Adds gitignore 2013-09-17 18:25:30 +03:00
Stephen Sykes
a81ee1442a adds licences to gemspec, and missing exif test image 1.5.0 2013-07-03 00:14:12 +03:00
Stephen Sykes
9069b53408 Merge branch 'master' of https://github.com/sdsykes/fastimage 2013-07-03 00:00:01 +03:00
Stephen Sykes
c0ccabf907 bump version 2013-07-02 23:58:59 +03:00
Stephen Sykes
5ecaac4179 Take account of the exif orientation flag for tiff and jpegs that have it 2013-07-02 23:58:25 +03:00
Stephen Sykes
8d30fb6af9 Update dates on license 2013-06-29 17:09:33 +03:00
Stephen Sykes
4576786cce Merge pull request #15 from sebastianludwig/master
IO object rewind
2013-05-24 10:03:40 -07:00
Sebastian Ludwig
d3c748a74d Fixed exception when getting the properties of IO objects twice (by rewinding when done) 2013-05-23 15:36:17 +02:00
Stephen Sykes
05a3443164 Adds some benchmark info to the readme 2013-05-09 11:59:03 +03:00
Stephen Sykes
ef48448ad0 Do not document poor man's fiber 2013-05-08 16:45:17 +03:00
Stephen Sykes
bed58919a8 Adds tiff support, including rewrite of data fetch much improved using fibers 2013-05-08 16:34:19 +03:00
Stephen Sykes
fd71a4e5ae Bump version to 1.3.1 2013-05-08 12:27:48 +03:00
Stephen Sykes
d7eb1251b2 Merge pull request #14 from speedmax/master
Fixes Ruby 2.0 Net::HTTP gzip related bug
2013-05-08 02:22:09 -07:00
Taylor Luk
181254e72e Work around Ruby 2.0 Net::HTTP gzip inflation bug by disableing gzip support see
- https://github.com/sparklemotion/mechanize/issues/275, 
 - https://bugs.ruby-lang.org/issues/7831 
 - http://ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html#label-Compression
2013-05-08 18:59:51 +10:00
Stephen Sykes
eef98070a2 Replace rdoc.info link becasue that site doesn't work well. Or at all really. Now using github pages. 2013-04-18 17:08:41 +03:00
Stephen Sykes
f272e22290 Adds Rakefile with task to generate documentation 2013-04-18 16:00:39 +03:00
Stephen Sykes
60029518e1 Revised url for pennysmalls reference, posterous is shutting down shortly. 2013-04-18 15:55:01 +03:00
Stephen Sykes
e3dc5f83eb Merge pull request #13 from felixbuenemann/improve-readme
Improve README and fix license filename typo
2013-04-18 05:44:57 -07:00
Stephen Sykes
4de45f60a6 Remove .rbenv-version, shouldn't be here 2013-04-18 15:42:43 +03:00
Stephen Sykes
4045f34077 Merge pull request #12 from felixbuenemann/fix-encoding-problem
Force input stream binary encoding, fixes #11
2013-04-18 05:35:52 -07:00
Felix Bünemann
4a1c14011d Improve README and fix license filename typo
* Removed duplicate plaintext README
* Add syntax highlighting for ruby code
* Add proper link titles
* Fix spec command
* Don't tell user to use sudo (it's very system specific)
* Fix license filename typo (licence vs. license)
* Add license file to gemspec
2013-04-18 02:18:58 +02: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
e6c81b1576 Update readmes with info about proxy, and improvements in examples 2013-03-19 10:34:44 +02:00
Stephen Sykes
3ba2b6b5c9 bump version 2013-03-19 10:20:11 +02:00
Stephen Sykes
93a8b313c2 Use proxy if it exists 2013-03-19 10:19:23 +02:00
Stephen Sykes
10bbbee0b9 bump version, fix file list 2013-03-07 09:35:15 +02:00