#8921: Prevent Lint/LiteralInInterpolation from removing necessary interpolation in %W[] and %I[] literals. (@knu)
#8708: Fix bad regexp recognition in Lint/OutOfRangeRegexpRef when there are multiple regexps. (@dvandersluis)
#8945: Fix changelog task to build a correct changelog item when Fix [#123](https://github.com/rubocop-hq/rubocop/issues/123) is encountered. (@dvandersluis)
#8914: Fix autocorrection for Layout/TrailingWhitespace in heredocs. (@marcandre)
Changes
#8920: Remove Capybara's save_screenshot from Lint/Debugger. (@ybiquitous)
#8919: Require RuboCop AST 1.0.1 or higher. (@koic)
#8939: Accept comparisons of multiple method calls for Style/MultipleComparison. (@koic)
#8950: Add IgnoredMethods and IgnoredClasses to Lint/NumberConversion. (@dvandersluis)
#8921: Prevent Lint/LiteralInInterpolation from removing necessary interpolation in %W[] and %I[] literals. ([@knu][])
#8708: Fix bad regexp recognition in Lint/OutOfRangeRegexpRef when there are multiple regexps. ([@dvandersluis][])
#8945: Fix changelog task to build a correct changelog item when Fix [#123](https://github.com/rubocop-hq/rubocop/issues/123) is encountered. ([@dvandersluis][])
#8914: Fix autocorrection for Layout/TrailingWhitespace in heredocs. ([@marcandre][])
Changes
#8920: Remove Capybara's save_screenshot from Lint/Debugger. ([@ybiquitous][])
#8919: Require RuboCop AST 1.0.1 or higher. ([@koic][])
#8939: Accept comparisons of multiple method calls for Style/MultipleComparison. ([@koic][])
#8950: Add IgnoredMethods and IgnoredClasses to Lint/NumberConversion. ([@dvandersluis][])
1.0.0 (2020-10-21)
New features
#7944: Add MaxUnannotatedPlaceholdersAllowed option to Style/FormatStringToken cop. ([@Tietew][])
#8379: Handle redundant parentheses around an interpolated expression for Style/RedundantParentheses cop. ([@fatkodima][])
Bug fixes
#8892: Fix an error for Style/StringConcatenation when correcting nested concatenable parts. ([@fatkodima][])
#8781: Fix handling of comments in Style/SafeNavigation autocorrection. ([@dvandersluis][])
#8907: Fix an incorrect auto-correct for Layout/ClassStructure when heredoc constant is defined after public method. ([@koic][])
#8889: Cops can use new after_<type> callbacks (only for nodes that may have children nodes, like :send and unlike :sym). ([@marcandre][])
#8906: Fix a false positive for Layout/SpaceAroundOperators when upward alignment. ([@koic][])
#8585: Fix false positive in Style/RedundantSelf cop with nested self access. ([@marcotc][])
#8692: Fix Layout/TrailingWhitespace auto-correction in heredoc. ([@marcandre][])
Changes
#8882: (Potentially breaking) RuboCop assumes that Cop classes do not define new on_<type> methods at runtime (e.g. via extend in initialize). ([@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)
- 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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
85bb359
Cut 1.1ea2de20
Update Changelog1bb5354
Prevent Lint/LiteralInInterpolation from removing necessary interpolation5905396
[Fix #8948] Fix autocorrection for Style/RedundantRegexpCharacterClass with %r8dc26d7
[Fix #8950] AddIgnoredMethods
andIgnoredClasses
to `Lint/NumberConversi...b98e559
Tweak default changelog entryef05be9
Usepublic_send
instead ofsend
when public sendableee01699
Fix some issues inLint/UnModifiedReduceAccumulator
(#8949)40ce90e
AddRegexp::Expression#loc
and#expression
to replaceparsed_tree_expr_loc
58c9474
Store parsed regexp in Node.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)