Pavel Lobashov
d2d8590ef8
fix rubocop Style/Blocks cop
2015-03-21 11:10:37 +03:00
Pavel.Lobashov
7ef15bd201
fix rubocop Lint/UselessAssignment cop
2015-03-20 23:13:38 +03:00
Alexander Simonov
002959f2e2
Add tests from #182 for testing tempfile as IO for OutputStream::write_buffer
2015-02-02 23:40:52 +02:00
Robert Haines
4b943fb263
Remove unused variable 'comment' in file_test.rb.
2014-07-23 12:59:14 +03:00
Robert Haines
9e642acdc9
Don't use deprecated File.exists? in tests.
2014-07-23 12:59:14 +03:00
Robert Haines
8100cf69a0
Clean up okToDeleteMoved.txt generated file.
...
Now force file generation into the test/data/generated directory where other
such files go so tests are cleaned up properly.
2014-07-23 12:59:13 +03:00
Robert Haines
9785b66a43
Update tests to use the minitest 5.x API.
...
MiniTest::Unit::TestCase -> MiniTest::Test
MiniTest::Unit.after_tests -> MiniTest.after_run
2014-07-23 12:59:13 +03:00
Alexander Simonov
2fcdc3a3ea
Revert "Return created zip file from Zip::File.open when supplied a block"
...
This reverts commit e3029d0b10
.
2014-07-02 18:15:54 +03:00
Tyler Pickett
e3029d0b10
Return created zip file from Zip::File.open when supplied a block
...
This change is to match ruby zip’s behavior to core’s IO.open when
supplied a block.
2014-06-17 10:08:26 -06:00
Alexander Simonov
1173397321
Merge pull request #150 from iangreenleaf/tempfile_cleanup
...
Clean up tempfiles from output stream
2014-04-06 12:32:10 +03:00
Ian Young
37ed325783
Clean up tempfiles from output stream, fixes #57
2014-04-04 14:32:11 -07:00
Ian Young
3e28147525
Remove line doing random copy
2014-04-04 14:03:58 -07:00
Jeremy Stanley
9e144061b9
fix modifying existing zipfile with zip64 enabled
...
The local header size computed from the central directory entry
is incorrect due to the Zip64Placeholder in the local entry.
This caused us to seek to the wrong location when copying an
unchanged compressed data stream.
(The same problem could occur when modifying any zip file where
the local header and central directory header contain different
variable-sized fields, so it's a good idea not to trust the CD
to tell us the local header size in any case.)
2014-03-12 15:57:52 -06:00
Sam Rawlins
a37e13c6f0
File.exists? -> File.exist?
2014-02-06 15:00:38 -08:00
Alexander Simonov
ec81c30382
Fix for #126 and #127
2014-01-24 11:37:38 +02:00
Alexander Simonov
541ff9657f
Move file generation to one folder
2014-01-20 23:42:27 +02:00
Alexander Simonov
58f08ca0e1
Split all tests to small files. Move to minitest
2014-01-20 23:31:06 +02:00