mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 00:11:22 +08:00
Merge pull request #2173 from biosistemika/release_1_17_4
Merge release 1.17.4 to master
This commit is contained in:
commit
e333e7c44a
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
1.17.3
|
||||
1.17.4
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class SpreadsheetParser
|
|||
if sheet.is_a?(Roo::CSV)
|
||||
sheet
|
||||
elsif sheet.is_a?(Roo::Excelx)
|
||||
sheet.each_row_streaming
|
||||
sheet.each_row_streaming(pad_cells: true)
|
||||
else
|
||||
sheet.rows
|
||||
end
|
||||
|
|
@ -60,7 +60,7 @@ class SpreadsheetParser
|
|||
if row.is_a?(Hash)
|
||||
row.values.map(&:to_s)
|
||||
elsif sheet.is_a?(Roo::Excelx)
|
||||
row.map { |cell| cell.value.to_s }
|
||||
row.map { |cell| cell&.value&.to_s }
|
||||
else
|
||||
row.map(&:to_s)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue