| Age | Commit message (Collapse) | Author |
|
Caxlsx is using both `.` and `::`, 220 occurrences vs 280 to invoke
methods on `Axlsx` module.
This commit standardizes the approach towards `.`, which will also allow
shorter lines.
Performance is not affected
```
Comparison:
Axlsx.validate: 8515252.3 i/s
Axlsx::validate: 8512863.7 i/s - same-ish: difference falls within error
```
|
|
Currently, there are lots of examples of code like this,
```
str << ('<tag ' << foo << ' ' << bar << '/>')
```
which create the string for the tag in memory before piping to str.
We can avoid creating all of these intermediate strings by dropping
the paranthesis and piping directly to str.
This relies on the `str` passed around to handle lots of small
appends. This is a problem when using RubyZip, but that is solved
in the next commit.
|
|
|
|
|
|
- Layout/SpaceAfterComma
- Layout/SpaceAroundEqualsInParameterDefault
- Layout/SpaceAroundOperators
- Layout/SpaceBeforeBlockBraces
- Layout/SpaceInsideBlockBraces
- Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideParens
|
|
|
|
```
rubocop --only Style/Encoding -a
```
|
|
and added multiline autowidth for both RichText and normal strings
|
|
Do not create huge strings
Let Row inherit from SimpleTypedList
Optimized sanitizing
Optimized validation
And more..
|
|
strings table output.
|
|
|
|
preserve_spaces has been moved to the workbook and renamed xml_space as
that provides a good reference for people trying to figure out what it
does, and let's the author specify space preservation for
serializations using the shared strings table as well as the default
inline serialization in cells.
|
|
|
|
|
|
|
|
Support for empty cells like Excel
|
|
|
|
|
|
prior to dropping Nokogiri dep in production.
|
|
```
user system total real
axlsx_noautowidth 0.760000 0.020000 0.780000 ( 0.885482)
axlsx 3.560000 0.130000 3.690000 ( 4.158594)
axlsx_shared 11.610000 0.180000 11.790000 ( 13.208945)
axlsx_stream 3.450000 0.120000 3.570000 ( 3.920745)
csv 0.240000 0.010000 0.250000 ( 0.269822)
|
|
user system total real
axlsx_noautowidth 1.560000 0.030000 1.590000 ( 1.717595)
axlsx 4.360000 0.140000 4.500000 ( 5.748329)
axlsx_shared 6.880000 0.160000 7.040000 ( 9.325648)
axlsx_stream 4.320000 0.120000 4.440000 ( 5.642124)
csv 0.240000 0.010000 0.250000 ( 0.301004)
|
|
total real
axlsx_noautowidth 1.650000 ( 1.684738)
axlsx 4.470000 ( 4.580439)
axlsx_shared 7.990000 ( 8.151813)
axlsx_stream 4.420000 ( 4.435809)
csv 0.250000 ( 0.259114)
|
|
|
|
|
|
allow us to inter-op properly with Numbers
|