#9113: Fix a false positive for Style/MethodCallWithoutArgsParentheses when assigning to a default argument with the same name. (@koic)
#9115: Fix a false positive for Style/FirstArgumentIndentation when argument has expected indent width and the method is preceded by splat for EnforcedStyle: consistent_relative_to_receiver. (@koic)
#9128: Fix an incorrect auto-correct for Style/ClassAndModuleChildren when namespace is defined as a class in the same file. (@koic)
#9105: Fix an incorrect auto-correct for Style/RedundantCondition when using operator method in else. (@koic)
#9100: Update ConfigObsoletion so that parameters can be deprecated but still accepted. (@dvandersluis)
#9108: Update Lint/UnmodifiedReduceAccumulator to handle numblocks and more than 2 arguments. (@dvandersluis)
#9098: Update Metrics/BlockLength and Metrics/MethodLength to use IgnoredMethods instead of ExcludedMethods in configuration. The previous key is retained for backwards compatibility. (@dvandersluis)
#9098: Update IgnoredMethods so that every cop that uses it will accept both strings and regexes in the configuration. (@dvandersluis)
#9113: Fix a false positive for Style/MethodCallWithoutArgsParentheses when assigning to a default argument with the same name. ([@koic][])
#9115: Fix a false positive for Style/FirstArgumentIndentation when argument has expected indent width and the method is preceded by splat for EnforcedStyle: consistent_relative_to_receiver. ([@koic][])
#9128: Fix an incorrect auto-correct for Style/ClassAndModuleChildren when namespace is defined as a class in the same file. ([@koic][])
#9105: Fix an incorrect auto-correct for Style/RedundantCondition when using operator method in else. ([@koic][])
#9100: Update ConfigObsoletion so that parameters can be deprecated but still accepted. ([@dvandersluis][])
#9108: Update Lint/UnmodifiedReduceAccumulator to handle numblocks and more than 2 arguments. ([@dvandersluis][])
#9098: Update Metrics/BlockLength and Metrics/MethodLength to use IgnoredMethods instead of ExcludedMethods in configuration. The previous key is retained for backwards compatibility. ([@dvandersluis][])
#9098: Update IgnoredMethods so that every cop that uses it will accept both strings and regexes in the configuration. ([@dvandersluis][])
1.4.2 (2020-11-25)
Bug fixes
#9083: Fix Style/RedundantArgument cop raising offense for more than one argument. ([@tejasbubane][])
#9089: Fix an incorrect auto-correct for Style/FormatString when using springf with second argument that uses an operator. ([@koic][])
#7670: Handle offenses inside heredocs for -a --disable-uncorrectable. ([@jonas054][])
#9070: Fix Lint/UnmodifiedReduceAccumulator error when the block does not have enough arguments. ([@dvandersluis][])
Changes
#9091: Have Naming/VariableNumber accept _1, _2, ... ([@marcandre][])
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
27231a6
Cut 1.5.0ee17be5
Update Changelogd29357c
[Fix #9122] Add suggestion if any gems are loaded that have rubocop extension...a9772af
[Docs] Add a section about joining the Core Team345be1d
[Fixes #8564]Metrics/AbcSize
: Add optional discount for repeated "attributes"0647c04
AbcSize calculator: visit children first05cc149
Refactorad7d911
Improve doc14585a7
[Fix #9128] Fix an incorrect auto-correct forStyle/ClassAndModuleChildren
1d75e8b
Small refactor of #9127Dependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)