| Age | Commit message (Collapse) | Author |
|
No performance gain, this can be seen as a cosmetic change to have
shorter lines
|
|
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
```
|
|
```
rubocop --only Layout/TrailingWhitespace -a
```
|
|
|
|
|
|
Do not create huge strings
Let Row inherit from SimpleTypedList
Optimized sanitizing
Optimized validation
And more..
|
|
Can be specified as option to Package#new:
```
Axlsx::Package.new :created_at => time
```
If omitted, the current time at the moment the document is serialized will be used. This change is therefore fully backward compatible.
|
|
|
|
|
|
|
|
|
|
part of an ongoing effort to make the code more readable code.
|
|
calls for the great snake_case move
|
|
Google is especially sensitive to the format of the created stamp
in the core.xml document. It must end in Z and will not accept
another timezone offset or no timezone offset.
This seems to work for all my documents.
See #80
|
|
|
|
and misnamed app attributes.
|
|
|
|
prior to dropping Nokogiri dep in production.
|
|
allow us to inter-op properly with Numbers
|
|
https://github.com/randym/axlsx/issues/19
|
|
force binary encoding for zip entries.
[bug] fixed error in app.rb so extended properties can now be used.
improved support for OOXML cell element types.
|
|
release version 1.0.9
|
|
|