Skip to content

Commit ea39bd1

Browse files
Merge #104
104: Update rubocop requirement from ~> 0.93.0 to ~> 1.0.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.0</h2> <p>The first <strong>stable</strong> RuboCop release ever is finally here! You can read more about this special release <a href="https://metaredux.com/posts/2020/10/21/rubocop-1-0.html">here</a>.</p> <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> </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> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7966">#7966</a>: <strong>(Breaking)</strong> Enable all pending cops for RuboCop 1.0. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8490">#8490</a>: <strong>(Breaking)</strong> Change logic for cop department name computation. Cops inside deep namespaces (5 or more levels deep) now belong to departments with names that are calculated by joining module names starting from the third one with slashes as separators. For example, cop <code>Rubocop::Cop::Foo::Bar::Baz</code> now belongs to <code>Foo/Bar</code> department (previously it was <code>Bar</code>). (<a href="https://github.com/dsavochkin">@dsavochkin</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8692">#8692</a>: Default changed to disallow <code>Layout/TrailingWhitespace</code> in heredoc. (<a href="https://github.com/marcandre">@marcandre</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8894">#8894</a>: Make <code>Security/Open</code> aware of <code>URI.open</code>. (<a href="https://github.com/koic">@koic</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8901">#8901</a>: Fix false positive for <code>Naming/BinaryOperatorParameterName</code> when defining <code>=~</code>. (<a href="https://github.com/zajn">@zajn</a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8908">#8908</a>: Show extension cop versions when using <code>--verbose-version</code> option. (<a href="https://github.com/koic">@koic</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.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> </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> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7966">#7966</a>: <strong>(Breaking)</strong> Enable all pending cops for RuboCop 1.0. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8490">#8490</a>: <strong>(Breaking)</strong> Change logic for cop department name computation. Cops inside deep namespaces (5 or more levels deep) now belong to departments with names that are calculated by joining module names starting from the third one with slashes as separators. For example, cop <code>Rubocop::Cop::Foo::Bar::Baz</code> now belongs to <code>Foo/Bar</code> department (previously it was <code>Bar</code>). ([<a href="https://github.com/dsavochkin">@dsavochkin</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8692">#8692</a>: Default changed to disallow <code>Layout/TrailingWhitespace</code> in heredoc. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8894">#8894</a>: Make <code>Security/Open</code> aware of <code>URI.open</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8901">#8901</a>: Fix false positive for <code>Naming/BinaryOperatorParameterName</code> when defining <code>=~</code>. ([<a href="https://github.com/zajn">@zajn</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8908">#8908</a>: Show extension cop versions when using <code>--verbose-version</code> option. ([<a href="https://github.com/koic">@koic</a>][])</li> </ul> <h2>0.93.1 (2020-10-12)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8782">#8782</a>: Fix incorrect autocorrection for <code>Style/TernaryParentheses</code> with <code>defined?</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8867">#8867</a>: Rework <code>Lint/RedundantSafeNavigation</code> to be more safe. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8864">#8864</a>: Fix false positive for <code>Style/RedundantBegin</code> with a postfix <code>while</code> or <code>until</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8869">#8869</a>: Fix a false positive for <code>Style/RedundantBegin</code> when using <code>begin</code> for or assignment and method call. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8862">#8862</a>: Fix an error for <code>Lint/AmbiguousRegexpLiteral</code> when using regexp without method calls in nested structure. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8872">#8872</a>: Fix an error for <code>Metrics/ClassLength</code> when multiple assignments to constants. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8871">#8871</a>: Fix a false positive for <code>Style/RedundantBegin</code> when using <code>begin</code> for method argument or part of conditions. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8875">#8875</a>: Fix an incorrect auto-correct for <code>Style/ClassEqualityComparison</code> when comparing class name. ([<a href="https://github.com/koic">@koic</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8880">#8880</a>: Fix an error for <code>Style/ClassLength</code> when overlapping constant assignments. ([<a href="https://github.com/koic">@koic</a>][])</li> </ul> <h2>0.93.0 (2020-10-08)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8796">#8796</a>: Add new <code>Lint/HashCompareByIdentity</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8833">#8833</a>: Add new <code>Style/ClassEqualityComparison</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8668">#8668</a>: Add new <code>Lint/RedundantSafeNavigation</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8842">#8842</a>: Add notification about cache being used to debug mode. ([<a href="https://github.com/hatkyinc2">@hatkyinc2</a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8822">#8822</a>: Make <code>Style/RedundantBegin</code> aware of <code>begin</code> without <code>rescue</code> or <code>ensure</code>. ([<a href="https://github.com/koic">@koic</a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop-hq/rubocop/commit/f74c118d80447d6c61d1e9f3eace83de603dc37d"><code>f74c118</code></a> Cut RuboCop 1.0!!!</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/8245906b3e2faf35073c2b7d42f7e9f7e8e4f904"><code>8245906</code></a> Move a changelog entry</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/89c9628edeea574eb35b9c31103d3df6ab8a1b21"><code>89c9628</code></a> Fix false positive in <code>Style/RedundantSelf</code> cop with nested <code>self</code> access (<a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8">#8</a>...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/b4873b71ac57159ce3d3934e6bea1aa386074af0"><code>b4873b7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8911">#8911</a> from koic/fix_an_error_when_occurring_cop_error</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/46739572f81df03f494086ac1157b14499166478"><code>4673957</code></a> Fix a false positive for <code>Layout/SpaceAroundOperators</code></li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/98e1021703846c094afcfd1cd2db928f42053886"><code>98e1021</code></a> Fix an error when ocurring cop error</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/e0713ad19821d61cb57c71a9bd2aafde1407f5aa"><code>e0713ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8908">#8908</a> from koic/add_extension_versions_when_using_verbose_...</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/96d280981cf10e4fb53395cf561016bb7c4cce29"><code>96d2809</code></a> Show extension cop versions when using <code>--verbose-version</code> option</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/def360069bb3f0c01dd27cc478cf539c7a4878d7"><code>def3600</code></a> Add <code>on_after_\&lt;type&gt;</code> callbacks</li> <li><a href="https://github.com/rubocop-hq/rubocop/commit/a6dd18cab5487d88d0cbee9ee2a3d518a3d68c08"><code>a6dd18c</code></a> Fix an incorrect auto-correct for <code>Layout/ClassStructure</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.93.0...v1.0.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 0c951c1 + 1cc4e80 commit ea39bd1

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

0 commit comments

Comments
 (0)