microformats-ruby
microformats-ruby copied to clipboard
Update rubocop requirement from ~> 0.74.0 to ~> 0.93.1
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop 0.93.1
Bug fixes
- #8782: Fix incorrect autocorrection for
Style/TernaryParentheseswithdefined?. (@dvandersluis)- #8867: Rework
Lint/RedundantSafeNavigationto be more safe. (@fatkodima)- #8864: Fix false positive for
Style/RedundantBeginwith a postfixwhileoruntil. (@dvandersluis)- #8869: Fix a false positive for
Style/RedundantBeginwhen usingbeginfor or assignment and method call. (@koic)- #8862: Fix an error for
Lint/AmbiguousRegexpLiteralwhen using regexp without method calls in nested structure. (@koic)- #8872: Fix an error for
Metrics/ClassLengthwhen multiple assignments to constants. (@koic)- #8871: Fix a false positive for
Style/RedundantBeginwhen usingbeginfor method argument or part of conditions. (@koic)- #8875: Fix an incorrect auto-correct for
Style/ClassEqualityComparisonwhen comparing class name. (@koic)- #8880: Fix an error for
Style/ClassLengthwhen overlapping constant assignments. (@koic)
Changelog
Sourced from rubocop's changelog.
0.93.1 (2020-10-12)
Bug fixes
- #8782: Fix incorrect autocorrection for
Style/TernaryParentheseswithdefined?. ([@dvandersluis][])- #8867: Rework
Lint/RedundantSafeNavigationto be more safe. ([@fatkodima][])- #8864: Fix false positive for
Style/RedundantBeginwith a postfixwhileoruntil. ([@dvandersluis][])- #8869: Fix a false positive for
Style/RedundantBeginwhen usingbeginfor or assignment and method call. ([@koic][])- #8862: Fix an error for
Lint/AmbiguousRegexpLiteralwhen using regexp without method calls in nested structure. ([@koic][])- #8872: Fix an error for
Metrics/ClassLengthwhen multiple assignments to constants. ([@koic][])- #8871: Fix a false positive for
Style/RedundantBeginwhen usingbeginfor method argument or part of conditions. ([@koic][])- #8875: Fix an incorrect auto-correct for
Style/ClassEqualityComparisonwhen comparing class name. ([@koic][])- #8880: Fix an error for
Style/ClassLengthwhen overlapping constant assignments. ([@koic][])0.93.0 (2020-10-08)
New features
- #8796: Add new
Lint/HashCompareByIdentitycop. ([@fatkodima][])- #8833: Add new
Style/ClassEqualityComparisoncop. ([@fatkodima][])- #8668: Add new
Lint/RedundantSafeNavigationcop. ([@fatkodima][])- #8842: Add notification about cache being used to debug mode. ([
@hatkyinc2][])- #8822: Make
Style/RedundantBeginaware ofbeginwithoutrescueorensure. ([@koic][])- #7940: Add new
Lint/NoReturnInBeginEndBlockscop. ([@jcfausto][])Bug fixes
- #8810: Fix multiple offense detection for
Style/RaiseArgs. ([@pbernays][])- #8151: Fix a false positive for
Lint/BooleanSymbolwhen used within%i[...]. ([@fatkodima][])- #8809: Fix multiple offense detection for
Style/For. ([@pbernays][])- #8801: Fix
Layout/SpaceAroundEqualsInParameterDefaultonly registered once in a line. ([@rdunlop][])- #8514: Correct multiple
Style/MethodDefParenthesesper file. ([@rdunlop][])- #8825: Fix crash in
Style/ExplicitBlockArgumentwhen code is called outside of a method. ([@ghiculescu][])- #8718: Fix undefined methods of pseudo location. ([
@ybiquitous][])- #8354: Detect regexp named captures in
Style/CaseLikeIfcop. ([@dsavochkin][])- #8821: Fix an incorrect autocorrect for
Style/NestedTernaryOperatorwhen using a nested ternary operator expression with no parentheses on the outside. ([@koic][])- #8834: Fix a false positive for
Style/ParenthesesAsGroupedExpressionwhen method argument parentheses are omitted and hash argument key is enclosed in parentheses. ([@koic][])- #8830: Fix bad autocorrect of
Style/StringConcatenationwhen string includes double quotes. ([@tleish][])- #8807: Fix a false positive for
Style/RedundantConditionwhen using assignment by hash key access. ([@koic][])- #8848: Fix a false positive for
Style/CombinableLoopswhen using the same method with different arguments. ([@dvandersluis][])- #8843: Fix an incorrect autocorrect for
Lint/AmbiguousRegexpLiteralwhen sending method to regexp literal receiver. ([@koic][])- #8842: Save actual status to cache, except corrected. ([
@hatkyinc2][])- #8835: Fix an incorrect autocorrect for
Style/RedundantInterpolationwhen using string interpolation for non-operator methods. ([@koic][])- #7495: Example for
Lint/AmbiguousBlockAssociationcop. ([@AllanSiqueira][])- #8855: Fix an error for
Layout/EmptyLinesAroundAccessModifierandStyle/AccessModifierDeclarationswhen using only access modifier. ([@koic][])Changes
... (truncated)
Commits
f561472Cut 0.93.1c40307aReworkLint/RedundantSafeNavigationto be more safeeb9b664[Fix #8880] Fix an error forStyle/ClassLength0798771Merge pull request #8876 from koic/fix_incorrect_autocorrect_for_class_equali...ec93d26Tweak the offense message forStyle/ClassEqualityComparison4733d70[Fix #8875] Fix incorrect autocorrect forStyle/ClassEqualityComparison272771b[Fix #8871] Fix a false positive forStyle/RedundantBeginf488821[Fix #8872] Fix an error forMetrics/ClassLengthf79e1c0Merge pull request #8863 from koic/fix_error_for_ambiguous_regexp_literale36f120[Fix #8862] Fix an error forLint/AmbiguousRegexpLiteral- 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)