In Ruby 1.9, String#size is not for bytesize but for character size. So, original (before compressed) file size is invalid in 1.9.
The patch is below.
Thanks in advance,
Anonymous
You seem to have CSS turned off. Please don't fill out this field.