Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Tempfile and IO bug fix #2

Merged
merged 1 commit into from
Feb 25, 2012
Merged

Support for Tempfile and IO bug fix #2

merged 1 commit into from
Feb 25, 2012

Conversation

kanevski
Copy link

This adds support for Tempfile.

Also fixes bug when ImageSize is run on the same IO stream two consecutive times.

Cheers!

@toy toy merged commit 1e22735 into toy:master Feb 25, 2012
@toy
Copy link
Owner

toy commented Feb 25, 2012

In reality for ruby 1.8 specs would not pass only for Tempfile because of you did not rewind just filled Tempfile in specs. Though IO::dup in ruby 1.8 is broken (for example look here http://bugs.ruby-lang.org/issues/2774). So I just tried to rewrite all a bit. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants