Bump rubocop from 0.93.0 to 0.93.1
Bumps rubocop from 0.93.0 to 0.93.1.
Release notes
Sourced from rubocop's releases.
RuboCop 0.93.1
Bug fixes
- #8782: Fix incorrect autocorrection for
Style/TernaryParentheses
withdefined?
. (@dvandersluis)- #8867: Rework
Lint/RedundantSafeNavigation
to be more safe. (@fatkodima)- #8864: Fix false positive for
Style/RedundantBegin
with a postfixwhile
oruntil
. (@dvandersluis)- #8869: Fix a false positive for
Style/RedundantBegin
when usingbegin
for or assignment and method call. (@koic)- #8862: Fix an error for
Lint/AmbiguousRegexpLiteral
when using regexp without method calls in nested structure. (@koic)- #8872: Fix an error for
Metrics/ClassLength
when multiple assignments to constants. (@koic)- #8871: Fix a false positive for
Style/RedundantBegin
when usingbegin
for method argument or part of conditions. (@koic)- #8875: Fix an incorrect auto-correct for
Style/ClassEqualityComparison
when comparing class name. (@koic)- #8880: Fix an error for
Style/ClassLength
when overlapping constant assignments. (@koic)
Changelog
Sourced from rubocop's changelog.
0.93.1 (2020-10-12)
Bug fixes
- #8782: Fix incorrect autocorrection for
Style/TernaryParentheses
withdefined?
. (@dvandersluis)- #8867: Rework
Lint/RedundantSafeNavigation
to be more safe. (@fatkodima)- #8864: Fix false positive for
Style/RedundantBegin
with a postfixwhile
oruntil
. (@dvandersluis)- #8869: Fix a false positive for
Style/RedundantBegin
when usingbegin
for or assignment and method call. (@koic)- #8862: Fix an error for
Lint/AmbiguousRegexpLiteral
when using regexp without method calls in nested structure. (@koic)- #8872: Fix an error for
Metrics/ClassLength
when multiple assignments to constants. (@koic)- #8871: Fix a false positive for
Style/RedundantBegin
when usingbegin
for method argument or part of conditions. (@koic)- #8875: Fix an incorrect auto-correct for
Style/ClassEqualityComparison
when comparing class name. (@koic)- #8880: Fix an error for
Style/ClassLength
when overlapping constant assignments. (@koic)
Commits
-
f561472
Cut 0.93.1 -
c40307a
ReworkLint/RedundantSafeNavigation
to be more safe -
eb9b664
[Fix #8880] Fix an error forStyle/ClassLength
-
0798771
Merge pull request #8876 from koic/fix_incorrect_autocorrect_for_class_equali... -
ec93d26
Tweak the offense message forStyle/ClassEqualityComparison
-
4733d70
[Fix #8875] Fix incorrect autocorrect forStyle/ClassEqualityComparison
-
272771b
[Fix #8871] Fix a false positive forStyle/RedundantBegin
-
f488821
[Fix #8872] Fix an error forMetrics/ClassLength
-
f79e1c0
Merge pull request #8863 from koic/fix_error_for_ambiguous_regexp_literal -
e36f120
[Fix #8862] Fix an error forLint/AmbiguousRegexpLiteral
- Additional commits viewable in compare view