Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zip::File.add_stored() to add uncompressed files. #366

Merged
merged 1 commit into from Sep 15, 2019

Conversation

hainesr
Copy link
Member

@hainesr hainesr commented May 20, 2018

Adding uncompressed files to a zip archive can be overly complex, so this convenience method makes it easier. Examples of the confusion caused by the current situation are in #286 and sul-dlss/preservation_catalog#737.

@coveralls
Copy link

coveralls commented May 20, 2018

Coverage Status

Coverage increased (+0.0003%) to 99.836% when pulling ecb2776 on hainesr:add-stored into 09bb946 on rubyzip:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.9%) to 92.669% when pulling 0346e81 on hainesr:add-stored into 8887b70 on rubyzip:master.

Adding uncompressed files to a zip archive can be overly complex, so
this convenience method makes it easier.
@hainesr
Copy link
Member Author

hainesr commented Sep 14, 2019

I've rebased this onto head and all checks now pass. Do you think it's worth a look @jdleesmiller?

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.

This does seem to come up fairly frequently, so I think it is a worthwhile addition to the API. 👍

@jdleesmiller jdleesmiller merged commit 6619bf3 into rubyzip:master Sep 15, 2019
@hainesr hainesr deleted the add-stored branch September 15, 2019 14:20
This was referenced Mar 14, 2021
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.

None yet

4 participants