New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tackle rubocop todo list #336
Comments
So I was going to take a stab at this, but I either have an issue with my environment or something is wrong with the gemspec. I ran
I then wanted to confirm the right version of
That is when I realized that in the gemspec, it has
In the gemspec it has On a side note, it doesn't appear I can install
|
Thank you very much for working on that!
You can definitely bump that to
You should hopefully be good with at least ruby 2.7. But you're making a good case here, I think you should try ruby 2.7, 3.0, 3.1 and 3.2 with rubocop when doing the PR to ensure that it is always fine. Although, this is not mandatory at all. |
It appears something might be wrong with my setup
I'll see if I can figure out what is going on here and hopefully be able to get this issue taken care of. |
Thanks for taking a look at this! @BuonOmo I agree if it's past EOL we shouldn't worry about supporting it IMO. |
* fix `Layout/ArgumentAlignment` * fix `Layout/EmptyLineBetweenDefs` * fix `Layout/ExtraSpacing` * fix `Layout/FirstArrayElementIndentation` * fix `Layout/MultilineMethodCallBraceLayout` * fix `Layout/MultilineMethodCallIndentation` * fix `Layout/SpaceAroundOperators` * fix `Layout/SpaceBeforeBlockBraces` * fix `Lint/EmptyWhen` * fix `Lint/LiteralAsCondition` * fix `Lint/UnusedBlockArgument` * fix `Style/BlockDelimiters` * fix `Style/CaseLikeIf` * fix `Style/ClassEqualityComparison` * fix `Style/ConditionalAssignment` * fix `Style/EmptyMethod` * fix `Style/IfInsideElse` * fix `Style/MultilineTernaryOperator` * fix `Style/OrAssignment` * fix `Style/RedundantConditional` * fix `Style/RedundantRegexpEscape` * fix `Style/StringConcatenation` * fix `Style/StringLiterals` * fix `Style/SymbolArray` * fix `Style/PerlBackrefs` * fix `Naming/AccessorMethodName` * fix `Naming/MemoizedInstanceVariableName` * fix `Style/NegatedIfElseCondition` * fix `Style/NestedTernaryOperator` * fix `Lint/FloatComparison` * fix `Lint/DuplicateBranch` * fix `Lint/UnusedMethodArgument` * fix `Naming/BinaryOperatorParameterName` * fix `Style/AccessorGrouping` * fix `Style/InverseMethods` * fix `Style/IfUnlessModifier` * fix `Style/MultilineIfModifier` * fix `Style/MultipleComparison` * fix `Style/SoleNestedConditional` * fix `Style/UnpackFirst` * fix `Security/MarshalLoad` * fix `Style/GuardClause` * fix `Style/Documentation` * fix `Style/MultilineBlockChain` * partially fix `Metrics/BlockNesting` * fix `Layout/LineLength` * fix `Style/GlobalVars` updates rgeo#336
* Fix missed refactoring os similar method * Revert changes to x, y, z, and m to `*_coords`. Add x, y, z, and m to allowed vars. * Revert some changes to get tests to pass (see 60deae0) * Refactor linear `&&` short-circuit to be `if..else` for better readability and reliability updates rgeo#336, rgeo#338
* Add comment about ruby v2.6 in rubocop config file * Change all `.size.zero?` calls to `.empty?` * Convert any missed `CoordSys::CONFIG.default_coord_sys_class` calls to new style * Performance updates * Reverted `# :nodoc:` changes from d6ad9fe * Refactor window_test.rb * Remove all heredocs and `format_wkt` updates rgeo#336, rgeo#338
* fix `Layout/EmptyLineBetweenDefs` * fix `Layout/ExtraSpacing` * fix `Layout/FirstArrayElementIndentation` * fix `Layout/MultilineMethodCallBraceLayout` * fix `Layout/MultilineMethodCallIndentation` * fix `Layout/SpaceAroundOperators` * fix `Layout/SpaceBeforeBlockBraces` * fix `Lint/EmptyWhen` * fix `Lint/LiteralAsCondition` * fix `Lint/UnusedBlockArgument` * fix `Style/BlockDelimiters` * fix `Style/CaseLikeIf` * fix `Style/ClassEqualityComparison` * fix `Style/ConditionalAssignment` * fix `Style/EmptyMethod` * fix `Style/IfInsideElse` * fix `Style/MultilineTernaryOperator` * fix `Style/OrAssignment` * fix `Style/RedundantConditional` * fix `Style/RedundantRegexpEscape` * fix `Style/StringConcatenation` * fix `Style/StringLiterals` * fix `Style/SymbolArray` * fix `Style/PerlBackrefs` * fix `Naming/AccessorMethodName` * fix `Naming/MemoizedInstanceVariableName` * fix `Style/NegatedIfElseCondition` * fix `Style/NestedTernaryOperator` * fix `Lint/FloatComparison` * fix `Lint/DuplicateBranch` * fix `Lint/UnusedMethodArgument` * fix `Naming/BinaryOperatorParameterName` * fix `Style/AccessorGrouping` * fix `Style/InverseMethods` * fix `Style/IfUnlessModifier` * fix `Style/MultilineIfModifier` * fix `Style/MultipleComparison` * fix `Style/SoleNestedConditional` * fix `Style/UnpackFirst` * fix `Security/MarshalLoad` * fix `Style/GuardClause` * fix `Style/MultilineBlockChain` * partially fix `Metrics/BlockNesting` * fix `Layout/LineLength` * fix `Style/GlobalVars` * Change head to 3.1 for Memcheck * Lock jruby version to fix bug * Add history line updates rgeo#336
* fix `Layout/ArgumentAlignment` * fix `Layout/EmptyLineBetweenDefs` * fix `Layout/ExtraSpacing` * fix `Layout/FirstArrayElementIndentation` * fix `Layout/MultilineMethodCallBraceLayout` * fix `Layout/MultilineMethodCallIndentation` * fix `Layout/SpaceAroundOperators` * fix `Layout/SpaceBeforeBlockBraces` * fix `Lint/EmptyWhen` * fix `Lint/LiteralAsCondition` * fix `Lint/UnusedBlockArgument` * fix `Style/BlockDelimiters` * fix `Style/CaseLikeIf` * fix `Style/ClassEqualityComparison` * fix `Style/ConditionalAssignment` * fix `Style/EmptyMethod` * fix `Style/IfInsideElse` * fix `Style/MultilineTernaryOperator` * fix `Style/OrAssignment` * fix `Style/RedundantConditional` * fix `Style/RedundantRegexpEscape` * fix `Style/StringConcatenation` * fix `Style/StringLiterals` * fix `Style/SymbolArray` * fix `Style/PerlBackrefs` * fix `Naming/AccessorMethodName` * fix `Naming/MemoizedInstanceVariableName` * fix `Style/NegatedIfElseCondition` * fix `Style/NestedTernaryOperator` * fix `Lint/FloatComparison` * fix `Lint/DuplicateBranch` * fix `Lint/UnusedMethodArgument` * fix `Naming/BinaryOperatorParameterName` * fix `Style/AccessorGrouping` * fix `Style/InverseMethods` * fix `Style/IfUnlessModifier` * fix `Style/MultilineIfModifier` * fix `Style/MultipleComparison` * fix `Style/SoleNestedConditional` * fix `Style/UnpackFirst` * fix `Security/MarshalLoad` * fix `Style/GuardClause` * fix `Style/MultilineBlockChain` * partially fix `Metrics/BlockNesting` * fix `Layout/LineLength` * fix `Style/GlobalVars` * Change head to 3.1 for Memcheck * Lock jruby version to fix bug * Add history line updates rgeo#336
The
.rubocop_todo.yml
file needs to be taken care of. Any PR in that regard is welcome!The text was updated successfully, but these errors were encountered: