Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #809 +/- ##
=======================================
Coverage 66.90% 66.90%
=======================================
Files 46 46
Lines 1281 1281
=======================================
Hits 857 857
Misses 424 424 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
54bb4f6 to
9793600
Compare
a850809 to
2eecb76
Compare
2eecb76 to
7e57dc5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.84.0→1.85.1Release Notes
rubocop/rubocop (rubocop)
v1.85.1Compare Source
Bug fixes
Style/FileOpenwhenFile.openis passed as an argument or returned from a method. ([@sferik][])Style/ReduceToHashfalse positive when accumulator is read in key/value. ([@sferik][])Style/RedundantParentheseswhen parenthesizing a range in a block body. ([@koic][])Changes
v1.85.0Compare Source
New features
mise.tomlas source for TargetRubyVersion. ([@kitsane][])Lint/UnreachablePatternBranchcop. ([@sferik][])Style/FileOpencop. ([@sferik][])Style/MapJoincop. ([@sferik][])Style/OneClassPerFilecop. ([@sferik][])Style/PartitionInsteadOfDoubleSelectcop. ([@sferik][])Style/PredicateWithKindcop. ([@sferik][])Style/ReduceToHashcop. ([@sferik][])Style/RedundantMinMaxBycop. ([@sferik][])Style/RedundantStructKeywordInitcop. ([@koic][])Style/SelectByKindcop. ([@sferik][])Style/SelectByRangecop. ([@sferik][])Style/TallyMethodcop. ([@sferik][])Lint/DataDefineOverridecop. ([@bbatsov][])InternalAffairs/ItblockHandlercop. ([@bbatsov][])Bug fixes
Style/EmptyClassDefinition. ([@koic][])Style/NegatedWhilewhen the last expression of anuntilcondition is negated. ([@koic][])Style/EmptyClassDefinitionmessage wording. ([@bbatsov][])Lint/Voidwhennilis used incasebranch. ([@5hun-s][])Style/IfUnlessModifierwhen modifier forms are used inside string interpolations. ([@koic][])Style/HashTransformKeysandStyle/HashTransformValues. ([@sferik][])Lint/Voidforeachblocks where the return value may be meaningful (e.g.,Enumerator#each). ([@sferik][])Layout/IndentationWidthfalse positive for chained method blocks whenEnforcedStyleAlignWithisstart_of_line. ([@krororo][])Lint/Voidto detect void expressions incase/whenbranches. ([@bbatsov][])Parser::ClobberingErrorinLint/UselessAssignmentwhen autocorrecting a useless assignment that wraps a block containing another useless assignment. ([@koic][])Layout/MultilineAssignmentLayoutwhen usingnumblockoritblockwithSupportedTypes: ['block']. ([@bbatsov][])Layout/FirstHashElementIndentation. ([@ydakuka][])Layout/MultilineAssignmentLayout. ([@sanfrecce-osaka][])Lint/RedundantSafeNavigationwhen using&.respond_to?with methods defined onObject(e.g.,:class). ([@bbatsov][])Lint/SafeNavigationConsistencyautocorrect as unsafe. ([@bbatsov][])SyntaxErrorinLint/InterpolationCheckwhen single quoted string contains double quotes with invalid interpolation. ([@ydakuka][])Changes
Style/HashAsLastArrayItemwhen multiline hash elements. ([@koic][])Style/EndlessMethodcop to consider receivers. ([@fatkodima][])class_definitiontoclass_keywordinEnforcedStyleofStyle/EmptyClassDefinition. ([@koic][])String.newwith interpolated strings toStyle/RedundantInterpolationUnfreeze. ([@lovro-bikic][])Style/RedundantParentheses. ([@lovro-bikic][])v1.84.2Compare Source
Bug fixes
Style/BlockDelimiterswhen autocorrecting nested multi-line blocks with adjacent curly braces. ([@koic][])Style/IfUnlessModifierwhen the first value uses a normalifand the others use modifierif. ([@koic][])Layout/FirstArgumentIndentationwhen first arguments are over-indented in nested method calls. ([@koic][])Layout/MultilineMethodCallIndentationwhen a multiline method call follows a hash access. ([@koic][])Layout/MultilineMethodCallIndentationwhen a multiline method call includes a keyword argument whose value is a method call with a block. ([@koic][])Layout/EmptyLinesAfterModuleInclusionwhenincludeis nested inside an array. ([@eugeneius][])Style/FormatStringTokento not autocorrect strings outside of format method context in aggressive mode. ([@ydakuka][])Style/HashAsLastArrayItemwhen an array contains only a single hash element. ([@koic][])Style/MethodDefParentheseswhen using splat or forwarding arguments without parentheses. ([@koic][])Layout/MultilineMethodCallIndentationwhen a multi-dot method chain is inside a hash pair value. ([@ydakuka][])Layout/MultilineMethodCallIndentationwhen a method is chained after a single-line block. ([@ydakuka][])Offense#highlighted_areaforPseudoSourceRangelocations. ([@rafaelfranca][])Style/IfUnlessModifierwhen the first value uses a normalifand the others use ternary operator. ([@koic][])v1.84.1Compare Source
Bug fixes
Layout/IndentationWidthcop. ([@viralpraxis][])Style/NegativeArrayIndexwhen usingselfas array with implicitselfreceiver. ([@koic][])Style/GuardClausewhen using heredoc as an argument of method call in raise inelsebranch. ([@koic][])Style/IfUnlessModifierwhen multipleif/unlessstatements share the same line in arrays, method arguments, or hash values. ([@ydakuka][])Layout/FirstArgumentIndentationandLayout/LineLengthwhen correcting method chains. ([@ydakuka][])Layout/MultilineMethodCallIndentationto properly handle method chains inside hash pair values. ([@ydakuka][])Changes
infinite?method to the allowlists forNaming/PredicateMethod,Style/IfWithBooleanLiteralBranches, andStyle/RedundantCondition, in addition to the existingnonzero?. ([@koic][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.