#10552: Require RuboCop AST 1.20.0+ to fix a false positive for Lint/OutOfRangeRegexpRef when using fixed-encoding regopt. (@koic)
#10512: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. (@ydah)
#10864: min and max results in false positives for Style/SymbolProc similarly to select and reject. (@mollerhoj)
#10846: Fix a false negative for Style/DoubleNegation when 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/BlockEndNewline heredoc detection. (@dvandersluis)
#10859: Fix Lint/Debugger to be able to handle method chains correctly. (@dvandersluis)
#10883: Fix Style/RedundantParentheses to be able to detect offenses and properly correct when the end parentheses and comma are on their own line. (@dvandersluis)
#10881: Fix Style/SoleNestedConditional to properly wrap block and csend nodes when necessary. (@dvandersluis)
#10867: Mark autocorrection for Lint/EmptyConditionalBody as unsafe. (@dvandersluis)
#10871: Restore RuboCop::ConfigLoader.project_root as deprecated. (@koic)
#10830: Fix an incorrect autocorrect for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and enabling Layout/FirstMethodArgumentLineBreak. (@koic)
#10825: Fix an incorrect autocorrect for Style/ClassAndModuleChildren when using nested one-liner class. (@koic)
#10843: Fix a false positive for Style/HashExcept when using reject and calling include? method with symbol array and second block value. (@koic)
#10853: Fix an autocorrect for Style/RedundantSort with logical operator. (@ydah)
#10842: Make server mode aware of CacheRootDirectory config option value, RUBOCOP_CACHE_ROOT, and XDG_CACHE_HOME environment variables. (@koic)
#10833: Fix an incorrect autocorrect for Style/RedundantCondition when branches contains arithmetic operation. (@koic)
#10552: Require RuboCop AST 1.20.0+ to fix a false positive for Lint/OutOfRangeRegexpRef when using fixed-encoding regopt. ([@koic][])
#10512: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. ([@ydah][])
#10864: min and max results in false positives for Style/SymbolProc similarly to select and reject. ([@mollerhoj][])
#10846: Fix a false negative for Style/DoubleNegation when 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/BlockEndNewline heredoc detection. ([@dvandersluis][])
#10859: Fix Lint/Debugger to be able to handle method chains correctly. ([@dvandersluis][])
#10883: Fix Style/RedundantParentheses to be able to detect offenses and properly correct when the end parentheses and comma are on their own line. ([@dvandersluis][])
#10881: Fix Style/SoleNestedConditional to properly wrap block and csend nodes when necessary. ([@dvandersluis][])
#10867: Mark autocorrection for Lint/EmptyConditionalBody as unsafe. ([@dvandersluis][])
#10871: Restore RuboCop::ConfigLoader.project_root as deprecated. ([@koic][])
#10830: Fix an incorrect autocorrect for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and enabling Layout/FirstMethodArgumentLineBreak. ([@koic][])
#10825: Fix an incorrect autocorrect for Style/ClassAndModuleChildren when using nested one-liner class. ([@koic][])
#10843: Fix a false positive for Style/HashExcept when using reject and calling include? method with symbol array and second block value. ([@koic][])
#10853: Fix an autocorrect for Style/RedundantSort with logical operator. ([@ydah][])
#10842: Make server mode aware of CacheRootDirectory config option value, RUBOCOP_CACHE_ROOT, and XDG_CACHE_HOME environment variables. ([@koic][])
#10833: Fix an incorrect autocorrect for Style/RedundantCondition when branches contains arithmetic operation. ([@koic][])
#10864: Fix a false positive for Style/SymbolProc when using Hash#reject. ([@koic][])
#10771: Make server mode aware of --cache-root command line option. ([@koic][])
#10831: Fix an error when using changed_parameters in obsoletion.yml by external library. ([@koic][])
#10850: Fix Style/ClassEqualityComparison autocorrection within module. ([@r7kamura][])
#10832: Fix an incorrect autocorrect for Layout/BlockEndNewline when multiline block } is not on its own line and using heredoc argument. ([@koic][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop from 1.25.0 to 1.34.1.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
3aaed39
Cut 1.34.1ab7ce10
Update Changeloga133796
[Fix #10893] Fix an error when runningrubocop
withoutbundle exec
95e919d
Switch back docs versiona407f64
Cut 1.3401c3b20
Update Changelog1db2aae
Support Bundler-like namespaced feature on require config88af469
Merge pull request #10886 from dvandersluis/issue/1088167f3055
Merge pull request #10885 from dvandersluis/issue/10883838ec41
[Fix #10883] FixStyle/RedundantParentheses
to be able to detect offenses a...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)