Closed cyrilchampier closed 5 years ago
Yes indeed! Please let me know if you come up with a patch.
Would this PR be ok for you? https://github.com/zdavatz/spreadsheet/pull/235
Thank you for the PR. All tests are failing. The tests need to pass, all of them.
Of course, I will fix that ;) What do you think about support of ruby 1.8? Do I fallback to previous behaviour (which fails on frozen steams)?
Yes, I think that is best, if you do not have another solution.
It should be good now.
Thank you, Version 1.2.4 is out. Please test.
Tested on my side, it is working! Thanks for your reactivity.
thank you too!
When you try to open a spreadsheet from a stringio, the underlying string must be mutable:
https://github.com/zdavatz/spreadsheet/blob/master/lib/spreadsheet/excel/reader.rb#L1279
It would be cool if it was possible to open a frozen io.