#10166: Fix a false positive for Style/StringLiterals when using some meta characters (e.g. '\s', '\z') with EnforcedStyle: double_quotes. (@koic)
#10216: Fix an incorrect autocorrect for Style/SelectByRegexp when using lvar =~ blockvar in a block. (@koic)
#10207: Fix false positive in Layout/DotPosition when the selector is on the same line as the closing bracket of the receiver. (@mvz)
Changes
#10209: Make Lint/DeprecatedConstants aware of Net::HTTPServerException. (@koic)
RuboCop 1.22.2
Bug fixes
#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)
#10166: Fix a false positive for Style/StringLiterals when using some meta characters (e.g. '\s', '\z') with EnforcedStyle: double_quotes. ([@koic][])
#10216: Fix an incorrect autocorrect for Style/SelectByRegexp when using lvar =~ blockvar in a block. ([@koic][])
#10207: Fix false positive in Layout/DotPosition when the selector is on the same line as the closing bracket of the receiver. ([@mvz][])
Changes
#10209: Make Lint/DeprecatedConstants aware of Net::HTTPServerException. ([@koic][])
1.22.2 (2021-10-22)
Bug fixes
#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 1.18.2 to 1.22.3.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
841bba4
Cut 1.22.3dc872cb
Update Changelog565a77d
Fix a false positive forStyle/StringLiterals
6f92906
[Fix #10216] Fix an incorrect autocorrect forStyle/SelectByRegexp
e93f705
Merge pull request #10213 from koic/fix_error_for_layout_block_alignment_usin...1c9abe9
Fix an error forLayout/BlockAlignment
when using Ruby 3.1.0-dev00d940a
Suppress warning: method redefined; discarding old warn_on_pending_copse1de418
MakeLint/DeprecatedConstants
aware ofNet::HTTPServerException
a6a94c4
Switch back the docs versionbf18dd3
Merge pull request #10207 from mvz/fix-dot-positionDependabot 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)