Robert Haines
f033ae760d
Use named parameters for `File::new`.
...
This is a breaking change, but now is the time to do this as we've
already done the same for `Entry::new`.
2021-06-27 10:20:11 +01:00
Robert Haines
1777a3ff53
Make sure `::Zip.force_entry_names_encoding` is reset.
...
It was the one option left out of `::Zip.reset!` for some reason.
2021-06-01 22:38:43 +01:00
Robert Haines
e10badf68e
Fix Style/FrozenStringLiteralComment cop.
2021-05-25 21:24:50 +01:00
Robert Haines
5201cd2ea3
Make sure tests that change Zip defaults reset properly.
2020-08-31 17:48:08 +01:00
Robert Haines
68259ed7b0
Fix Style/Encoding cop.
2020-02-15 16:26:32 +00:00
Alexey Sorokin
a9f020c0a0
add option to force entry names encoding
...
if you need to work with existing zip files which contain names with
non-ascii characters then you can specify this option.
Without this option find_entry will not work properly
2017-10-18 18:20:56 +03:00
Pavel Lobashov
b93ef1266f
fix rubocop Style/StringLiterals cop
2015-03-21 11:27:44 +03:00
Pavel Lobashov
b9a757e045
fix rubocop Style/EmptyLinesAroundClassBody cop
2015-03-21 11:21:26 +03:00
Alexander Simonov
d460b81745
Fix #171
2014-07-23 12:59:29 +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
Robert Haines
d01b0cde12
Rename the unicode tests file so it actually runs.
2014-06-21 13:47:03 +01:00