summaryrefslogtreecommitdiffhomepage
path: root/test/workbook/worksheet/tc_date_time_converter.rb
AgeCommit message (Collapse)Author
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-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-05-03Fix non-production Style/NumericLiterals offensesGeremia Taglialatela
2023-05-03Fix Style/RedundantFileExtensionInRequire offenseGeremia Taglialatela
2023-05-03Fix time testsGeremia Taglialatela
Remove some old code related to Ruby 1.x
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-09Fix Layout/ExtraSpacing offensesGeremia Taglialatela
Configure with `AllowBeforeTrailingComments: true`
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-07Fix Layout/ElseAlignmentGeremia Taglialatela
Manually fixed
2023-04-06Fix Layout/CommentIndentation offensesGeremia Taglialatela
``` rubocop --only Layout/CommentIndentation -a ```
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
2013-09-13Add support for automatically adjusting serialized times and dates to ↵Randy Morgan
account for the zone
2012-04-05fixing spec for time serialization assuming timezone to be GMT+1 - Randy Morgan
2012-04-03pre release prepRandy Morgan
2012-04-03Trying something crazy for jruby1.9 modeRandy Morgan
2012-03-23move requires out of specs and into helper that prepends lib directory for ↵Randy Morgan
requires
2012-03-02epoc => epochJurriaan Pruis
2012-02-28patching time converter and specs as well as fixing warnings related to ↵Randy Morgan
uninitialized row#height and worksheet#page_margins
2012-02-24Fix DateTimeConverter testsJoseph HALTER
2012-02-23out of time to play with this. We will need to create some 1.8.7 valid test ↵Randy Morgan
later.
2012-02-23disable timezone testing for 1.8.7 for nowRandy Morgan
2012-02-23ruby version conditional specs to deal with epoc issues Randy Morgan
http://ruby-doc.org/core-1.8.7/Time.html
2012-02-23renaming for clarity, a bit of docs and some patches to spec for AWSOME ↵Randy Morgan
date/time converter as negative date/time does not parse in some environments under 1.8.7