summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-11-15Fix hyperlinking to worksheets with underscoreshyperlink-worksheet-fixrealtradam
2023-10-30Merge pull request #308 from kiskoza/release-4.0.0HEADmasterZsolt Kozaroczy
Version bump to 4.0.0
2023-10-30Update changelogKoza
2023-10-30Version bump to 4.0.0Koza
2023-10-20Merge pull request #310 from tagliala/chore/fix-safe-offenses-to-gemspecZsolt Kozaroczy
Fix minor safe offenses to gemspec
2023-10-20Fix minor safe offenses to gemspecGeremia Taglialatela
- Style/ExpandPathArguments - Style/PercentLiteralDelimiters
2023-10-20Merge pull request #309 from kiskoza/fix-scatter-series-with-non-default-markerZsolt Kozaroczy
Fix frozen string error for scatter series with non-default marker
2023-10-19Fix frozen string error for scatter series with non-default markerKoza
2023-10-19Merge pull request #304 from kiskoza/fix-none-type-validationsZsolt Kozaroczy
Fix data validations for none type validations to show warnings only
2023-10-19Fix data validations for none type validations to show warnings onlyKoza
2023-10-19Merge pull request #269 from kiskoza/221-icon-set-improvementsZsolt Kozaroczy
Add optional interpolation points to icon sets
2023-10-19Merge pull request #273 from tagliala/chore/fix-unused-block-argumentZsolt Kozaroczy
Fix Lint/UnusedBlockArgument offenses
2023-10-19Add optional interpolation points to icon setsKoza
2023-10-19Merge pull request #197 from tagliala/security/opt-in-for-mfa-requirementZsolt Kozaroczy
Opt-in for MFA requirement
2023-10-19Merge pull request #307 from kiskoza/escape-formulas-by-defaultZsolt Kozaroczy
Escape formulas by default
2023-10-09Merge pull request #305 from oriolblanc/patch-1Zsolt Kozaroczy
Link chart series colors example properly
2023-10-09Link chart series colors example properlyOriol Blanc
2023-10-02Update examples to unescape formulasKoza
2023-10-02Fix failing specjohnnyshields
2023-10-02Set escape_formulas as "true" as a global default.johnnyshields
2023-09-18Merge pull request #302 from tagliala/chore/use-class-nameZsolt Kozaroczy
Use `class.name` instead of `class.to_s`
2023-09-08Use `class.name` instead of `class.to_s`Geremia Taglialatela
`class.name` is faster, uses less memory than `class.to_s`, and can be used in this context. This micro optimization does not have practical effect, it is just a reference for the future in case this approach will be needed in other parts of the library ``` Comparison (IPS): Object.name: 13528803.0 i/s Object.to_s: 8213612.0 i/s - 1.65x (± 0.00) slower Comparison (Memory): Object.name: 0 allocated Object.to_s: 40 allocated - Infx more ```
2023-09-04Merge pull request #299 from tagliala/chore/298-fix-yard-documentationZsolt Kozaroczy
Fix yard documentation warnings
2023-09-02Add Yard Linter actionGeremia Taglialatela
2023-08-24Fix yard documentation warningsGeremia Taglialatela
[ci skip] Close #298
2023-08-15Added sorting to the AutoFilter class - add sort conditions to the xml (#286)rikweelvoormedia
--------- Co-authored-by: SarahVanHaute <[email protected]> Co-authored-by: Geremia Taglialatela <[email protected]>
2023-08-11Merge pull request #295 from tagliala/chore/fix-style-accessor-grouping-offenseZsolt Kozaroczy
Fix Style/AccessorGrouping offense
2023-07-13Fix Style/AccessorGrouping offenseGeremia Taglialatela
Provide documentation to two attribute readers which triggered the offense.
2023-07-05Merge pull request #293 from tagliala/chore/fix-offenses-in-sheet-protectionZsolt Kozaroczy
Fix offenses in sheet protection
2023-07-05Merge pull request #292 from tagliala/chore/use-encoding-constantZsolt Kozaroczy
Use encoding constant instead of hardcoded string
2023-07-05Use encoding constant instead of hardcoded stringGeremia Taglialatela
Ref: https://ruby-doc.org/core-2.6.10/Encoding.html#class-Encoding-label-Changing+an+encoding
2023-07-05Fix offenses in sheet protectionGeremia Taglialatela
- Lint/AmbiguousOperatorPrecedence - Style/PerlBackrefs - Style/StringChars - Style/UnpackFirst
2023-07-04Merge pull request #288 from tagliala/chore/fix-non-local-exit-from-iteratorZsolt Kozaroczy
Fix Lint/NonLocalExitFromIterator offense
2023-07-04Merge pull request #289 from tagliala/chore/282-require-cgi-at-module-levelZsolt Kozaroczy
Require 'cgi' at module level
2023-07-04Merge pull request #290 from tagliala/chore/fix-preferred-hash-method-offenseZsolt Kozaroczy
Fix Style/PreferredHashMethods offense
2023-07-04Merge pull request #291 from tagliala/chore/remove-ruby-18-conditionalZsolt Kozaroczy
Remove conditional check for `encode` method
2023-07-02Remove conditional check for `encode` methodGeremia Taglialatela
All supported Ruby versions now support the `encode` method on strings, so the conditional check for this method has been removed. Even if the default encoding on Ruby >= 2.0 is UTF-8, this is not always the case when the `LANG` environment variable is not set to `C.UTF-8`, so the `encode` method has been preserved. Additionally, this commit updates a link to use the `https` protocol for improved security.
2023-07-02Require 'cgi' at module levelGeremia Taglialatela
Previously, `require 'cgi'` was only called in `cell.rb`, but there are other components in the Axlsx module that also use this dependency, including `Axlsx::SeriesTitle`, `Axlsx::StrVal`, `Axlsx::Title` (drawing), `Axlsx::Comment`, `Axlsx::ConditionalFormattingRule`, and `Axlsx::HeaderFooter`. By requiring cgi at the module level, we ensure that this dependency is available to all components in the Axlsx module, which can prevent issues if someone is requiring specific components that depend on cgi. This change improves the maintainability and reliability of the codebase by ensuring that all components have access to the required dependencies. Close #282
2023-07-01Fix Style/PreferredHashMethods offenseGeremia Taglialatela
`Gem.loaded_specs` is a hash, so it is safe to use `key?` and enable this cop
2023-07-01Fix Lint/NonLocalExitFromIterator offenseGeremia Taglialatela
Uses `Array#any?` instead of `Array#each`. According to benchmarks, `any?` is slightly faster when validation fails (3%) and noticeably faster when validation passes (up to 60%)
2023-06-27Merge pull request #285 from tagliala/chore/fix-redundant-self-offensesZsolt Kozaroczy
Fix redundant self offenses
2023-06-15Merge pull request #284 from tagliala/chore/predicate-nameZsolt Kozaroczy
Enable Naming/PredicateName cop
2023-06-15Fix redundant self offensesGeremia Taglialatela
No performance gain, this can be seen as a cosmetic change to have shorter lines
2023-06-15Fix Lint/UnusedBlockArgument offensesGeremia Taglialatela
Use `each_value` instead of `each` where possible. The performance gain is minimal (3%). ``` Comparison: each_value: 4105733.4 i/s each: 3998011.4 i/s - 1.03x (± 0.00) slower ```
2023-06-14Enable Naming/PredicateName copGeremia Taglialatela
Renaming the existing methods would break the public API, and it is not worth to alias and/or deprecate existing methods, so this commit enables Naming/PredicateName and allows the existing methods to preserve their name
2023-06-13Merge pull request #283 from tagliala/chore/lambda-styleZsolt Kozaroczy
Fix safe Style/Lambda offenses
2023-06-13Fix safe Style/Lambda offensesGeremia Taglialatela
- Use literal syntax on single line - Use lambda method on multiple lines Ref: https://rubystyle.guide/#lambda-multi-line
2023-06-12Merge pull request #280 from tagliala/chore/remove-extra-to-sZsolt Kozaroczy
Remove redundant `to_s` calls
2023-06-12Merge pull request #281 from tagliala/chore/fix-colon-method-callZsolt Kozaroczy
Fix safe Style/ColonMethodCall offenses
2023-06-10Fix safe Style/ColonMethodCall offensesGeremia Taglialatela
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 ```