Skip to content

Commit

Permalink
Merge pull request #428 from rubyzip/v2-1-0
Browse files Browse the repository at this point in the history
Bump version to 2.1.0
  • Loading branch information
jdleesmiller committed Jan 25, 2020
2 parents 76cf229 + f6639f9 commit 0b79104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Changelog.md
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/zip/version.rb
@@ -1,3 +1,3 @@
module Zip
VERSION = '2.0.0'
VERSION = '2.1.0'
end

0 comments on commit 0b79104

Please sign in to comment.