Update rubocop: 1.33.0 → 1.34.1 (minor)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ rubocop (1.33.0 → 1.34.1) · Repo · Changelog
Release Notes
1.34.1
Bug fixes
1.34.0
New features
- #10170: Add new
InternalAffairs/SingleLineComparisoncop. (@dvandersluis)Bug fixes
- #10552: Require RuboCop AST 1.20.0+ to fix a false positive for
Lint/OutOfRangeRegexpRefwhen using fixed-encoding regopt. (@koic)- #10512: Fix a false positive for
Lint/ShadowingOuterLocalVariableconditional statement and block variable. (@ydah)- #10864:
minandmaxresults in false positives forStyle/SymbolProcsimilarly toselectandreject. (@mollerhoj)- #10846: Fix a false negative for
Style/DoubleNegationwhen there is a hash or an array at return location of method. (@nobuyo)- #10875: Fix an obsolete option configuration values are duplicated when generating
.rubocop_todo.yml. (@ydah)- #10877: Fix crash with
Layout/BlockEndNewlineheredoc detection. (@dvandersluis)- #10859: Fix
Lint/Debuggerto be able to handle method chains correctly. (@dvandersluis)- #10883: Fix
Style/RedundantParenthesesto be able to detect offenses and properly correct when the end parentheses and comma are on their own line. (@dvandersluis)- #10881: Fix
Style/SoleNestedConditionalto properly wrapblockandcsendnodes when necessary. (@dvandersluis)- #10867: Mark autocorrection for
Lint/EmptyConditionalBodyas unsafe. (@dvandersluis)- #10871: Restore
RuboCop::ConfigLoader.project_rootas deprecated. (@koic)Changes
- #10857: Add
AllowedPatternstoStyle/NumericLiterals. (@dvandersluis)- #10648: Allow
Style/TernaryParenthesesto take priority overStyle/RedundantParentheseswhen parentheses are enforced. (@dvandersluis)- #10731: Show tip for suggested extensions that are installed but not loaded in .rubocop.yml. (@nobuyo)
- #10845: Support Bundler-like namespaced feature on require config. (@r7kamura)
- #10773: Require Parser 3.1.2.1 or higher. (@dvandersluis)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
Cut 1.34.1Update Changelog[Fix #10893] Fix an error when running `rubocop` without `bundle exec`Switch back docs versionCut 1.34Update ChangelogSupport Bundler-like namespaced feature on require configMerge pull request #10886 from dvandersluis/issue/10881Merge pull request #10885 from dvandersluis/issue/10883[Fix #10883] Fix `Style/RedundantParentheses` to be able to detect offenses and properly correct when the end parentheses and comma are on their own line.[Fix #10881] Fix `Style/SoleNestedConditional` to properly wrap `block` and `csend` nodes when necessary.Merge pull request #10887 from dvandersluis/lint/shadowed-exceptionMerge pull request #10888 from dvandersluis/issue/10773[Fix #10773] Update `parser` gem to >= 3.1.2.1.Improve documentation for `Lint/ShadowedException`.Merge pull request #10884 from mollerhoj/add_min_and_max_to_list_of_false_positives_for_style_symbol_procadd min and max to list of false positives for Style/SymbolProc[Fix #10552] Fix a false positive for `Lint/OutOfRangeRegexpRef`Merge pull request #10880 from dgollahon/fix-elif-typoFix `elif` (`elsif`) typoMark deprecated method with `@deprecated`[Fix #10512] Fix a false positive for `Lint/ShadowingOuterLocalVariable` conditional statement and block variable[Fix #10648] Allow `Style/TernaryParentheses` to take priority over `Style/RedundantParentheses`.[Fix #10877] Fix crash with `Layout/BlockEndNewline` heredoc detection.Merge pull request #10875 from ydah/fix/duplicate_parameterMerge pull request #10873 from dvandersluis/style/numeric-literals-allowed-patternsFix an obsolete option configuration values are duplicated when generating `.rubocop_todo.yml`[Fix #10857] Add `AllowedPatterns` to `Style/NumericLiterals`.Fix a broken link[Fix #10871] Restore `RuboCop::ConfigLoader.project_root` as deprecated[Fix #10846] Fix a false negative for `Style/DoubleNegation` when there is a hash or an array at return location of methodMerge pull request #10869 from dvandersluis/lint/debugger-method-chainsFix `InternalAffairs/SingleLineComparison` issues.Add new `InternalAffairs/SingleLineComparison` cop.[Fix #10859] Fix `Lint/Debugger` to be able to handle method chains correctly.Mark autocorrection for `Lint/EmptyConditionalBody` as unsafe.[Fix #10731] Show tip for suggested extensions that are installed but not loaded in .rubocop.yml[Docs] Fix broken xrefsTweak a changelog entrySwitch back the docs version
↗ ️ parser (indirect, 3.1.2.0 → 3.1.2.1) · Repo · Changelog
Release Notes
3.1.2.1 (from changelog)
Bugs fixed:
- ruby31.y: fix preparing the state for one-line patterns without braces (#864) (Vladimir Dementyev)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 4 commits:
↗ ️ rubocop-ast (indirect, 1.19.1 → 1.21.0) · Repo · Changelog
Release Notes
1.21.0 (from changelog)
New features
1.20.1 (from changelog)
New features
- #237 Fix
#macro?for numblock nodes (@gsamokovarov)
1.20.0 (from changelog)
Bug fixes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 13 commits:
Cut 1.21.0Update ChangelogRestore docs/antora.ymlAdd a type predicate `dot?` to TokenCut 1.20.1Update ChangelogFix #macro? for numblock nodesRestore docs/antora.ymlCut 1.20.0Update ChangelogMake `RegexpNode` aware of fixed-encoding regoptSuppress `Style/EmptyHeredoc` offensesRestore docs/antora.yml
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.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)