#7528: Add new Lint/NonDeterministicRequireOrder cop. (@mangara)
#7559: Add EnforcedStyleForExponentOperator parameter to Layout/SpaceAroundOperators cop. (@khiav223577)
Bug fixes
#7530: Typo in Style/TrivialAccessors's AllowedMethods. (@movermeyer)
#7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. (@koic)
#7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. (@koic)
#7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. (@jethroo)
#7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. (@tejasbubane)
#7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). (@koic)
#7029: Make Style/Attr not flag offense for custom attr method. (@tejasbubane)
#7574: Fix a corner case that made Style/GuardClause crash. (@buehmann)
Changes
#7514: Expose correctable status on offense and in formatters. (@tyler-ball)
#7542: (Breaking) Move LineLength cop from Metrics department to Layout department. (@koic)
#7528: Add new Lint/NonDeterministicRequireOrder cop. ([@mangara][])
#7559: Add EnforcedStyleForExponentOperator parameter to Layout/SpaceAroundOperators cop. ([@khiav223577][])
Bug fixes
#7530: Typo in Style/TrivialAccessors's AllowedMethods. ([@movermeyer][])
#7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. ([@koic][])
#7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. ([@koic][])
#7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. ([@jethroo][])
#7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. ([@tejasbubane][])
#7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). ([@koic][])
#7029: Make Style/Attr not flag offense for custom attr method. ([@tejasbubane][])
#7574: Fix a corner case that made Style/GuardClause crash. ([@buehmann][])
Changes
#7514: Expose correctable status on offense and in formatters. ([@tyler-ball][])
#7542: (Breaking) Move LineLength cop from Metrics department to Layout department. ([@koic][])
0.77.0 (2019-11-27)
Bug fixes
#7493: Fix Style/RedundantReturn to inspect conditional constructs that are preceded by other statements. ([@buehmann][])
#7509: Fix Layout/SpaceInsideArrayLiteralBrackets to correct empty lines. ([@ayacai115][])
#7517: Style/SpaceAroundKeyword allows :: after super. ([@ozydingo][])
#7515: Fix a false negative for Style/RedundantParentheses when calling a method with safe navigation operator. ([@koic][])
#7477: Fix line length autocorrect for semicolons in string literals. ([@maxh][])
#7522: Fix a false-positive edge case (n % 2 == 2) for Style/EvenOdd. ([@buehmann][])
#7506: Make Style/IfUnlessModifier respect all settings in Metrics/LineLength. ([@jonas054][])
Changes
#7077: (Breaking) Further standardisation of cop names. ([@scottmatthewman][])
#7469: (Breaking) Replace usages of the terms Whitelist and Blacklist with better alternatives. ([@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)
- `@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
7aa3766
Cut 0.78d2d8c66
Merge pull request #7575 from buehmann/guard-empty-begin/7574acea172
Fix an oversight in specsb88ff75
[Fix #7574] Fix corner case in Style/GuardClausedff7052
Replace "can not" with "cannot"cc7e221
Add new Lint/NonDeterministicRequireOrder cop (#7528)7276872
Support EnforcedStyleForExponentOperator for SpaceAroundOperators copd54e15c
Add the Style Guide URL forGemspec/RubyVersionGlobalsUsage
e6a51be
Tweak a changelog entryaffae92
Fix the 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)