#11528: Add new Style/RedundantHeredocDelimiterQuotes cop. (@koic)
#11188: Add a --no-detach option for --start-server. This will start the server process in the foreground, which can be helpful when running within Docker where detaching the process terminates the container. (@f1sherman)
#11546: Make Lint/UselessAccessModifier aware of Ruby 3.2's Data.define. (@koic)
#11396: Add ability to profile rubocop execution via --profile and --memory options. (@fatkodima)
#11515: Fix a false negative for Naming/HeredocDelimiterNaming when using lowercase. (@koic)
#11511: Fix a false negative for Style/YodaCondition when using constant. (@koic)
#11520: Fix a false negative for Style/YodaExpression when using constant. (@koic)
#11521: Fix a false positive for Lint/FormatParameterMismatch when using Kernel.format with the interpolated number of decimal places fields match. (@koic)
#11545: Fix the following false positive for Lint/NestedMethodDefinition when using numbered parameter. (@koic)
#11535: Fix a false positive for Style/NumberedParametersLimit when only _2 or higher numbered parameter is used. (@koic)
#11508: Fix a false positive for Style/OperatorMethodCall when using multiple arguments for operator method. (@koic)
#11503: Fix a false positive for Style/RedundantCondition when using method argument with operator. (@koic)
#11529: Fix an incorrect autocorrect for Layout/ClassStructure when definitions that need to be sorted are defined alternately. (@ydah)
#11530: Fix an incorrect autocorrect for Style/AccessModifierDeclarations when multiple groupable access modifiers are defined. (@ydah)
#10910: Fix an incorrect autocorrect for Style/MultilineTernaryOperator when contains a comment. (@ydah)
#11522: Don't flag default keyword arguments in Style/ArgumentsForwarding. (@splattael)
#11547: Fix a false positive for Lint/NestedMethodDefinition when using Ruby 3.2's Data.define. (@koic)
#11537: Fix an infinite loop error for Layout/ArrayAlignment when using assigning unbracketed array elements. (@koic)
#11516: Fix missing parentheses in shorthand hash syntax as argument calls. (@gsamokovarov)
Changes
#11504: Allow initialize method in Style/DocumentationMethod. (@koic)
#11541: Enable autocorrection for Layout/LineContinuationLeadingSpace. (@eugeneius)
#11542: Mark Layout/AssignmentIndentation as safe and Lint/AssignmentInCondition as unsafe for autocorrection. (@eugeneius)
#11517: Make Lint/Debugger aware of p, PP.pp, and pp methods. (@koic)
#11539: Remove bundler from default AllowedGems of Gemspec/DevelopmentDependencies. (@koic)
#10839: Add API for 3rd party template support. ([@r7kamura][])
#11528: Add new Style/RedundantHeredocDelimiterQuotes cop. ([@koic][])
#11188: Add a --no-detach option for --start-server. This will start the server process in the foreground, which can be helpful when running within Docker where detaching the process terminates the container. ([@f1sherman][])
#11546: Make Lint/UselessAccessModifier aware of Ruby 3.2's Data.define. ([@koic][])
#11396: Add ability to profile rubocop execution via --profile and --memory options. ([@fatkodima][])
#11515: Fix a false negative for Naming/HeredocDelimiterNaming when using lowercase. ([@koic][])
#11511: Fix a false negative for Style/YodaCondition when using constant. ([@koic][])
#11520: Fix a false negative for Style/YodaExpression when using constant. ([@koic][])
#11521: Fix a false positive for Lint/FormatParameterMismatch when using Kernel.format with the interpolated number of decimal places fields match. ([@koic][])
#11545: Fix the following false positive for Lint/NestedMethodDefinition when using numbered parameter. ([@koic][])
#11535: Fix a false positive for Style/NumberedParametersLimit when only _2 or higher numbered parameter is used. ([@koic][])
#11508: Fix a false positive for Style/OperatorMethodCall when using multiple arguments for operator method. ([@koic][])
#11503: Fix a false positive for Style/RedundantCondition when using method argument with operator. ([@koic][])
#11529: Fix an incorrect autocorrect for Layout/ClassStructure when definitions that need to be sorted are defined alternately. ([@ydah][])
#11530: Fix an incorrect autocorrect for Style/AccessModifierDeclarations when multiple groupable access modifiers are defined. ([@ydah][])
#10910: Fix an incorrect autocorrect for Style/MultilineTernaryOperator when contains a comment. ([@ydah][])
#11522: Don't flag default keyword arguments in Style/ArgumentsForwarding. ([@splattael][])
#11547: Fix a false positive for Lint/NestedMethodDefinition when using Ruby 3.2's Data.define. ([@koic][])
#11537: Fix an infinite loop error for Layout/ArrayAlignment when using assigning unbracketed array elements. ([@koic][])
#11516: Fix missing parentheses in shorthand hash syntax as argument calls. ([@gsamokovarov][])
Changes
#11504: Allow initialize method in Style/DocumentationMethod. ([@koic][])
#11541: Enable autocorrection for Layout/LineContinuationLeadingSpace. ([@eugeneius][])
#11542: Mark Layout/AssignmentIndentation as safe and Lint/AssignmentInCondition as unsafe for autocorrection. ([@eugeneius][])
#11517: Make Lint/Debugger aware of p, PP.pp, and pp methods. ([@koic][])
#11539: Remove bundler from default AllowedGems of Gemspec/DevelopmentDependencies. ([@koic][])
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop from 1.44.1 to 1.45.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
170d244
Cut 1.45942065a
Update Changelogff7024e
Fix a false positive forLint/NestedMethodDefinition
f7eae2c
MakeLint/UselessAccessModifier
aware of Ruby 3.2'sData.define
9ee83ab
Remove deprecated redundant codecf2d98b
Merge pull request #10910 from ydah/feature/add_option_multiline_ternary_oper...f763220
Fix an incorrect autocorrect forStyle/MultilineTernaryOperator
when conta...b9867d8
Merge pull request #11545 from koic/fix_a_false_positive_for_lint_nested_meth...91c9a6c
Fix a false positive forLint/NestedMethodDefinition
d6183ad
Merge pull request #11543 from splattael/missing-spec-style-redundant-heredoc...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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)