Skip to content

Conversation

@hainesr
Copy link
Member

@hainesr hainesr commented Oct 19, 2019

I realized when working up #413 to fix #395 that this was missing, and would be much nicer to have than using Zip::File.new for most uses.

@coveralls
Copy link

coveralls commented Oct 19, 2019

Coverage Status

Coverage remained the same at 95.443% when pulling 3fea995 on hainesr:open-options into 34d2074 on rubyzip:master.

Copy link
Member

@jdleesmiller jdleesmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Nice.

@jdleesmiller jdleesmiller merged commit 056c00c into rubyzip:master Oct 19, 2019
@hainesr hainesr deleted the open-options branch October 19, 2019 16:49
jdleesmiller added a commit that referenced this pull request Oct 19, 2019
This was referenced Mar 11, 2021
chadlwilson added a commit to chadlwilson/warbler that referenced this pull request Oct 28, 2025
The only change with our rubyzip 3 upgrade was to use keyword arg `create: true` rather than positional `create = true`. Support for this was added in rubyzip 2.1.0 (https://github.com/rubyzip/rubyzip/releases/tag/v2.1.0) via rubyzip/rubyzip#418 so we don't need such a strict requirement on 3.x. The other breaking changes in rubyzip 3.0 don't appear to be important for warbler: https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x
chadlwilson added a commit to chadlwilson/warbler that referenced this pull request Oct 28, 2025
The only change with our rubyzip 3 upgrade was to use keyword arg `create: true` rather than positional `create = true`. Support for this was added in rubyzip 2.1.0 (https://github.com/rubyzip/rubyzip/releases/tag/v2.1.0) via rubyzip/rubyzip#418 so we don't need such a strict requirement on 3.x. The other breaking changes in rubyzip 3.0 don't appear to be important for warbler: https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Options not working in File class

3 participants