ruby3-rails6-bootstrap-heroku
ruby3-rails6-bootstrap-heroku copied to clipboard
Bump rubocop from 1.74.0 to 1.75.1 in the rubocop group
Bumps the rubocop group with 1 update: rubocop.
Updates rubocop from 1.74.0 to 1.75.1
Release notes
Sourced from rubocop's releases.
RuboCop v1.75.1
Changes
- #14038: Rename
EnforcedStyle: allow_named_parametertoEnforcedStyle: only_numbered_parametersinStyle/ItBlockParameter. (@koic)RuboCop v1.75.0
New features
- #12049: Add new
Style/HashFetchChaincop to detect chainedfetchcalls that can be replaced with a single call todig. (@dvandersluis)- #13597: Add new
Style/ItBlockParametercop. (@koic)- #13899: Enable reusable Prism parse result for Ruby LSP add-on. (
@koic)- #14015: Support
itblock parameter inLayoutcops. (@koic)- #14017: Support
itblock parameter inLintcops. (@koic)- #14018: Support
itblock parameter inMetricscops. (@koic)- #14013: Support
itblock parameter inStylecops. (@koic)- #14025: Support
TargetRubyVersion: 3.5(experimental). (@earlopain)Bug fixes
- #14022: Fix an error for
Style/HashFetchChainwhen no arguments are given tofetch. (@koic)- #14028: Fix false negative for
Layout/MultilineMethodParameterLineBreakswhen class method definitions are used. (@vlad-pisanov)- #14027: Fix false negative for
Layout/LineLengthwhen autocorrecting class method definitions. (@vlad-pisanov)- #8099: Fix infinite loop between
Layout/SpaceAroundOperatorsandLayout/HashAlignmentwithEnforcedHashRocketStylebeing an array containingtable. (@dvandersluis)- #14021: Fix handling of long heredoc lines with SplitStrings enabled. (
@mauro-oto)- #13968: Fix
InternalAffairs/RedundantDescribedClassAsSubjectcop error on missingdescribe. (@viralpraxis)- #14036: Fix false negative for
Lint/ShadowingOuterLocalVariablewhen block local variable is used inside a condition. (@lovro-bikic)- #13990: Fix a false positive for
Lint/UselessAssignmentwhen a variable is reassigned in a different branch. ([@eugeneius][])- #14012: Fix incorrect autocorrections for
Style/SoleNestedConditional. (@lovro-bikic)- #14020: Fix comment autocorrection for
Style/IfInsideElse. (@lovro-bikic)Changes
- #12358: Add
doesas a forbidden prefix toNaming/PredicateName. (@dvandersluis)- #13621: Add
ForbiddenIdentifiersandForbiddenPatternsconfig options toNaming/MethodNamecop. ([@tejasbubane][])- #13986: Add support for
Array#intersectiontoStyle/ArrayIntersect. (@dvandersluis)- #14006: Allow cop renames to trigger warnings instead of fatal errors. (
@dvandersluis)- #13617: Use the
prismtranslation layer to analyze Ruby 3.4+ by default. (@earlopain)- #14024: Change
Style/RedundantParenthesesto offend parentheses for chained&&expressions. (@lovro-bikic)- #14029: Add
AllowConsecutiveConditionalssetting toStyle/Nextto allow consecutive conditional statements. (@vlad-pisanov)- #14016: Update
Style/RedundantFormatto register offenses when the only argument toformatorsprintfis a constant. (@dvandersluis)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.75.1 (2025-03-26)
Changes
- #14038: Rename
EnforcedStyle: allow_named_parametertoEnforcedStyle: only_numbered_parametersinStyle/ItBlockParameter. ([@koic][])1.75.0 (2025-03-26)
New features
- #12049: Add new
Style/HashFetchChaincop to detect chainedfetchcalls that can be replaced with a single call todig. ([@dvandersluis][])- #13597: Add new
Style/ItBlockParametercop. ([@koic][])- #13899: Enable reusable Prism parse result for Ruby LSP add-on. ([
@koic][])- #14015: Support
itblock parameter inLayoutcops. ([@koic][])- #14017: Support
itblock parameter inLintcops. ([@koic][])- #14018: Support
itblock parameter inMetricscops. ([@koic][])- #14013: Support
itblock parameter inStylecops. ([@koic][])- #14025: Support
TargetRubyVersion: 3.5(experimental). ([@earlopain][])Bug fixes
- #14022: Fix an error for
Style/HashFetchChainwhen no arguments are given tofetch. ([@koic][])- #14028: Fix false negative for
Layout/MultilineMethodParameterLineBreakswhen class method definitions are used. ([@vlad-pisanov][])- #14027: Fix false negative for
Layout/LineLengthwhen autocorrecting class method definitions. ([@vlad-pisanov][])- #8099: Fix infinite loop between
Layout/SpaceAroundOperatorsandLayout/HashAlignmentwithEnforcedHashRocketStylebeing an array containingtable. ([@dvandersluis][])- #14021: Fix handling of long heredoc lines with SplitStrings enabled. ([
@mauro-oto][])- #13968: Fix
InternalAffairs/RedundantDescribedClassAsSubjectcop error on missingdescribe. ([@viralpraxis][])- #14036: Fix false negative for
Lint/ShadowingOuterLocalVariablewhen block local variable is used inside a condition. ([@lovro-bikic][])- #13990: Fix a false positive for
Lint/UselessAssignmentwhen a variable is reassigned in a different branch. ([@eugeneius][])- #14012: Fix incorrect autocorrections for
Style/SoleNestedConditional. ([@lovro-bikic][])- #14020: Fix comment autocorrection for
Style/IfInsideElse. ([@lovro-bikic][])Changes
- #12358: Add
doesas a forbidden prefix toNaming/PredicateName. ([@dvandersluis][])- #13621: Add
ForbiddenIdentifiersandForbiddenPatternsconfig options toNaming/MethodNamecop. ([@tejasbubane][])- #13986: Add support for
Array#intersectiontoStyle/ArrayIntersect. ([@dvandersluis][])- #14006: Allow cop renames to trigger warnings instead of fatal errors. ([
@dvandersluis][])- #13617: Use the
prismtranslation layer to analyze Ruby 3.4+ by default. ([@earlopain][])- #14024: Change
Style/RedundantParenthesesto offend parentheses for chained&&expressions. ([@lovro-bikic][])- #14029: Add
AllowConsecutiveConditionalssetting toStyle/Nextto allow consecutive conditional statements. ([@vlad-pisanov][])- #14016: Update
Style/RedundantFormatto register offenses when the only argument toformatorsprintfis a constant. ([@dvandersluis][])
Commits
3872dceCut 1.75.1b0999f3Update Changelog3ed6febRenameallow_named_parametertoonly_numbered_parametersin `Style/ItBloc...784abb2Merge pull request #14039 from lovro-bikic/adjust-raise-args-docs246dee9Update Style/RaiseArgs docscf5e382Reset the docs version9c2bc8eCut 1.7595ed987Update Changelogf969e0dFix handling of long heredoc lines with SplitStrings enabled91fafebFix comment autocorrection for Style/IfInsideElse- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions