rubyzip/test
Robert Haines deca4d5aeb Fix de facto regression for input streams.
A close reading of the ZIP spec insists that if bit 3 of the GP flags is set
then the archive cannot be read via `Zip::InputStream`. But in most cases
the correct information is present to be able to do so, both safely and
reliably, and v2.4 does allow this.

This commit ensures that behaviour is present in v3.0.
2025-02-08 16:51:30 +00:00
..
crypto Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
data Fix reading zip64 files with max length file comment. 2022-01-17 18:02:39 +00:00
filesystem Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
ioextras Fix Style/StringConcatenation cop. 2021-06-18 16:10:57 +01:00
samples Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
basic_zip_file_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
bzip2_support_test.rb Improve the message for CompressionMethodError. 2022-08-14 22:23:51 +01:00
case_sensitivity_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
central_directory_entry_test.rb Test that a corrupted cdir entry is caught. 2021-06-18 12:08:31 +01:00
central_directory_test.rb Only use the Zip64 CDIR end locator if needed. 2023-01-03 20:19:40 +00:00
constants_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
decompressor_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
deflater_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
dos_time_test.rb Add `DOSTime#absolute_time?`. 2024-04-08 18:37:08 +01:00
encryption_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
entry_set_test.rb Remove `Entry#dirty=` as 'dirtyness' is now monitored internally. 2022-06-20 17:18:20 +01:00
entry_test.rb Add `Entry#absolute_time?`. 2024-03-07 21:31:24 +00:00
extra_field_test.rb Fix reading unknown extra fields. 2021-11-19 19:53:38 +00:00
extra_field_unknown_test.rb Fix reading unknown extra fields. 2021-11-19 19:53:38 +00:00
extra_field_ut_test.rb Fix (most) Style/MutableConstant cop errors. 2021-05-25 21:50:06 +01:00
file_extract_directory_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
file_extract_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
file_options_test.rb Ensure that entries can be extracted safely without path traversal. 2023-04-14 11:15:24 +01:00
file_permissions_test.rb Use named parameters for `File::new`. 2021-06-27 10:20:11 +01:00
file_split_test.rb Fix de facto regression for input streams. 2025-02-08 16:51:30 +00:00
file_test.rb Fix `File#write_buffer` to always return the given `io` 2024-04-09 10:10:47 +01:00
gentestfiles.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
inflater_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
input_stream_test.rb Add compatibility test for Zip::InputStream#read(0) 2023-04-14 11:25:22 +01:00
local_entry_test.rb Prevent unnecessary Zip64 data being stored. 2023-01-03 20:19:40 +00:00
output_stream_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
pass_thru_compressor_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
pass_thru_decompressor_test.rb Read/write test files in binay mode (for Windows compatibility) 2021-06-06 14:44:20 +01:00
path_traversal_test.rb Ensure that entries can be extracted safely without path traversal. 2023-04-14 11:15:24 +01:00
settings_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
stored_support_test.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
test_helper.rb Update minimum ruby version to 3.0. 2024-03-01 22:14:48 +00:00
unicode_file_names_and_comments_test.rb Use named parameters for `File::new`. 2021-06-27 10:20:11 +01:00
version_test.rb Add a test to ensure correct version number format. 2025-02-01 16:31:20 +00:00
zip64_full_test.rb Prevent unnecessary Zip64 data being stored. 2023-01-03 20:19:40 +00:00
zip64_support_test.rb Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00