summaryrefslogtreecommitdiffhomepage
path: root/test/stylesheet
AgeCommit message (Collapse)Author
2023-05-22Use Ruby 1.9 hash syntax (non-production code)Geremia Taglialatela
2023-05-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-05-03Introduce RuboCop performanceGeremia Taglialatela
Also fixes performance offences in non-production code
2023-05-03Fix Style/RedundantFileExtensionInRequire offenseGeremia Taglialatela
2023-05-03Add RuboCop MinitestGeremia Taglialatela
2023-05-03Fix offenses to non-production codeGeremia Taglialatela
- Lint/AmbiguousBlockAssociation - Lint/AmbiguousOperatorPrecedence - Lint/EmptyBlock - Lint/RedundantSplatExpansion - Lint/RedundantStringCoercion - Lint/SymbolConversion - Lint/UnusedBlockArgument - Style/BlockDelimiters - Style/CommentAnnotation - Style/EachForSimpleLoop - Style/EmptyMethod - Style/ExpandPathArguments - Style/FileWrite - Style/GlobalStdStream (UNSAFE) - Style/HashEachMethods (UNSAFE) - Style/NestedParenthesizedCalls - Style/NilComparison - Style/NumericLiteralPrefix (manually fixed) - Style/ParallelAssignment - Style/PreferredHashMethods (UNSAFE) - Style/RedundantInterpolation (UNSAFE) - Style/RedundantParentheses (UNSAFE) - Style/RegexpLiteral - Style/RescueStandardError - Style/SpecialGlobalVars (UNSAFE) - Style/SymbolProc (UNSAFE) - Style/ZeroLengthPredicate (UNSAFE)
2023-04-10Fix some Layout/HashAlignment offensesGeremia Taglialatela
Some offenses have been selected and fixed automatically
2023-04-10Fix Layout/LeadingCommentSpace offensesGeremia Taglialatela
``` rubocop --only Layout/LeadingCommentSpace -a ```
2023-04-09Fix offenses related to indentation consistencyGeremia Taglialatela
2023-04-08Fix space-related offensesGeremia Taglialatela
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
2023-04-08Fix offenses related to trailing commasGeremia Taglialatela
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2023-04-06Fix Layout/CommentIndentation offensesGeremia Taglialatela
``` rubocop --only Layout/CommentIndentation -a ```
2023-04-06Fix Layout/EmptyLineBetweenDefs offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLineBetweenDefs -a ```
2023-04-06Fix Layout/EmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLines -a ```
2023-04-06Remove Layout/TrailingWhitespace offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingWhitespace -a ```
2022-03-02instance_values -> instance_values_forpjskennedy
2022-03-02Update references to use new class methodpjskennedy
2022-02-06Allow border style to accept an Array (#117)Weston Ganger
Co-authored-by: Noel Peden <[email protected]>
2019-10-29fix validate document with font option underlineAli Mujtaba
2016-11-12fix warning: constant ::Fixnum is deprecatedtakkanm
fix Fixnum deprecated warning on Ruby2.4-preview3. Fixnum was unify into Integer. https://bugs.ruby-lang.org/issues/12005
2013-08-08Don't mutate the object passed into Color#rgb=Trent Ogren
2013-05-26Update test for conditional formatting bg_colorAnkur Sethi
2012-09-14New fonts should use the default font values before applying custom style ↵Randy Morgan
options via add_style
2012-05-17fix ALL the warnings!Randy Morgan
2012-05-15bring coverage up to 100% and patch a few minor bugs in cell style overrides ↵Randy Morgan
and misnamed app attributes.
2012-05-13MOAR specsRandy Morgan
2012-04-241.8.7 patchesRandy Morgan
2012-04-24add_style refactoring. Randy Morgan
2012-04-23first stage refactoring for Style#add_style [inprogress]Randy Morgan
2012-04-20[#33] Add support for Dxf elements to enable conditional formattingStephen Pike
New Dxf class implements 18.8.14. Conditional formatting now "works". Add :type option to add_styles, defaults to :xf when add_styles is called with :dxf type, new styles are not added to the global @styles set. Dxf child elements only exist inside the `<dxf>` chunk. Added tests and an example.
2012-04-09no symbol sorting in 1.8.7Randy Morgan
2012-04-09border edges and spec cleanup.Randy Morgan
2012-04-06Add edges() to border to return list of applied edgesScott
Add border edge tests to styles spec
2012-04-01rebuild all serialization to use string concatenation instead of nokogiri.Randy Morgan
2012-03-23move requires out of specs and into helper that prepends lib directory for ↵Randy Morgan
requires
2012-03-23update add Styles#add_style to allow a simple hash to create a new border styleRandy Morgan
2012-03-14include applyAlignment attribute when adding styleochko
2012-02-27Add support for underlined text.Stefan Daschek
2012-02-21specs for Jonathan Tron's applyBorder patch. Randy Morgan
2012-02-16more specs for cell_alignment cell and chartRandy Morgan
2011-12-01added default formatting for date types when the cell style is 0 and the ↵Randy Morgan
data type is :time
2011-11-20first commitRandy Morgan