-
Notifications
You must be signed in to change notification settings - Fork 314
Error in example_recursive.rb #260
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
Comments
+1 It damaged xlsx files when zipping them. I replaced the |
Thanks for catching and confirming. Could you submit a PR? |
pol0nium
added a commit
to pol0nium/rubyzip
that referenced
this issue
Jan 20, 2016
damaging them. Ref : rubyzip#260
pol0nium
added a commit
to pol0nium/rubyzip
that referenced
this issue
Jan 20, 2016
Replacing 'puts' with 'write' as 'puts' was adding extra lines in files, damaging them. Ref : rubyzip#260
Done. This may be a fix for https://github.com/rubyzip/rubyzip#modify-docx-file-with-rubyzip too ? |
The example in the README.md still uses puts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
rubyzip/samples/example_recursive.rb
(rubyzip/samples/example_recursive.rb
Line 43 in 05916bf
f.write
. 'Puts' puts extra line in files, damaging them.The text was updated successfully, but these errors were encountered: