Skip to content

Commit c2a8809

Browse files
Merge #117
117: Update rubocop requirement from ~> 1.2.0 to ~> 1.3.0 r=curquiza a=dependabot-preview[bot] Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop 1.3</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8761">#8761</a>: Read <code>required_ruby_version</code> from gemspec file if it exists. (<a href="https://github.com/HeroProtagonist">@HeroProtagonist</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9001">#9001</a>: Add new <code>Lint/EmptyClass</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9025">#9025</a>: Add <code>AllowedMethods</code> option to <code>Lint/ConstantDefinitionInBlock</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9014">#9014</a>: Support auto-correction for <code>Style/IfInsideElse</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8483">#8483</a>: Add new <code>Style/StaticClass</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9020">#9020</a>: Add new <code>Style/NilLambda</code> cop to check for lambdas that always return nil. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8404">#8404</a>: Add new <code>Lint/DuplicateBranch</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8499">#8499</a>: Fix <code>Style/IfUnlessModifier</code> and <code>Style/WhileUntilModifier</code> to prevent an offense if there are both first-line comment and code after <code>end</code> block. (<a href="https://github.com/dsavochkin">@dsavochkin</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8996">#8996</a>: Fix a false positive for <code>Style/MultipleComparison</code> when comparing two sides of the disjunction is unrelated. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8975">#8975</a>: Fix an infinite loop when autocorrecting <code>Layout/TrailingWhitespace</code> + <code>Lint/LiteralInInterpolation</code>. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8998">#8998</a>: Fix an error for <code>Style/NegatedIfElseCondition</code> when using negated condition and <code>if</code> branch body is empty. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9008">#9008</a>: Mark <code>Style/InfiniteLoop</code> as unsafe. (<a href="https://github.com/marcandre">@marcandre</a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8978">#8978</a>: Update <code>Layout/LineLength</code> autocorrection to be able to handle method calls with long argument lists. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9015">#9015</a>: Update <code>Lint/EmptyBlock</code> to allow for empty lambdas. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9022">#9022</a>: Add <code>NOTE</code> to keywords of <code>Style/CommentAnnotation</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9011">#9011</a>: Mark autocorrection for <code>Lint/Loop</code> as unsafe. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9026">#9026</a>: Update <code>Style/DocumentDynamicEvalDefinition</code> to detect comment blocks that document the evaluation. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9004">#9004</a>: Remove obsolete gem <code>SafeYAML</code> compatibility. (<a href="https://github.com/marcandre">@marcandre</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9023">#9023</a>: Mark unsafe for <code>Style/CollectionCompact</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9012">#9012</a>: Allow <code>AllowedIdentifiers</code> to be specified for <code>Naming/VariableNumber</code>. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.3.0 (2020-11-12)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8761">#8761</a>: Read <code>required_ruby_version</code> from gemspec file if it exists. ([<a href="https://github.com/HeroProtagonist">@HeroProtagonist</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9001">#9001</a>: Add new <code>Lint/EmptyClass</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9025">#9025</a>: Add <code>AllowedMethods</code> option to <code>Lint/ConstantDefinitionInBlock</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9014">#9014</a>: Support auto-correction for <code>Style/IfInsideElse</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8483">#8483</a>: Add new <code>Style/StaticClass</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9020">#9020</a>: Add new <code>Style/NilLambda</code> cop to check for lambdas that always return nil. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8404">#8404</a>: Add new <code>Lint/DuplicateBranch</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8499">#8499</a>: Fix <code>Style/IfUnlessModifier</code> and <code>Style/WhileUntilModifier</code> to prevent an offense if there are both first-line comment and code after <code>end</code> block. ([<a href="https://github.com/dsavochkin">@dsavochkin</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8996">#8996</a>: Fix a false positive for <code>Style/MultipleComparison</code> when comparing two sides of the disjunction is unrelated. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8975">#8975</a>: Fix an infinite loop when autocorrecting <code>Layout/TrailingWhitespace</code> + <code>Lint/LiteralInInterpolation</code>. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8998">#8998</a>: Fix an error for <code>Style/NegatedIfElseCondition</code> when using negated condition and <code>if</code> branch body is empty. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9008">#9008</a>: Mark <code>Style/InfiniteLoop</code> as unsafe. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8978">#8978</a>: Update <code>Layout/LineLength</code> autocorrection to be able to handle method calls with long argument lists. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9015">#9015</a>: Update <code>Lint/EmptyBlock</code> to allow for empty lambdas. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9022">#9022</a>: Add <code>NOTE</code> to keywords of <code>Style/CommentAnnotation</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9011">#9011</a>: Mark autocorrection for <code>Lint/Loop</code> as unsafe. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9026">#9026</a>: Update <code>Style/DocumentDynamicEvalDefinition</code> to detect comment blocks that document the evaluation. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9004">#9004</a>: Remove obsolete gem <code>SafeYAML</code> compatibility. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9023">#9023</a>: Mark unsafe for <code>Style/CollectionCompact</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9012">#9012</a>: Allow <code>AllowedIdentifiers</code> to be specified for <code>Naming/VariableNumber</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> </ul> <h2>1.2.0 (2020-11-05)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8983">#8983</a>: Support auto-correction for <code>Naming/HeredocDelimiterCase</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8004">#8004</a>: Add new <code>GitHubActionsFormatter</code> formatter. ([<a href="https://github.com/lautis">@lautis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8175">#8175</a>: Add new <code>AllowedCompactTypes</code> option for <code>Style/RaiseArgs</code>. ([<a href="https://github.com/pdobb">@pdobb</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8566">#8566</a>: Add new <code>Style/CollectionCompact</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8925">#8925</a>: Add <code>--display-time</code> option for displaying elapsed time of <code>rubocop</code> command. ([<a href="https://github.com/joshuapinter">@joshuapinter</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8967">#8967</a>: Add new <code>Style/NegatedIfElseCondition</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8984">#8984</a>: Support auto-correction for <code>Style/DoubleNegation</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8992">#8992</a>: Support auto-correction for <code>Lint/ElseLayout</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8988">#8988</a>: Support auto-correction for <code>Lint/UselessSetterCall</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8982">#8982</a>: Support auto-correction for <code>Naming/BinaryOperatorParameterName</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8989">#8989</a>: Fix multibyte support in the regexp node handler that led <code>Style/RedundantRegexpEscape</code> to malfunction and corrupt a program in auto-correction. ([<a href="https://github.com/knu">@knu</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8912">#8912</a>: Fix <code>Layout/ElseAlignment</code> for <code>rescue/else/ensure</code> inside <code>do/end</code> blocks with assignment. ([<a href="https://github.com/miry">@miry</a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop-hq/rubocop/commit/922d7af3a65106d60f26d18f15931a40aadd3b22"><code>922d7af</code></a> Cut 1.3</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/195656b017a92fc62860cf8ed2cdb9660ea1a67e"><code>195656b</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/131e4c3aef8ee4ff7688dea954f0bc7e60bf97ce"><code>131e4c3</code></a> Only report offenses as correctable if <code>Layout/LineLength</code> actually can corre...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/b322bc72d32436d6791acbc9b8c0559c2b9a863f"><code>b322bc7</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8978">#8978</a>] Update <code>Layout/LineLength</code> autocorrection to be able to handle me...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/1959d31f8fc33975c1a830bbc4fd0fde4d365d15"><code>1959d31</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9026">#9026</a>] Update <code>Style/DocumentDynamicEvalDefinition</code> to detect comment bl...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/d6ec7a74640cdefc937fee56b33eb6db1472a04d"><code>d6ec7a7</code></a> Fix formatting in CONTRIBUTING.md.</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/e299eddf4d909e67b30d6e84f0febcf122d0e8f3"><code>e299edd</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9011">#9011</a>] Mark autocorrection for <code>Lint/Loop</code> as unsafe.</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/a7a7eef963b57723d43f02a30a3248786cc696f2"><code>a7a7eef</code></a> Add new <code>Style/NilLambda</code> cop to check for lambdas that always return nil.</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/406243e60be717749c83f882c05fd4ad23150873"><code>406243e</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9025">#9025</a>] Add <code>AllowedMethods</code> to <code>Lint/ConstantDefinitionInBlock</code></li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/28649d71b6c70251188d29763dc875641e867b6a"><code>28649d7</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9015">#9015</a>] Update <code>Lint/EmptyBlock</code> to allow for empty lambdas.</li> <li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v1.2.0...v1.3.0">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2 parents 45462fc + 70f6fd7 commit c2a8809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ group :development, :test do
1414
end
1515

1616
group :development do
17-
gem 'rubocop', '~> 1.2.0', require: false
17+
gem 'rubocop', '~> 1.3.0', require: false
1818
end

0 commit comments

Comments
 (0)