Skip to content

Commit 36506ee

Browse files
Merge #108
108: Update rubocop requirement from ~> 1.0.0 to ~> 1.1.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.1</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8896">#8896</a>: Add new <code>Lint/DuplicateRegexpCharacterClassElement</code> cop. (<a href="https://github.com/owst">@owst</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8895">#8895</a>: Add new <code>Lint/EmptyBlock</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8934">#8934</a>: Add new <code>Style/SwapValues</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7549">#7549</a>: Add new <code>Style/ArgumentsForwarding</code> cop. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8859">#8859</a>: Add new <code>Lint/UnmodifiedReduceAccumulator</code> cop. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8951">#8951</a>: Support auto-correction for <code>Style/MultipleComparison</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8953">#8953</a>: Add <code>AllowMethodComparison</code> option for <code>Lint/MultipleComparison</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8960">#8960</a>: Add <code>Regexp::Expression#loc</code> and <code>#expression</code> to replace <code>parsed_tree_expr_loc</code>. (<a href="https://github.com/marcandre">@marcandre</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8930">#8930</a>: Add rake tasks for alternative way to specify Changelog entries. (<a href="https://github.com/marcandre">@marcandre</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8940">#8940</a>: Add new <code>Style/DocumentDynamicEvalDefinition</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7753">#7753</a>: Add new <code>Lint/ToEnumArguments</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/pull/8921">#8921</a>: Prevent <code>Lint/LiteralInInterpolation</code> from removing necessary interpolation in <code>%W[]</code> and <code>%I[]</code> literals. (<a href="https://github.com/knu">@knu</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8708">#8708</a>: Fix bad regexp recognition in <code>Lint/OutOfRangeRegexpRef</code> when there are multiple regexps. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8945">#8945</a>: Fix changelog task to build a correct changelog item when <code>Fix [#123](https://github.com/rubocop-hq/rubocop/issues/123)</code> is encountered. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8914">#8914</a>: Fix autocorrection for <code>Layout/TrailingWhitespace</code> in heredocs. (<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/pull/8920">#8920</a>: Remove Capybara's <code>save_screenshot</code> from <code>Lint/Debugger</code>. (<a href="https://github.com/ybiquitous">@ybiquitous</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8919">#8919</a>: Require RuboCop AST 1.0.1 or higher. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8939">#8939</a>: Accept comparisons of multiple method calls for <code>Style/MultipleComparison</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8950">#8950</a>: Add <code>IgnoredMethods</code> and <code>IgnoredClasses</code> to <code>Lint/NumberConversion</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.1.0 (2020-10-29)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8896">#8896</a>: Add new <code>Lint/DuplicateRegexpCharacterClassElement</code> cop. ([<a href="https://github.com/owst">@owst</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8895">#8895</a>: Add new <code>Lint/EmptyBlock</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8934">#8934</a>: Add new <code>Style/SwapValues</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7549">#7549</a>: Add new <code>Style/ArgumentsForwarding</code> cop. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8859">#8859</a>: Add new <code>Lint/UnmodifiedReduceAccumulator</code> cop. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8951">#8951</a>: Support auto-correction for <code>Style/MultipleComparison</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8953">#8953</a>: Add <code>AllowMethodComparison</code> option for <code>Lint/MultipleComparison</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8960">#8960</a>: Add <code>Regexp::Expression#loc</code> and <code>#expression</code> to replace <code>parsed_tree_expr_loc</code>. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8930">#8930</a>: Add rake tasks for alternative way to specify Changelog entries. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8940">#8940</a>: Add new <code>Style/DocumentDynamicEvalDefinition</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7753">#7753</a>: Add new <code>Lint/ToEnumArguments</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/pull/8921">#8921</a>: Prevent <code>Lint/LiteralInInterpolation</code> from removing necessary interpolation in <code>%W[]</code> and <code>%I[]</code> literals. ([<a href="https://github.com/knu">@knu</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8708">#8708</a>: Fix bad regexp recognition in <code>Lint/OutOfRangeRegexpRef</code> when there are multiple regexps. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8945">#8945</a>: Fix changelog task to build a correct changelog item when <code>Fix [#123](https://github.com/rubocop-hq/rubocop/issues/123)</code> is encountered. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8914">#8914</a>: Fix autocorrection for <code>Layout/TrailingWhitespace</code> in heredocs. ([<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/pull/8920">#8920</a>: Remove Capybara's <code>save_screenshot</code> from <code>Lint/Debugger</code>. ([<a href="https://github.com/ybiquitous">@ybiquitous</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8919">#8919</a>: Require RuboCop AST 1.0.1 or higher. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8939">#8939</a>: Accept comparisons of multiple method calls for <code>Style/MultipleComparison</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8950">#8950</a>: Add <code>IgnoredMethods</code> and <code>IgnoredClasses</code> to <code>Lint/NumberConversion</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> </ul> <h2>1.0.0 (2020-10-21)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7944">#7944</a>: Add <code>MaxUnannotatedPlaceholdersAllowed</code> option to <code>Style/FormatStringToken</code> cop. ([<a href="https://github.com/Tietew">@Tietew</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8379">#8379</a>: Handle redundant parentheses around an interpolated expression for <code>Style/RedundantParentheses</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/8892">#8892</a>: Fix an error for <code>Style/StringConcatenation</code> when correcting nested concatenable parts. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8781">#8781</a>: Fix handling of comments in <code>Style/SafeNavigation</code> autocorrection. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8907">#8907</a>: Fix an incorrect auto-correct for <code>Layout/ClassStructure</code> when heredoc constant is defined after public method. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8889">#8889</a>: Cops can use new <code>after_&lt;type&gt;</code> callbacks (only for nodes that may have children nodes, like <code>:send</code> and unlike <code>:sym</code>). ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8906">#8906</a>: Fix a false positive for <code>Layout/SpaceAroundOperators</code> when upward alignment. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8585">#8585</a>: Fix false positive in <code>Style/RedundantSelf</code> cop with nested <code>self</code> access. ([<a href="https://github.com/marcotc">@marcotc</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8692">#8692</a>: Fix <code>Layout/TrailingWhitespace</code> auto-correction in heredoc. ([<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/pull/8882">#8882</a>: <strong>(Potentially breaking)</strong> RuboCop assumes that Cop classes do not define new <code>on_&lt;type&gt;</code> methods at runtime (e.g. via <code>extend</code> in <code>initialize</code>). ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop-hq/rubocop/commit/85bb3595014ececabf5d5f61f24784807eed8872"><code>85bb359</code></a> Cut 1.1</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/ea2de20a4e8775edf5b75ad67fd9acebb4d0f339"><code>ea2de20</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/1bb535494a67ac5426d2f3ae3cde8c449f54c866"><code>1bb5354</code></a> Prevent Lint/LiteralInInterpolation from removing necessary interpolation</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/59053960a9d738bd4547af38c7e95d8d79fdfd45"><code>5905396</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8948">#8948</a>] Fix autocorrection for Style/RedundantRegexpCharacterClass with %r</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/8dc26d7923f73583095143efb3b3c7c3b52b4638"><code>8dc26d7</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8950">#8950</a>] Add <code>IgnoredMethods</code> and <code>IgnoredClasses</code> to `Lint/NumberConversi...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/b98e55974195ca274b7a58bd926d7d7d96859efa"><code>b98e559</code></a> Tweak default changelog entry</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/ef05be92ee6567f57efbcaf8fd59be83edcd0e9e"><code>ef05be9</code></a> Use <code>public_send</code> instead of <code>send</code> when public sendable</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/ee016993028ff0bd9cb9fcd2b9e1bb7267a90d36"><code>ee01699</code></a> Fix some issues in <code>Lint/UnModifiedReduceAccumulator</code> (<a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8949">#8949</a>)</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/40ce90e12de93b35eabc4a7427cfa01f974b95ac"><code>40ce90e</code></a> Add <code>Regexp::Expression#loc</code> and <code>#expression</code> to replace <code>parsed_tree_expr_loc</code></li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/58c9474b3c29f3522b193e146b667d322fc093c0"><code>58c9474</code></a> Store parsed regexp in Node.</li> <li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v1.0.0...v1.1.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 92ebd30 + ac94672 commit 36506ee

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.0.0', require: false
17+
gem 'rubocop', '~> 1.1.0', require: false
1818
end

0 commit comments

Comments
 (0)