Upgrade rubocop to version 0.58.2
Created by: depfu[bot]
We've upgraded a dependency and all tests pass. \o/
| name | version specification | new version |
|---|---|---|
| rubocop | ~> 0.57.2 | 0.58.2 |
You should probably take a good look at this before merging this pull request, of course.
What changed?
✳ ️ rubocop ( → 0.58.2) · Repo · Changelog
Release Notes
From the Github release:
Changes
New features
-
#6105: Support
{a,b}file name globs inExcludeandIncludeconfig. (@mikeyhew) -
#6116: Add
ipto allowed names ofNaming/UncommunicativeMethodParamNamecop in default config. (@nijikon)
Bug fixes
-
#6103: Fix a false positive for
Layout/IndentationWidthwhen multiple modifiers are used in a block and a method call is made at end of the block. (@koic) -
#6084: Fix
Naming/MemoizedInstanceVariableNamecop to allow methods to have leading underscores. (@kenman345) -
#6098: Fix an error for
Layout/ClassStructurewhen there is a comment in the macro method to be auto-correct. (@koic) -
#6115: Fix a false positive for
Lint/OrderedMagicCommentswhen using{ encoding: Encoding::SJIS }hash object afterfrozen_string_literalmagic comment. (@koic)
Commits
See the full diff on Github. The new version differs by 19 commits:
Cut 0.58.2Make `MagicComment` aware of indented Ruby's magic comments[Fix #6115] Fix a false positive for `Lint/OrderedMagicComments`Add a favicon to the manualMerge pull request #6120 from jaredbeck/remove_redundant_ru_defaultRemove redundant Include of config.ru in default.ymlMerge pull request #6118 from pocke/cache-keyRemove `pwd` from cache key[Fix #6105] Support `{a,b}` glob patterns in PathUtilAllow `ip` as method parameter in default configUpdate doc of `Rails/LexicallyScopedActionFilter`[Fix #6098] Fix an error for `Layout/ClassStructure`Restore tests for Ruby 2.1 or higherFix a false positive for `Layout/IndentationWidth` (#6103)[Fix #6084] Allow leading underscores for method names (#6095)[Fix #6079] Update a documentation for `Lint/ShadowedArgument` cop (#6096)Add Pronto to Automated Code Review sectionDrop min target Ruby version from `Lint/UnneededRequireStatement`Extend the README a bit
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.