summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-02-12Merge pull request #77 from rfdonnelly/fix-special-char-in-table-headerNoel Peden
Fix special characters in table header
2021-02-12Merge pull request #78 from rfdonnelly/fix-special-char-in-pivot-cache-defNoel Peden
Fix special characters in pivot table cache definition
2021-02-03Simplify test for special characters in table headerRob Donnelly
2021-02-03Fix special characters in pivot table cache definitionRob Donnelly
2021-02-03Add test for special characters in pivot table cache definitionRob Donnelly
2021-02-03Fix special characters in table headerRob Donnelly
2021-02-03Add test for special characters in table headerRob Donnelly
2021-01-05Ultra picky label change [skip ci]Noel Peden
2021-01-05Add version specific download badge [skip ci]Noel Peden
2021-01-05Add downloads badge [skip ci]Noel Peden
2021-01-05Bump version 3.0.4Noel Peden
2021-01-05Merge pull request #71 from artplan1/add-date-typeNoel Peden
Allow to set cell type to `date`
2021-01-05Merge pull request #70 from chi-deutschland/fix-worksheet-title-length-ruleNoel Peden
Fix worksheet title length enforcement
2021-01-05Merge pull request #72 from walski/ruby-3-compatibilityNoel Peden
Relaxes Ruby dependency to work with Ruby 3
2020-12-29Removes Rubinius from Travis build matrixThorben Starsy
1. For some reason in MRI 3 the gems tagged as platform RBX in the Gemfile got installed anyways :/ 2. The RBX-specific gems were not compatible to be installed with MRI 3 3. The RBX-3 target was allowed to fail and failed for a while as RVM was not even able to install that Rubinius version 4. -> Remove RBX from the build matrix solves some problems
2020-12-29Getting closerThorben Starsy
2020-12-29Here is to you Travis :cheers:Thorben Starsy
2020-12-29Travis is madnessThorben Starsy
2020-12-29Another stab to install MRI 3.0.0 on TravisThorben Starsy
2020-12-29Trying to get MRI 3.0.0 to install on TravisThorben Starsy
2020-12-29Moves Travis target for MRI 3.0 off the preview releaseThorben Starsy
2020-12-10Fix calculation of worksheet name lengthLuka Lüdicke
- The previous change caused unnecessary issues - We approximate that Excel calculates the character length with UTF-16 - Fixes https://github.com/caxlsx/caxlsx/issues/67
2020-12-10Delete redundant worksheet name too long testLuka Lüdicke
2020-12-07Add version badge [skip ci]Noel Peden
2020-12-07Version bump to 3.0.3Noel Peden
2020-12-04Adds Ruby 3.0.0-preview1 as a Travis targetThorben Starsy
2020-12-03Trying to work with Ruby 3 (preview)Thorben Starsy
2020-12-03Update CHANGELOG.mdStefan Daschek
2020-12-03Extend cell_type_from_value with sanity checksToms Mikoss
2020-11-27Add casting to dateArtem Kozaev
Add tests
2020-11-27Allow to set cell type to `date`Artem Kozaev
2020-11-26Group worksheet name tests togetherLuka Lüdicke
Opposes a redundant test
2020-11-12Remove lines referring to Ruby 1.x from GemfileStefan
We only support Ruby 2.3 and newer (see axlsx.gemspec).
2020-11-09Update version requirement for kramdownStefan Daschek
Fixes CVE-2020-14001 kramdown is not used in the gem itself though, only in development when generating documentation.
2020-09-11Restructure examples folder (#47)Zsolt Kozaroczy
Split examples into separate markdown files, each containing a description, sample code, and a screenshot of the resulting xlsx document. The script `generate.rb` is provided to actually generate the example documents by executing the sample code contained in the markdown files.
2020-09-07Merge pull request #60 from kiskoza/update-ruby-versions-on-travisNoel Peden
Update Ruby versions on Travis
2020-09-06Update Ruby versions on TravisKoza
- add 2.7.1 - move every version to latest patches
2020-08-29Avoid warning when using `capture_warnings` more than onceRyan Winograd
2020-08-29Update #serialize to accept 3 argumentsRyan Winograd
2020-08-29Assert how contents are zippedRyan Winograd
Previously we tested that either rubyzip or shelling out to zip produced the expected xlsx file, but we never explicitly checked whether rubyzip or shell zip was used. I noticed that rubyzip always sets a far future date, whereas `zip` uses today's date. I'm using this as a heuristic to determine which zip method was used.
2020-08-28Update doc to reflect preferred new public interfaceRyan Winograd
2020-08-24Explosion explosion fixed - issue 58Noel Peden
2020-08-20Actual fix for older rubiesRyan Winograd
2020-08-20Fix for older rubies?Ryan Winograd
2020-08-20Deprecate using `#serialize` with boolean argumentRyan Winograd
Update `Axlsx::Package#serialize` to accept the second argument as a boolean (being deprecated) or an options hash. In order to transition toward using keyword arguments for `Axlsx::Package#serialize`, change the documented method signature to an options hash, while still parsing the second argument as `confirm_valid` if a boolean is provided (in which case we also warn the user that a boolean argument is deprecated).
2020-08-20Merge pull request #56 from rylwin/add-zip-command-optionStefan Daschek
Add option to `#serialize` with system zip command
2020-08-19Add option to `#serialize` with system zip commandRyan Winograd
Add a `:zip_command` option to `Axlsx::Package#serialize` that allows the user to specify an alternate command to use to perform the zip operation on the XLSX file contents. The default zip operation is provided by RubyZip. On large documents users may experience faster zip times using a zip binary. Resolves #55
2020-08-19Remove unnecessary rescue in testsRyan Winograd
Back in `1e5388ce`, a rescue block was added to `#test_serialization` to prevent the test from breaking on boxes where the file system is not writable. This extra protection doesn't seem necessary anymore, so we are removing the protection in favor of letting the test error in this case.
2020-07-27Update CHANGELOG.mdStefan Daschek
2020-07-27Fix type detection for floats with out-of-rage exponents (#54)Stefan Daschek
Prior to this change, strings like "1e12345" would be interpreted as float values, regardless of the actual value of the exponent (which easily could be out of range for Ruby). In case the exponent was greater than `Float::MAX_10_EXP` (usually 308), this would result in a cell of type `:float` containing the literal string `"Infinity"`. Excel can not parse such cells and therefore gives a “corrupt data” error. In case the exponent was less than `Float::MIN_10_EXP` (usually -307) the cell would contain `0.0`. This does not result in Excel throwing an error, but probably isn't the expected result either. Note that this problem is quite likely to happen when creating a worksheet with hexadecimal strings, because e.g. "1234e567" is a perfectly valid hex value. The additional range check of the exponent introduces a slight performance overhead, so I decided to split the code path: I presume parsing floats with exponents < 100 (or no exponents at all) is way more common, so this code path behaves exactly like before. Only in the case of a 3 digit exponent the additional range check is introduced.