aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/gzip_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add missing gzip footer check in ActiveSupport::Gzip.decompressDylan Thacker-Smith2017-02-241-0/+10
| | | | | | | | A gzip file has a checksum and length for the decompressed data in its footer which isn't checked by just calling Zlib::GzipReader#read. Calling Zlib::GzipReader#close must be called after reading to the end of the file causes this check to be done, which is done by Zlib::GzipReader.wrap after its block is called.
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* added compress options for gzipBeyond2013-02-101-0/+18
| | | | | | added test for compress options of gzip update changelog
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-4/+1
|
* Add missing requireSantiago Pastorino and Emilio Tagua2011-02-091-1/+2
|
* fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actually ↵Josh Kalderimis2011-02-091-0/+10
| | | | | | binary [#6386 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added a test for GzipDavid Heinemeier Hansson2008-06-021-0/+7