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

Feature/jruby support #362

Merged
merged 11 commits into from
Dec 31, 2016
Merged

Feature/jruby support #362

merged 11 commits into from
Dec 31, 2016

Conversation

stevendaniels
Copy link
Contributor

No description provided.

+ Removed some commented out tests
+ Moved tests requiring downloading to format specific files
+ Updated gemspec and Gemfiles
Also did some minor test refactoring
`test_finalize` broke in ruby 2.4 because of changes in Ruby's GC. The
initial fix was to fork the process to make sure directories where being
cleaned properly.

Unfortunately, this caused a segfault when running the entire test suite.
The issue was related to where `ObjectSpace.define_finalizer` was being
called from (a class that was being extended by a module). The issue is
probably related to Nokogiri, but I wasn't able to develop a trivial
example of the error.

Creating the finalizer in the class fixed the issue in Ruby 2.4.0.
Updated travis JRuby
@coveralls
Copy link

coveralls commented Dec 30, 2016

Coverage Status

Coverage decreased (-1.7%) to 92.028% when pulling 0a8a63c on feature/jruby_support into 143fffa on master.

@coveralls
Copy link

coveralls commented Dec 30, 2016

Coverage Status

Coverage decreased (-1.7%) to 92.028% when pulling 39f6358 on feature/jruby_support into 143fffa on master.

@stevendaniels stevendaniels merged commit 7164c64 into master Dec 31, 2016
@stevendaniels stevendaniels deleted the feature/jruby_support branch December 31, 2016 01:19
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Jan 8, 2017
## [2.7.1] 2017-01-03
### Fixed
- Fixed regression where a CSV's encoding was being ignored [372](roo-rb/roo#372)

## [2.7.0] 2016-12-31
### Fixed
- Added rack server for testing Roo's download capabilities [365](roo-rb/roo#365)
- Refactored tests into different formats [365](roo-rb/roo#365)
- Fixed OpenOffice for JRuby [362](roo-rb/roo#362)
- Added '0.000000' => '%.6f' number format [354](roo-rb/roo#354)
- Add additional formula cell types for to_csv [367][roo-rb/roo#367]

### Added
- Extracted formatters from Roo::Base#to_* methods [364](roo-rb/roo#364)

## [2.6.0] 2016-12-28
### Fixed
- Fixed error if sheet name starts with a slash [348](roo-rb/roo#348)
- Fixed loading to support files on ftp [355](roo-rb/roo#355)
- Fixed Ruby 2.4.0 deprecation warnings [356](roo-rb/roo#356)
- properly return date as string [359](roo-rb/roo#359)

### Added
- Cell values can be set in a CSV [350](roo-rb/roo#350)
- Raise an error Roo::Excelx::Extractor document is missing [358](roo-rb/roo#358)
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.

2 participants