Adds documentation for changes, bump version to 1.2.10. Fixes #4

This commit is contained in:
Stephen Sykes 2012-03-22 18:00:45 +02:00
parent 34ce278d61
commit ef54dee44f
5 changed files with 11 additions and 2 deletions

5
README
View File

@ -16,6 +16,11 @@ You only need supply the uri, and FastImage will do the rest.
Fastimage can also read local (and other) files, and uses the open-uri library to do so.
And new in v1.2.9, FastImage will automatically read from any object that responds to :read - for
instance an IO object if that is passed instead of a URI.
New in v1.2.10 FastImage will follow up to 4 HTTP redirects to get the image.
Examples
require 'fastimage'

View File

@ -19,6 +19,8 @@ Fastimage can also read local (and other) files, and uses the open-uri library t
And new in v1.2.9, FastImage will automatically read from any object that responds to :read - for
instance an IO object if that is passed instead of a URI.
New in v1.2.10 FastImage will follow up to 4 HTTP redirects to get the image.
h2. Examples
<pre>

View File

@ -1,5 +1,5 @@
---
:patch: 9
:patch: 10
:major: 1
:build:
:minor: 2

View File

@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{fastimage}
s.version = "1.2.9"
s.version = "1.2.10"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Stephen Sykes"]

View File

@ -16,6 +16,8 @@
# New in v1.2.9, FastImage will automatically read from any object that responds to :read - for
# instance an IO object if that is passed instead of a URI.
#
# New in v1.2.10 FastImage will follow up to 4 HTTP redirects to get the image.
#
# === Examples
# require 'fastimage'
#