#9196: Fix ConfigObsoletion::ExtractedCop raising errors for loaded features when bundler is not activated. (@dvandersluis)
RuboCop 1.6
New features
#9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@dvandersluis)
#9182: Support auto-correction for Style/RedundantArgument. (@koic)
#9186: Support auto-correction for Style/FloatDivision. (@koic)
#9167: Support auto-correct for StyleSingleLineBlockParams. (@koic)
Bug fixes
#9177: Remove back-ref related code from Style/SpecialGlobalVars. (@r7kamura)
#9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. (@koic)
#9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. (@dvandersluis)
#9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. (@tas50)
Changes
#9171: Add "did you mean" message when failing due to invalid cops in configuration. (@dvandersluis)
#8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. (@dvandersluis)
#9172: Add Style/PerlBackrefs targets and change message more detailed. (@r7kamura)
#9187: Update formatters to output [Correctable] for correctable offenses. (@dvandersluis)
#9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. (@dvandersluis)
RuboCop 1.5.2
Bug fixes
#9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. (@koic)
#9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. (@koic)
#9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. (@dvandersluis)
#9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. (@koic)
Changes
#9080: Make Lint/ShadowingOuterVariable aware of Ractor. ([@tejasbubane][])
#9196: Fix ConfigObsoletion::ExtractedCop raising errors for loaded features when bundler is not activated. ([@dvandersluis][])
1.6.0 (2020-12-09)
New features
#9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. ([@dvandersluis][])
#9182: Support auto-correction for Style/RedundantArgument. ([@koic][])
#9186: Support auto-correction for Style/FloatDivision. ([@koic][])
#9167: Support auto-correct for StyleSingleLineBlockParams. ([@koic][])
Bug fixes
#9177: Remove back-ref related code from Style/SpecialGlobalVars. ([@r7kamura][])
#9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. ([@koic][])
#9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. ([@dvandersluis][])
#9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. ([@tas50][])
Changes
#9171: Add "did you mean" message when failing due to invalid cops in configuration. ([@dvandersluis][])
#8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. ([@dvandersluis][])
#9172: Add Style/PerlBackrefs targets and change message more detailed. ([@r7kamura][])
#9187: Update formatters to output [Correctable] for correctable offenses. ([@dvandersluis][])
#9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. ([@dvandersluis][])
1.5.2 (2020-12-04)
Bug fixes
#9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. ([@koic][])
#9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. ([@koic][])
#9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. ([@dvandersluis][])
#9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. ([@koic][])
Changes
#9080: Make Lint/ShadowingOuterVariable aware of Ractor. ([@tejasbubane][])
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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps rubocop from 0.87.1 to 1.6.1.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
e338caf
Cut 1.6.1d1a66be
Update Changelog9a4cb23
Prevent broken changelog025685c
Merge pull request #9199 from dvandersluis/improve-project-spec562d701
Improve the test output from project_spec in case there are missing configura...d95a384
[Fix #9196] Fix ConfigObsoletion::ExtractedCop raising errors for loaded feat...905e363
Tweak the changeloga1a8939
Switch back the docs version64e8c47
Cut 1.6337570f
Update ChangelogDependabot 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)