summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-04-12Small fixes: whitespace, typos, ordering, etc. (#188)Johnny Shields
2023-04-12Merge pull request #178 from tagliala/chore/improve-ci-workflowZsolt Kozaroczy
Improve CI workflow
2023-04-12Merge pull request #191 from tagliala/chore/add-rubocopZsolt Kozaroczy
Add RuboCop (and fix simple whitespace, magic comment, trailing comma offenses)
2023-04-12Merge pull request #194 from tagliala/security/193-use-file-readZsolt Kozaroczy
Use File.read instead of IO.read
2023-04-12Merge pull request #196 from tagliala/bugfix/195-fix-tab-color-reassignmentZsolt Kozaroczy
Fix tab color assignment
2023-04-11Regenerate RuboCop config and todoGeremia Taglialatela
- Remove timestamps and offense counts for a smaller todo and prevent conflicts - Keep config limited to `Layout` and `Style` scopes
2023-04-10Fix tab color assignmentGeremia Taglialatela
Fix #195
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 Layout/ExtraSpacing offensesGeremia Taglialatela
Configure with `AllowBeforeTrailingComments: true`
2023-04-09Fix offenses related to indentation consistencyGeremia Taglialatela
2023-04-09Fix Layout/ArgumentAlignment offensesGeremia Taglialatela
``` rubocop --only Layout/ArgumentAlignment -a ```
2023-04-08Use File.read instead of IO.readGeremia Taglialatela
If argument starts with a pipe character (`'|'`) and the receiver is the `IO` class, a subprocess is created in the same way as `Kernel#open`, and its output is returned. `Kernel#open` may allow unintentional command injection, which is the reason these `IO` methods are a security risk. Consider to use `File.read` to disable the behavior of subprocess invocation. Close #193 Ref: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Security/IoMethods
2023-04-08Fix Layout/EmptyLineAfterGuardClause offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLineAfterGuardClause -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 offenses related to trailing commasGeremia Taglialatela
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2023-04-08Fix Layout/SpaceBeforeFirstArg offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceBeforeFirstArg -a ```
2023-04-08Fix Layout/MultilineOperationIndentation offensesGeremia Taglialatela
``` rubocop --only Layout/MultilineOperationIndentation -a ```
2023-04-08Fix an indentation issue manuallyGeremia Taglialatela
Also regenerate config
2023-04-07Fix Layout/SpaceInsideReferenceBrackets offenseGeremia Taglialatela
``` rubocop --only Layout/SpaceInsideReferenceBrackets -a ```
2023-04-07Fix Layout/SpaceInsidePercentLiteralDelimitersGeremia Taglialatela
``` rubocop --only Layout/SpaceInsidePercentLiteralDelimiters -a ```
2023-04-07Fix Layout/SpaceInsideArrayLiteralBrackets offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceInsideArrayLiteralBrackets -a ```
2023-04-07Fix Layout/SpaceBeforeComma offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceBeforeComma -a ```
2023-04-07Fix Layout/SpaceAroundKeyword offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceAroundKeyword -a ```
2023-04-07Fix Layout/SpaceAroundBlockParameters offensesGeremia Taglialatela
``` rubocop --only Layout/SpaceAroundBlockParameters -a ```
2023-04-07Fix Layout/FirstArrayElementIndentation offenseGeremia Taglialatela
``` rubocop --only Layout/FirstArrayElementIndentation -a ```
2023-04-07Fix Layout/EmptyLinesAroundBlockBody offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLinesAroundBlockBody -a ```
2023-04-07Fix Layout/ElseAlignmentGeremia Taglialatela
Manually fixed
2023-04-07Fix Layout/BlockAlignment offensesGeremia Taglialatela
Manually fixed
2023-04-07Add RuboCop workflow and configurationGeremia Taglialatela
2023-04-06Fix Layout/EmptyLinesAroundAttributeAccessorGeremia Taglialatela
``` rubocop --only Layout/EmptyLinesAroundAttributeAccessor -a ```
2023-04-06Fix Layout offenses related to access modifiersGeremia Taglialatela
``` rubocop --only Layout/EmptyLinesAroundAccessModifier,Layout/AccessModifierIndentation -a ```
2023-04-06Fix Layout/FirstHashElementIndentation offenseGeremia Taglialatela
``` rubocop --only Layout/FirstHashElementIndentation ``` Manually fixed
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-06Fix Layout/InitialIndentation offenseGeremia Taglialatela
``` rubocop --only Layout/InitialIndentation -a ```
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
2023-04-06Fix Layout/LeadingEmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/LeadingEmptyLines -a ```
2023-04-06Fix Layout/TrailingEmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingEmptyLines -a ```
2023-04-06Remove Layout/TrailingWhitespace offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingWhitespace -a ```
2023-04-06Fix Layout/EndOfLine offensesGeremia Taglialatela
``` rubocop --only Layout/EndOfLine ``` Manually fixed
2023-04-06Add RuboCopGeremia Taglialatela
2023-04-06Add a default editor configGeremia Taglialatela
EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. Ref: https://editorconfig.org/
2023-04-03Escape array formulasjohnnyshields
2023-04-02`escape_formulas` should handle all [OWASP-designated formula ↵johnnyshields
prefixes](https://owasp.org/www-community/attacks/CSV_Injection).
2023-04-01Add ensure to specsjohnnyshields
2023-04-01Additional tests + CHANGELOGjohnnyshields
2023-04-01Fix global setting of escape_formulasjohnnyshields