[openstreetmap/openstreetmap-website] Bump rubocop from 0.92.0 to 0.93.0 (#2878)
dependabot[bot]
notifications at github.com
Fri Oct 9 05:01:49 UTC 2020
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.92.0 to 0.93.0.
<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 0.93</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>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8810">#8810</a>: Fix multiple offense detection for <code>Style/RaiseArgs</code>. (<a href="https://github.com/pbernays">@pbernays</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8151">#8151</a>: Fix a false positive for <code>Lint/BooleanSymbol</code> when used within <code>%i[...]</code>. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8809">#8809</a>: Fix multiple offense detection for <code>Style/For</code>. (<a href="https://github.com/pbernays">@pbernays</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8801">#8801</a>: Fix <code>Layout/SpaceAroundEqualsInParameterDefault</code> only registered once in a line. (<a href="https://github.com/rdunlop">@rdunlop</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8514">#8514</a>: Correct multiple <code>Style/MethodDefParentheses</code> per file. (<a href="https://github.com/rdunlop">@rdunlop</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8825">#8825</a>: Fix crash in <code>Style/ExplicitBlockArgument</code> when code is called outside of a method. (<a href="https://github.com/ghiculescu">@ghiculescu</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8718">#8718</a>: Fix undefined methods of pseudo location. (<a href="https://github.com/ybiquitous">@ybiquitous</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8354">#8354</a>: Detect regexp named captures in <code>Style/CaseLikeIf</code> cop. (<a href="https://github.com/dsavochkin">@dsavochkin</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8821">#8821</a>: Fix an incorrect autocorrect for <code>Style/NestedTernaryOperator</code> when using a nested ternary operator expression with no parentheses on the outside. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8834">#8834</a>: Fix a false positive for <code>Style/ParenthesesAsGroupedExpression</code> when method argument parentheses are omitted and hash argument key is enclosed in parentheses. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8830">#8830</a>: Fix bad autocorrect of <code>Style/StringConcatenation</code> when string includes double quotes. (<a href="https://github.com/tleish">@tleish</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8807">#8807</a>: Fix a false positive for <code>Style/RedundantCondition</code> when using assignment by hash key access. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8848">#8848</a>: Fix a false positive for <code>Style/CombinableLoops</code> when using the same method with different arguments. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8843">#8843</a>: Fix an incorrect autocorrect for <code>Lint/AmbiguousRegexpLiteral</code> when sending method to regexp literal receiver. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8842">#8842</a>: Save actual status to cache, except corrected. (<a href="https://github.com/hatkyinc2">@hatkyinc2</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8835">#8835</a>: Fix an incorrect autocorrect for <code>Style/RedundantInterpolation</code> when using string interpolation for non-operator methods. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7495">#7495</a>: Example for <code>Lint/AmbiguousBlockAssociation</code> cop. (<a href="https://github.com/AllanSiqueira">@AllanSiqueira</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8855">#8855</a>: Fix an error for <code>Layout/EmptyLinesAroundAccessModifier</code> and <code>Style/AccessModifierDeclarations</code> when using only access modifier. (<a href="https://github.com/koic">@koic</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8803">#8803</a>: <strong>(Breaking)</strong> <code>RegexpNode#parsed_tree</code> now processes regexps including interpolation (by blanking the interpolation before parsing, rather than skipping). (<a href="https://github.com/owst">@owst</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8625">#8625</a>: Improve <code>Style/RedundantRegexpCharacterClass</code> and <code>Style/RedundantRegexpEscape</code> by using <code>regexp_parser</code> gem. (<a href="https://github.com/owst">@owst</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8646">#8646</a>: Faster find of all files in <code>TargetFinder</code> class which improves initial startup speed. (<a href="https://github.com/tleish">@tleish</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8102">#8102</a>: Consider class length instead of block length for <code>Struct.new</code>. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7408">#7408</a>: Make <code>Gemspec/RequiredRubyVersion</code> cop aware of <code>Gem::Requirement</code>. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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>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>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8810">#8810</a>: Fix multiple offense detection for <code>Style/RaiseArgs</code>. ([<a href="https://github.com/pbernays">@pbernays</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8151">#8151</a>: Fix a false positive for <code>Lint/BooleanSymbol</code> when used within <code>%i[...]</code>. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8809">#8809</a>: Fix multiple offense detection for <code>Style/For</code>. ([<a href="https://github.com/pbernays">@pbernays</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8801">#8801</a>: Fix <code>Layout/SpaceAroundEqualsInParameterDefault</code> only registered once in a line. ([<a href="https://github.com/rdunlop">@rdunlop</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8514">#8514</a>: Correct multiple <code>Style/MethodDefParentheses</code> per file. ([<a href="https://github.com/rdunlop">@rdunlop</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8825">#8825</a>: Fix crash in <code>Style/ExplicitBlockArgument</code> when code is called outside of a method. ([<a href="https://github.com/ghiculescu">@ghiculescu</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8718">#8718</a>: Fix undefined methods of pseudo location. ([<a href="https://github.com/ybiquitous">@ybiquitous</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8354">#8354</a>: Detect regexp named captures in <code>Style/CaseLikeIf</code> cop. ([<a href="https://github.com/dsavochkin">@dsavochkin</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8821">#8821</a>: Fix an incorrect autocorrect for <code>Style/NestedTernaryOperator</code> when using a nested ternary operator expression with no parentheses on the outside. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8834">#8834</a>: Fix a false positive for <code>Style/ParenthesesAsGroupedExpression</code> when method argument parentheses are omitted and hash argument key is enclosed in parentheses. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8830">#8830</a>: Fix bad autocorrect of <code>Style/StringConcatenation</code> when string includes double quotes. ([<a href="https://github.com/tleish">@tleish</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8807">#8807</a>: Fix a false positive for <code>Style/RedundantCondition</code> when using assignment by hash key access. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8848">#8848</a>: Fix a false positive for <code>Style/CombinableLoops</code> when using the same method with different arguments. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8843">#8843</a>: Fix an incorrect autocorrect for <code>Lint/AmbiguousRegexpLiteral</code> when sending method to regexp literal receiver. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8842">#8842</a>: Save actual status to cache, except corrected. ([<a href="https://github.com/hatkyinc2">@hatkyinc2</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8835">#8835</a>: Fix an incorrect autocorrect for <code>Style/RedundantInterpolation</code> when using string interpolation for non-operator methods. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7495">#7495</a>: Example for <code>Lint/AmbiguousBlockAssociation</code> cop. ([<a href="https://github.com/AllanSiqueira">@AllanSiqueira</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8855">#8855</a>: Fix an error for <code>Layout/EmptyLinesAroundAccessModifier</code> and <code>Style/AccessModifierDeclarations</code> when using only access modifier. ([<a href="https://github.com/koic">@koic</a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8803">#8803</a>: <strong>(Breaking)</strong> <code>RegexpNode#parsed_tree</code> now processes regexps including interpolation (by blanking the interpolation before parsing, rather than skipping). ([<a href="https://github.com/owst">@owst</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8625">#8625</a>: Improve <code>Style/RedundantRegexpCharacterClass</code> and <code>Style/RedundantRegexpEscape</code> by using <code>regexp_parser</code> gem. ([<a href="https://github.com/owst">@owst</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8646">#8646</a>: Faster find of all files in <code>TargetFinder</code> class which improves initial startup speed. ([<a href="https://github.com/tleish">@tleish</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8102">#8102</a>: Consider class length instead of block length for <code>Struct.new</code>. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7408">#7408</a>: Make <code>Gemspec/RequiredRubyVersion</code> cop aware of <code>Gem::Requirement</code>. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/801d30daa3efe559cb280826b94d2a62fc47bde7"><code>801d30d</code></a> Cut 0.93</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/8f9b9135ab3257330132be46b585bd024b04e730"><code>8f9b913</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8821">#8821</a>] Fix an incorrect autocorrect for <code>Style/NestedTernaryOperator</code> (#...</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/1a840997ebc12ff9b186351978b7b723cbc43094"><code>1a84099</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8718">#8718</a>] Fix undefined methods of pseudo location (<a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8823">#8823</a>)</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/2f5a21044a9117a96431f3c923029db169510331"><code>2f5a210</code></a> Keep all specs in dot_position_spec</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/0efca36b0b6e773c851834312478f65deac36e62"><code>0efca36</code></a> Fix Cop/LayoutPosition autocorrect</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/f123d7c1d92ab2f57feb539d77f7e3a1f1ba4b10"><code>f123d7c</code></a> Add tests for Layout/DotPosition cop</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/53c27fc8596aacb58436e12f827ad451c7eaf08f"><code>53c27fc</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8834">#8834</a>] Fix a false positive for <code>Style/ParenthesesAsGroupedExpression</code> (...</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/01cd87629fa6b6df1763abff6667fa9666210099"><code>01cd876</code></a> Add new <code>Style/ClassEqualityComparison</code> cop</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/ffeb6975269b6fc217bd698050558c3e18ad7165"><code>ffeb697</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8861">#8861</a> from koic/fix_an_example_for_format_string_token</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/e56313039560dddfd47c2564bfb0ee3d7d7bb7aa"><code>e563130</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8856">#8856</a> from koic/fix_an_error_for_two_cops</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.92.0...v0.93.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)
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-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)
</details>
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2878
-- Commit Summary --
* Bump rubocop from 0.92.0 to 0.93.0
-- File Changes --
M Gemfile.lock (8)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2878.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2878.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2878
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201008/e8148af7/attachment-0001.htm>
More information about the rails-dev
mailing list