312 Commits

Author SHA1 Message Date
Stephen Sykes
87cc1e7bdb Merge pull request #68 from michieldewit/largest_icon
For ICO files, return the largest size (by number of pixels) rather than the size of the first icon
2016-04-24 20:10:29 +03:00
Michiel de Wit
2453c60d6e For ICO files, return the largest size (by number of pixels) rather than the size of the first icon 2016-04-18 21:08:26 +02:00
Anthony C. Vizza
49bf0c0625 Enclose README code phrases in Textile code markup
Originally, this update was to prevent Textile from changing single
quotes into directional quotes in a code snippet under the Features
header.

The snippet pertains to setting additional HTTP headers:

    :http_header => {'User-Agent' => 'Fake Browser'}

To maintain consistency, all code phrases found under the Features
header were wrapped in @ symbols.

A couple minor typos were also corrected.
2016-04-13 19:47:12 -05:00
Stephen Sykes
c5cf98f54e Remove strict addressable requirement. Fixes #65 v2.0.0 2016-03-24 19:34:11 +02:00
Stephen Sykes
64b624c538 Downloads info image 2016-03-24 19:28:18 +02:00
Stephen Sykes
67d2368176 Drop dead link 2016-03-24 18:33:44 +02:00
Stephen Sykes
cc28a5b248 Use earlier version of rake to fix 1.9.2 test 2016-03-24 18:28:53 +02:00
Stephen Sykes
e54e1e0b23 Remove support for 1.8.7, bump major version 2016-03-24 18:12:48 +02:00
Stephen Sykes
e53d427455 Remove contributors section
Check github’s various tools to know contribs, I don’t want to maintain
the list.
2016-03-24 18:11:49 +02:00
Stephen Sykes
a8826239e8 Whitespace fix 2016-03-24 18:10:46 +02:00
Stephen Sykes
9ab057cb7a Merge pull request #66 from janko-m/always-rewind-io
Always rewind the given IO
2016-03-24 17:39:05 +02:00
Janko Marohnić
04d1030756 Always rewind the given IO
When an error occured when extracting dimensions, rewinding would be
skipped and the code would jump straight to "rescue" statements. We want
that the IO is always rewinded, even in case of errors.

Note that this doesn't affect the return value of the method, because
the return value of a method-level "ensure" is always ignored by Ruby.
2016-03-08 21:09:42 +07:00
Stephen Sykes
9c7ada1a41 Merge pull request #64 from aried3r/patch-1
Add Ruby 2.2.4, 2.3.0 to Travis. Update to 2.1.8.
2016-02-15 22:34:48 +02:00
Anton Rieder
fb051f6b2f Add Ruby 2.2.4, 2.3.0 to Travis. Update to 2.1.8.
Also use containerized builds for Travis CI.
2016-02-15 17:06:19 +01:00
Stephen Sykes
094a94d581 Rake wasn't broken, reverts prev commit. Travis has issues. 2016-02-15 15:22:45 +02:00
Stephen Sykes
670fd3f2e3 Rake 10.5 seems to be broken on 1.8.7 2016-02-14 00:45:08 +02:00
Stephen Sykes
717c15d776 Addressable 2.4.0 broke support for ruby 1.8.7 2016-02-14 00:22:59 +02:00
Stephen Sykes
5320815974 Update gemspec, remove tests from gem 2016-02-13 23:50:20 +02:00
Stephen Sykes
f3ee9eeace Adds orientation reader and tests 2016-02-13 23:47:11 +02:00
Stephen Sykes
d3982fa009 Bump patch version v1.8.1 2015-12-02 10:41:31 +02:00
Stephen Sykes
ca29078b07 Merge pull request #62 from jvenezia/master
raise UnknownImageType when file is non-svg xml
2015-12-02 10:30:14 +02:00
Jeremy Venezia
4c1905fd66 raise UnknownImageType when file is non-svg xml 2015-12-01 17:49:05 +01:00
Stephen Sykes
f77a2b80bb Add objC port, fixes #60 2015-11-27 12:21:23 +02:00
Stephen Sykes
5c64fc9d11 Add node version of fastimage to the readme 2015-11-16 14:59:43 +02:00
Stephen Sykes
4a83842950 Bump minor version 2015-11-13 11:07:48 +02:00
Stephen Sykes
3c0c290ac8 Fix grammar erros, add info about headers to rdoc 2015-11-13 11:07:29 +02:00
Stephen Sykes
05457f9e89 Merge pull request #58 from cassioscabral/patch-1
Update readme with snippet for adding Gem into Gemfile
2015-11-13 11:00:15 +02:00
Stephen Sykes
4c83a818a5 Merge pull request #57 from andfx/user-agent
Support additional HTTP headers
2015-11-13 10:59:07 +02:00
Cassio Cabral
b550bd5615 Update readme with snippet for adding Gem into Gemfile
It explicitly shows how to add the gem to the Gemfile.
2015-11-12 18:12:28 -03:00
andfx
ad567ff0da Support additional HTTP headers 2015-11-09 21:10:16 +01:00
Stephen Sykes
b7bc775f4f Bump gemspec 2015-05-12 14:43:12 +03:00
Stephen Sykes
308e20cf45 More doc, set content_length earlier 2015-05-12 14:40:53 +03:00
Stephen Sykes
e4a5412d87 Doc updates 2015-05-12 14:33:01 +03:00
Stephen Sykes
013cd81ddb Merge pull request #52 from lulalala/file_size
Add reader for request header content-length
2015-05-12 14:25:46 +03:00
Stephen Sykes
f27a0e5943 Merge pull request #50 from kikihakiem/master
Add support for SVG
2015-05-12 13:45:08 +03:00
lulalala
fe5b4d7f04 Add reader for request header content-length 2015-05-11 20:05:14 +08:00
Kiki Luqman Hakiem
035ebe3ed6 Add read_string_int method to StreamUtil 2015-04-30 21:45:46 +07:00
Kiki Luqman Hakiem
39d9dfbf05 Handle partial viewport attribute 2015-04-26 03:14:04 +07:00
Kiki Luqman Hakiem
605bdc9452 Add support for SVG 2015-04-25 03:47:28 +07:00
Stephen Sykes
88355932a9 Adds link to PHP version 2015-03-19 20:20:54 +02:00
Stephen Sykes
3b84f548b1 v1.6.8 v1.6.8 2015-03-05 21:27:06 +02:00
Stephen Sykes
36464d3bbc Use old syntax so old rubies can pass tests 2015-03-05 21:23:40 +02:00
Stephen Sykes
1511585281 Doc proxy argument 2015-03-05 21:21:20 +02:00
Stephen Sykes
4c20f466bb Merge branch 'forresty-proxy-option' 2015-03-05 21:14:19 +02:00
Stephen Sykes
034f5446df Remove Gemfile.lock from repo 2015-03-05 21:13:56 +02:00
Forrest Ye
5ebae8ea3b add options[:proxy] as a per request proxy config 2015-03-04 15:35:34 +08:00
Forrest Ye
01af8e520e clean up whitespace in test.rb 2015-03-04 15:31:11 +08:00
Forrest Ye
7547404945 add test-unit gem as dev dependency 2015-03-04 15:30:45 +08:00
Forrest Ye
8f9a740367 clean up whitespace 2015-03-04 15:21:32 +08:00
Stephen Sykes
1c1eb99395 Fix Gemfile.lock for v1.6.7 2015-03-01 08:55:38 +02:00