CMSScanner
CMSScanner copied to clipboard
Update rubocop requirement from ~> 1.26.0 to ~> 1.28.2
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop 1.28.2
Bug fixes
- #10566: Fix a false positive for
Lint/AmbiguousBlockAssociationwhen using proc is used as a last argument. (@koic)- #10573: Fix a false positive for
Layout/SpaceBeforeBracketswhen there is a dot before brackets. (@nobuyo)- #10563: Fix
Style/BlockDelimitersunexpectedly deletes block on moving comment if methods with block are chained. (@nobuyo)- #10574: Fix a false positive for
Style/SingleArgumentDigwhen using dig with arguments forwarding. (@ydah)- #10565: Fix a false positive and a true negative for
Style/FetchEnvVar. (@koic)
Changelog
Sourced from rubocop's changelog.
1.28.2 (2022-04-25)
Bug fixes
- #10566: Fix a false positive for
Lint/AmbiguousBlockAssociationwhen using proc is used as a last argument. ([@koic][])- #10573: Fix a false positive for
Layout/SpaceBeforeBracketswhen there is a dot before brackets. ([@nobuyo][])- #10563: Fix
Style/BlockDelimitersunexpectedly deletes block on moving comment if methods with block are chained. ([@nobuyo][])- #10574: Fix a false positive for
Style/SingleArgumentDigwhen using dig with arguments forwarding. ([@ydah][])- #10565: Fix a false positive and a true negative for
Style/FetchEnvVar. ([@koic][])1.28.1 (2022-04-21)
Bug fixes
- #10559: Fix crash on CodeLengthCalculator if method call is not parenthesized. ([
@nobuyo][])- #10557: Fix a false positive for
Style/FetchEnvVarwhenENV['key']is a receiver of||=. ([@koic][])1.28.0 (2022-04-21)
New features
- #10551: Add
AllowCommentsoption toStyle/RedundantInitializeis true by default. ([@koic][])- #10552: Support autocorrection for
Style/RedundantInitialize. ([@koic][])- #10441: Add Security/CompoundHash Cop. ([
@sambostock][], [@chrisseaton][])- #10521: Add
use_builtin_english_namesstyle toStyle/SpecialGlobalVars. ([@splattael][])- #10522: Add new
Style/ObjectThencop. ([@ydah][])- #10502: Add new
Style/FetchEnvVarcop. ([@johnny-miyake][])- #10544: Support auto-correction for
Lint/DuplicateRequire. ([@koic][])- #10481: Add command line options
--display-only-correctableand--display-only-safe-correctable. ([@nobuyo][])Bug fixes
- #10528: Fix an infinite loop at autocorrect for
Layout/CaseIndentation. ([@ydah][])- #10537: Fix an incorrect auto-correct for
Style/MultilineTernaryOperatorwhen returning a multiline ternary operator expression withbreak,next, or method call. ([@koic][])- #10529: Fix autocorrect for
Style/SoleNestedConditionalcauses logical error when using a outer condition of method call by omitting parentheses for method arguments. ([@nobuyo][])- #10530: Fix a false positive for
Style/RedundantRegexpCharacterClasswhen using regexp character class with a character class containing multiple unicode code-points. ([@koic][])- #10518: Fix a false positive for
Style/DoubleNegationwhen inside returned conditional clauses with Ruby 2.7's pattern matching. ([@koic][])- #10510: Fix an error for
Style/SingleArgumentDigwhen using multipledigin a method chain. ([@koic][])- #10553: Fix crash with trailing tabs in heredocs for
Layout/TrailingWhitespace. ([@dvandersluis][])- #10488: Fix autocorrection for
Layout/MultilineMethodCallIndentationbreaks indentation for nesting of method calls. ([@nobuyo][])- #10543: Fix incorrect code length calculation for few more patterns of hash folding asked. ([
@nobuyo][])- #10541: Fix an incorrect autocorrect for
Style/SpecialGlobalVarswhen global variable as Perl name is used multiple times. ([@koic][])- #10514: Fix an error for
Lint/EmptyConditionalBodywhen missing secondelsifbody. ([@koic][])- #10469: Fix code length calculation when kwargs written in single line. ([
@nobuyo][])Changes
... (truncated)
Commits
7222575Cut 1.28.2e9fc354Update Changelog135bddbMerge pull request #10575 from nobuyo/fix-false-positive-for-layout-space-bef...490cb62[Fix #10573] Fix a false positive forLayout/SpaceBeforeBracketswhen there...7606e2cMerge pull request #10565 from ydah/fix_fetch_env_vard8f3c8fFix a false positive and a true negative forStyle/FetchEnvVardf09f42Merge pull request #10576 from ydah/fix_single_argment_digdd8bf68[Fix #10574] Fix a false positive forStyle/SingleArgumentDigwhen using di...a331f43Merge pull request #10564 from nobuyo/fix-unexpected-block-deletion-when-styl...f6e97b4Merge pull request #10567 from koic/fix_a_false_positive_for_lint_ambiguous_b...- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)