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

Improve the xlsx cell parsing #324

Closed
wants to merge 2 commits into from

Conversation

jalkoby
Copy link

@jalkoby jalkoby commented Jul 21, 2016

In case if all children are unknown => return an empty cell
If a cell has a nested styles(http://officeopenxml.com/SSstyles.php) -> collect "t" children and return the total string

PS. spec failed on MacOs 10.11 + Ruby 2.2.4 without default_external "ArgumentError: invalid byte sequence in US-ASCII"

@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage decreased (-0.4%) to 93.938% when pulling 5c70ad4 on jalkoby:fix_convertation_of_cell into 1cbfe72 on roo-rb:master.

@jalkoby jalkoby changed the title Return an empty excelx cell if a children are unknown Improve the xlsx cell parsing Jul 21, 2016
@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage decreased (-0.4%) to 93.938% when pulling c5290e7 on jalkoby:fix_convertation_of_cell into 1cbfe72 on roo-rb:master.

@stevendaniels
Copy link
Contributor

I appreciate the PR. The Travis failure was caused by dependency gems requiring ruby 2.2. I've created #331 based on this PR and "fixed" the Travis failures.

@jalkoby jalkoby deleted the fix_convertation_of_cell branch August 30, 2016 17:26
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Oct 15, 2016
## [2.5.1] 2016-08-26
### Fixed
- Fixed NameError. [337](roo-rb/roo#337)

## [2.5.0] 2016-08-21
### Fixed
- Remove tempdirs via finalizers on garbage collection. This cleans them up in all known cases, rather than just when the #close method is called. The #close method can be used to cleanup early. [329](roo-rb/roo#329)
- Fixed README.md typo [318](roo-rb/roo#318)
- Parse sheets in ODS files once to improve performance [320](roo-rb/roo#320)
- Fix some Cell conversion issues [324](roo-rb/roo#324) and [331](roo-rb/roo#331)
- Improved memory performance [332](roo-rb/roo#332)
- Added `no_hyperlinks` option to improve streamig performance [319](roo-rb/roo#319) and [333](roo-rb/roo#333)

### Deprecations
- Roo::Base::TEMP_PREFIX should be accessed via Roo::TEMP_PREFIX
- The private Roo::Base#make_tempdir is now available at the class level in
  classes that use tempdirs, added via Roo::Tempdir
=======
### Added
- Discard hiperlinks lookups to allow streaming parsing without loading whole files

## [2.4.0] 2016-05-14
### Fixed
- Fixed opening spreadsheets with charts [315](roo-rb/roo#315)
- Fixed memory issues for Roo::Utils.number_to_letter [308](roo-rb/roo#308)
- Fixed Roo::Excelx::Cell::Number to recognize floating point numbers [306](roo-rb/roo#306)
- Fixed version number in Readme.md [304](roo-rb/roo#304)

### Added
- Added initial support for HTML formatting [278](roo-rb/roo#278)
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