diff options
| author | 2019-01-25 21:59:22 -0500 | |
|---|---|---|
| committer | 2019-01-25 21:59:22 -0500 | |
| commit | 7d3739667c935c1bfbffc093154a5a46cbfee3ba (patch) | |
| tree | 3fdbad727134c3a7e8bf009e3fc7e2de699ffb9a | |
| parent | acca1e035f166db69f69c4472efbbab5b3f40f3e (diff) | |
| parent | 16dd018ca735392c2fb28b986316a9b22a06ccf9 (diff) | |
Update upstream source from tag 'upstream/2.8.1'
Update to upstream version '2.8.1'
with Debian dir 0b3d620c27dcd0db30ac7d6f307d708b9f652c99
| -rw-r--r-- | CHANGELOG.md | 8 | ||||
| -rwxr-xr-x | lib/roo/excelx/sheet_doc.rb | 2 | ||||
| -rw-r--r-- | lib/roo/version.rb | 2 | ||||
| -rw-r--r-- | spec/lib/roo/excelx/sheet_doc_spec.rb | 11 | ||||
| -rw-r--r-- | test/files/blank_children.xlsx | bin | 0 -> 4465 bytes |
5 files changed, 20 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d93da95..c0c4a39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ -## Unreleased +## Unreleased + +## [2.8.1] 2019-01-21 +### Fixed +- Fixed error if excelx's cell have empty children [487](https://github.com/roo-rb/roo/pull/487) + +## [2.8.0] 2019-01-18 ### Fixed - Fixed inconsistent column length for CSV [375](https://github.com/roo-rb/roo/pull/375) - Fixed formatted_value with `%` for Excelx [416](https://github.com/roo-rb/roo/pull/416) diff --git a/lib/roo/excelx/sheet_doc.rb b/lib/roo/excelx/sheet_doc.rb index 8b0c686..2b3aa39 100755 --- a/lib/roo/excelx/sheet_doc.rb +++ b/lib/roo/excelx/sheet_doc.rb @@ -120,7 +120,7 @@ module Roo end end - create_empty_cell(coordinate) + create_empty_cell(coordinate, empty_cell) end def create_empty_cell(coordinate, empty_cell) diff --git a/lib/roo/version.rb b/lib/roo/version.rb index 7fd96d7..625e495 100644 --- a/lib/roo/version.rb +++ b/lib/roo/version.rb @@ -1,3 +1,3 @@ module Roo - VERSION = "2.8.0" + VERSION = "2.8.1" end diff --git a/spec/lib/roo/excelx/sheet_doc_spec.rb b/spec/lib/roo/excelx/sheet_doc_spec.rb new file mode 100644 index 0000000..3dc3e93 --- /dev/null +++ b/spec/lib/roo/excelx/sheet_doc_spec.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require "spec_helper" + +describe Roo::Excelx::SheetDoc do + subject(:blank_children) { Roo::Excelx.new("test/files/blank_children.xlsx") } + + example "#last_row" do + expect(subject.last_row).to eq 3 + end +end diff --git a/test/files/blank_children.xlsx b/test/files/blank_children.xlsx Binary files differnew file mode 100644 index 0000000..a495849 --- /dev/null +++ b/test/files/blank_children.xlsx |
