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

Allow Roo::Excelx to open streams, correctly this time #222

Merged
merged 1 commit into from
Jun 3, 2015

Conversation

afn
Copy link
Contributor

@afn afn commented Jun 2, 2015

It turns out that the approach I used in #209, using Zip::InputStream,
doesn't correctly handle certain files, specifically ones created by Numbers
and Google Spreadsheets. Using Zip::CentralDirectory instead handles these
files correctly.

Excel files exported from Google, for example, aren't supported.
Using Zip::CentralDirectory instead seems to do the trick.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 93.91% when pulling 2382b3c on amitree:correctly_handle_xlsx_streams into ae94acc on roo-rb:master.

simonoff added a commit that referenced this pull request Jun 3, 2015
Allow Roo::Excelx to open streams, correctly this time
@simonoff simonoff merged commit 16dcb43 into roo-rb:master Jun 3, 2015
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.

3 participants