#8232: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when end immediately after access modifier. (@koic)
#7777: Fix crash for Layout/MultilineArrayBraceLayout when comment is present after last element. (@shekhar-patil)
#7776: Fix crash for Layout/MultilineMethodCallBraceLayout when comment is present before closing braces. (@shekhar-patil)
#8282: Fix Style/IfUnlessModifier bad precedence detection. (@tejasbubane)
#8289: Fix Style/AccessorGrouping to not register offense for accessor with comment. (@tejasbubane)
#8310: Handle major version requirements in Gemspec/RequiredRubyVersion. (@eugeneius)
#8315: Fix crash for Style/PercentLiteralDelimiters when the source contains invalid characters. (@eugeneius)
#8239: Don't load .rubocop.yml files at all outside of the current project, unless they are personal configuration files and the project has no configuration. (@deivid-rodriguez)
Changes
#8021: Rewrite Layout/SpaceAroundMethodCallOperator cop to make it faster. (@fatkodima)
#8294: Add of to AllowedNames of MethodParameterName cop. (@AlexWayfer)
RuboCop 0.87.1
Bug fixes
#8252: Fix a command line option name from --safe-autocorrect to --safe-auto-correct, which is compatible with RuboCop 0.86 and lower. (@koic)
#8259: Fix false positives for Style/BisectedAttrAccessor when accessors have different access modifiers. (@fatkodima)
#8253: Fix false positives for Style/AccessorGrouping when accessors have different access modifiers. (@fatkodima)
#8257: Fix an error for Style/BisectedAttrAccessor when using attr_reader and attr_writer with splat arguments. (@fatkodima)
#8239: Don't load .rubocop.yml from personal folders to check for exclusions if given a custom configuration file. (@deivid-rodriguez)
#8256: Fix an error for --auto-gen-config when running a cop who do not support auto-correction. (@koic)
#8262: Fix Lint/DeprecatedOpenSSLConstant auto-correction of OpenSSL::Cipher to use lower case, as some Linux-based systems do not accept upper cased cipher names. ([@bdewater][])
#8232: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when end immediately after access modifier. ([@koic][])
#7777: Fix crash for Layout/MultilineArrayBraceLayout when comment is present after last element. ([@shekhar-patil][])
#7776: Fix crash for Layout/MultilineMethodCallBraceLayout when comment is present before closing braces. ([@shekhar-patil][])
#8282: Fix Style/IfUnlessModifier bad precedence detection. ([@tejasbubane][])
#8289: Fix Style/AccessorGrouping to not register offense for accessor with comment. ([@tejasbubane][])
#8310: Handle major version requirements in Gemspec/RequiredRubyVersion. ([@eugeneius][])
#8315: Fix crash for Style/PercentLiteralDelimiters when the source contains invalid characters. ([@eugeneius][])
#8239: Don't load .rubocop.yml files at all outside of the current project, unless they are personal configuration files and the project has no configuration. ([@deivid-rodriguez][])
Changes
#8021: Rewrite Layout/SpaceAroundMethodCallOperator cop to make it faster. ([@fatkodima][])
#8294: Add of to AllowedNames of MethodParameterName cop. ([@AlexWayfer][])
0.87.1 (2020-07-07)
Bug fixes
#8189: Fix an error for Layout/MultilineBlockLayout where spaces for a new line where not considered. ([@knejad][])
#8252: Fix a command line option name from --safe-autocorrect to --safe-auto-correct, which is compatible with RuboCop 0.86 and lower. ([@koic][])
#8259: Fix false positives for Style/BisectedAttrAccessor when accessors have different access modifiers. ([@fatkodima][])
#8253: Fix false positives for Style/AccessorGrouping when accessors have different access modifiers. ([@fatkodima][])
#8257: Fix an error for Style/BisectedAttrAccessor when using attr_reader and attr_writer with splat arguments. ([@fatkodima][])
#8239: Don't load .rubocop.yml from personal folders to check for exclusions if given a custom configuration file. ([@deivid-rodriguez][])
#8256: Fix an error for --auto-gen-config when running a cop who do not support auto-correction. ([@koic][])
#8262: Fix Lint/DeprecatedOpenSSLConstant auto-correction of OpenSSL::Cipher to use lower case, as some Linux-based systems do not accept upper cased cipher names. ([@bdewater][])
0.87.0 (2020-07-06)
New features
#7868: Cop::Base is the new recommended base class for cops. ([@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)
Bumps rubocop from 0.75.0 to 0.88.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
acddd73
Cut 0.88535c544
Add a changelog entryd1822bc
Ignore configuration files outside of the projecte1a2da0
Only look up to the project's root for exclusions0563861
Fixtraverse_files_upwards
to make searching up to the root possible18e318f
Merge pull request #8279 from Fatsoma/feature/require_order_block_passfe066fc
Merge branch 'master' into feature/require_order_block_pass0c786c0
Fix line number for empty file offense930b65f
Fix expect_offense when annotations missing34a2dbd
Merge pull request #8316 from fatkodima/autocorrect-to-disjunctive_assignment...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)