Fix (at least partially) the restore_times and restore_permissions options to Zip::File.new#413
Previously, neither option did anything, regardless of what it was set to. We have therefore defaulted them to false to preserve the current behavior, for the time being. If you have explicitly set either to true, it will now have an effect.
Fix handling of UniversalTime (mtime, atime, ctime) fields. #421
Previously, Zip::File did not pass the options to Zip::Entry in some cases. #423
Note that restore_times in this release does nothing on Windows and only restores mtime, not atime or ctime.
Allow Zip::File.open to take an options hash like Zip::File.new#418
Always print warnings with warn, instead of a mix of puts and warn#416
Create temporary files in the system temporary directory instead of the directory of the zip file #411
Default the validate_entry_sizes option to true, so that callers can trust an entry's reported size when using extract#403
This option defaulted to false in 1.3.0 for backward compatibility, but it now defaults to true. If you are using an older version of ruby and can't yet upgrade to 2.x, you can still use 1.3.0 and set the option to true.
Tooling / Documentation
Remove test files from the gem to avoid problems with antivirus detections on the test files #405 / #384
Add validate_entry_sizes option so that callers can trust an entry's reported size when using extract#403
This option defaults to false for backward compatibility in this release, but you are strongly encouraged to set it to true. It will default to true in rubyzip 2.0.
A "dummy" release to warn about breaking changes coming in version 3.0. This updated version uses the Gem post_install_message instead of printing to STDERR.
2.3.1 (2021-07-03)
A "dummy" release to warn about breaking changes coming in version 3.0.
Fix (at least partially) the restore_times and restore_permissions options to Zip::File.new#413
Previously, neither option did anything, regardless of what it was set to. We have therefore defaulted them to false to preserve the current behavior, for the time being. If you have explicitly set either to true, it will now have an effect.
Fix handling of UniversalTime (mtime, atime, ctime) fields. #421
Previously, Zip::File did not pass the options to Zip::Entry in some cases. #423
Note that restore_times in this release does nothing on Windows and only restores mtime, not atime or ctime.
Allow Zip::File.open to take an options hash like Zip::File.new#418
Always print warnings with warn, instead of a mix of puts and warn#416
Create temporary files in the system temporary directory instead of the directory of the zip file #411
Default the validate_entry_sizes option to true, so that callers can trust an entry's reported size when using extract#403
This option defaulted to false in 1.3.0 for backward compatibility, but it now defaults to true. If you are using an older version of ruby and can't yet upgrade to 2.x, you can still use 1.3.0 and set the option to true.
Tooling / Documentation
Remove test files from the gem to avoid problems with antivirus detections on the test files #405 / #384
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cycompuse/github-slideshow/network/alerts).
Bumps rubyzip from 1.2.2 to 2.3.2.
Release notes
Sourced from rubyzip's releases.
... (truncated)
Changelog
Sourced from rubyzip's changelog.
... (truncated)
Commits
2f1c1ea
Move to using a post install message for 3.0 warning.16de339
Print banner text re v3.0.0 whenzip
is required.84d7a66
Bump version number and Changelog.3bc55a5
Merge pull request #443 from rubyzip/v2-3-069186f6
Bump version to 2.3.0516941b
Update changelog for #439 and #440a64a147
Bump rake version (development dependency)4c789c2
Remove unused constant from #439fabacf1
Merge pull request #440 from hainesr/rubocop-namesb231b28
Merge pull request #439 from henkeinfo/binary-outstream-bufferDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cycompuse/github-slideshow/network/alerts).