#10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. (@dvandersluis)
#10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. (@franzliedke)
#10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. (@koic)
#10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. (@koic)
#10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. (@koic)
#10200: Fix an error when inspecting a directory named *. (@koic)
#10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. (@Drowze)
Changes
#10157: Updated Gemspec/RequiredRubyVersion handle being set to blank values. (@dvandersluis)
#10176: Unmark AutoCorrect: false from Security/JSONLoad. (@koic)
#10186: Explicit block arg is not counted for Metrics/ParameterLists. (@koic)
RuboCop 1.22.1
Bug fixes
#10143: Fix an error for Lint/RequireRelativeSelfPath when using a variable as an argument of require_relative. (@koic)
#10140: Fix false positive for Layout/DotPosition when a heredoc receives a method on the same line as the start sigil in trailing style. (@dvandersluis)
#10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. ([@dvandersluis][])
#10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. ([@franzliedke][])
#10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. ([@koic][])
#10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. ([@koic][])
#10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. ([@koic][])
#10200: Fix an error when inspecting a directory named *. ([@koic][])
#10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. ([@Drowze][])
Changes
#10157: Updated Gemspec/RequiredRubyVersion handle being set to blank values. ([@dvandersluis][])
#10176: Unmark AutoCorrect: false from Security/JSONLoad. ([@koic][])
#10186: Explicit block arg is not counted for Metrics/ParameterLists. ([@koic][])
1.22.1 (2021-10-04)
Bug fixes
#10143: Fix an error for Lint/RequireRelativeSelfPath when using a variable as an argument of require_relative. ([@koic][])
#10140: Fix false positive for Layout/DotPosition when a heredoc receives a method on the same line as the start sigil in trailing style. ([@dvandersluis][])
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 0.93.0 to 1.22.2.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
60484a7
Cut 1.22.2cc7ac48
Update Changelog1d5621d
Suppress warning: constantNet::HTTPServerException
is deprecateda319d09
UpdatedGemspec/RequiredRubyVersion
register an offense when set to blank v...34ce2ed
[Fix #10200] Fix an error when inspecting a directory named*
5b27789
[Fix #10186] Explicit block arg is not counted forMetrics/ParameterLists
1894717
Merge pull request #10193 from koic/fix_an_error_for_empty_lines_around_excep...95262d0
Fix an error forLayout/EmptyLinesAroundExceptionHandlingKeywords
41f2632
Merge pull request #10187 from koic/fix_false_positive_for_lint_ambiguous_range96457ee
[Fix #10185] Fix a false positive forLint/AmbiguousRange
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)