#9849: Fix a false negative for Layout/HashAlignment when setting EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and using misaligned keyword arguments. (@koic)
#9854: Allow braced numeric blocks in omit_parentheses style of Style/MethodCallWithArgsParentheses. (@gsamokovarov)
#9850: Fix missing AllowComments option for Lint/EmptyInPattern. (@koic)
RuboCop 1.16
New features
#9841: Support guard if and unless syntax keywords of Ruby 2.7's pattern matching for Layout/SpaceAroundKeyword. (@koic)
#9812: Support auto-correction for Style/IdenticalConditionalBranches. (@koic)
#9834: Add new Style/MultilineInPatternThen cop. (@koic)
Bug fixes
#9822: Fix a false directive comment range for Lint/RedundantCopDisableDirective. (@koic)
#9819: Fix a false negative for Style/TopLevelMethodDefinition when defining a top-level method after a class definition. (@koic)
#9836: Fix incorrect corrections for Layout/HashAlignment when a kwsplat node is on the same line as a pair node with table style. (@dvandersluis)
#9805: Fix a false negative for Layout/HashAlignment when set EnforcedStyle: with_fixed_indentation of ArgumentAlignment. (@koic)
#9811: Fix an error for Layout/ArgumentAlignment with Layout/FirstHashElementIndentation when setting EnforcedStyle: with_fixed_indentation. (@koic)
Changes
#9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. (@dvandersluis)
#9780: Support summary report for JUnitFormatter. (@koic)
#9798: Make Layout/ArgumentAlignment aware of kwargs. (@koic)
Bug fixes
#9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. (@dvandersluis)
#9849: Fix a false negative for Layout/HashAlignment when setting EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and using misaligned keyword arguments. ([@koic][])
#9854: Allow braced numeric blocks in omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@gsamokovarov][])
#9850: Fix missing AllowComments option for Lint/EmptyInPattern. ([@koic][])
1.16.0 (2021-06-01)
New features
#9841: Support guard if and unless syntax keywords of Ruby 2.7's pattern matching for Layout/SpaceAroundKeyword. ([@koic][])
#9812: Support auto-correction for Style/IdenticalConditionalBranches. ([@koic][])
#9833: Add new Style/InPatternThen cop. ([@koic][])
#9840: Adds AllowedReceivers option for Style/HashEachMethods. ([@koic][])
#9818: Support Ruby 2.7's in pattern syntax for Layout/CaseIndentation. ([@koic][])
#9838: Support Ruby 2.7's pattern matching syntax for Layout/SpaceAroundKeyword. ([@koic][])
#9793: Add Style/QuotedSymbols to enforce consistency in quoted symbols. ([@dvandersluis][])
#9825: Add new Lint/EmptyInPattern cop. ([@koic][])
#9834: Add new Style/MultilineInPatternThen cop. ([@koic][])
Bug fixes
#9822: Fix a false directive comment range for Lint/RedundantCopDisableDirective. ([@koic][])
#9819: Fix a false negative for Style/TopLevelMethodDefinition when defining a top-level method after a class definition. ([@koic][])
#9836: Fix incorrect corrections for Layout/HashAlignment when a kwsplat node is on the same line as a pair node with table style. ([@dvandersluis][])
#9805: Fix a false negative for Layout/HashAlignment when set EnforcedStyle: with_fixed_indentation of ArgumentAlignment. ([@koic][])
#9811: Fix an error for Layout/ArgumentAlignment with Layout/FirstHashElementIndentation when setting EnforcedStyle: with_fixed_indentation. ([@koic][])
Changes
#9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. ([@dvandersluis][])
#9780: Support summary report for JUnitFormatter. ([@koic][])
#9798: Make Layout/ArgumentAlignment aware of kwargs. ([@koic][])
Bug fixes
#9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. ([@dvandersluis][])
#9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. ([@dvandersluis][])
#9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. ([@dvandersluis][])
#9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. ([@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)
Bumps rubocop from 0.61.1 to 1.16.1.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
cc4b75a
Cut 1.16.14bbbc16
Update Changelogffdd302
configuration: * seems to bind before `; escape ita8ba2f9
Merge pull request #9856 from MSP-Greg/mingw-ci721cbf0
Merge pull request #9854 from gsamokovarov/omit-parentheses-braced-numblocks3de2a7b
Allow braced numeric blocks in Style/MethodCallWithArgsParentheses6ca1147
Revert "Merge pull request #9808 from koic/workaournd_for_mingw_build_error"73975f9
Remove redundant code forStyle/MultilineWhenThen
632e2f1
Merge pull request #9851 from koic/fix_missing_option_for_lint_empty_in_patternba141f5
[Fix #9850] Fix missing option forLint/EmptyInPattern
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)