summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/sheet_view.rb
AgeCommit message (Collapse)Author
2023-10-19Merge pull request #273 from tagliala/chore/fix-unused-block-argumentZsolt Kozaroczy
Fix Lint/UnusedBlockArgument offenses
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-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 ```
2023-05-31Use Ruby 1.9 hash syntaxGeremia Taglialatela
2023-05-31Fix Style/MutableConstant offensesGeremia Taglialatela
2023-05-22Fix safe class comparison offensesGeremia Taglialatela
Fixes: - Style/ClassCheck - Style/ClassEqualityComparison While `is_a?` and `kind_of?` are equivalent, there is a 5% gain when switching from class comparison to `intance_of?` ``` Comparison: instance_of: 16902635.9 i/s class comparison: 16061288.3 i/s - 1.05x (± 0.00) slower ```
2023-05-04Fix tests / code to work with frozen string literalsPaul Kmiec
2023-05-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-04-10Fix Layout/LeadingCommentSpace offensesGeremia Taglialatela
``` rubocop --only Layout/LeadingCommentSpace -a ```
2023-04-09Fix Layout/ArgumentAlignment offensesGeremia Taglialatela
``` rubocop --only Layout/ArgumentAlignment -a ```
2023-04-08Fix space-related offensesGeremia Taglialatela
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2023-04-07Fix Layout/SpaceInsideArrayLiteralBrackets offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceInsideArrayLiteralBrackets -a ```
2023-04-06Fix Layout/EmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLines -a ```
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
2023-04-06Remove Layout/TrailingWhitespace offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingWhitespace -a ```
2012-10-14Refactored to use options parser, accessors and serialization attributesRandy Morgan
2012-06-11mass removal of @default docs bunked some instance vars that started with ↵Randy Morgan
@defualt
2012-06-11documentation improvements.Randy Morgan
2012-06-09make sheet view selections readableRandy Morgan
2012-06-07dont write nil values - invalid as per schemaRandy Morgan
2012-06-07use camel instead of inline gsubRandy Morgan
2012-06-06Added selection function to the sheet view class.Jan-Hendrik Hühne
2012-06-06Changes default value of "window protection"Jan-Hendrik Hühne
2012-06-06Adds pane functions to worksheet class.Jan-Hendrik Hühne
2012-06-06Typo.Jan-Hendrik Hühne
2012-06-06SheetView bugfixes and test suiteJan-Hendrik Hühne
2012-06-06First step of the sheet_view implementation.Jan-Hendrik Hühne