Merge pull request #428 from rubyzip/v2-1-0

Bump version to 2.1.0
This commit is contained in:
John Lees-Miller 2020-01-25 19:44:57 +00:00 committed by GitHub
commit 0b791046d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
# X.X.X (Next)
# 2.1.0 (2020-01-25)
- Fix (at least partially) the `restore_times` and `restore_permissions` options to `Zip::File.new` [#413](https://github.com/rubyzip/rubyzip/pull/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](https://github.com/rubyzip/rubyzip/pull/421)
- Fix handling of UniversalTime (`mtime`, `atime`, `ctime`) fields. [#421](https://github.com/rubyzip/rubyzip/pull/421)
- Previously, `Zip::File` did not pass the options to `Zip::Entry` in some cases. [#423](https://github.com/rubyzip/rubyzip/pull/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](https://github.com/rubyzip/rubyzip/pull/418)

View File

@ -1,3 +1,3 @@
module Zip
VERSION = '2.0.0'
VERSION = '2.1.0'
end