You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Update rubocop requirement from ~> 1.26.0 to ~> 1.52.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.26.0...v1.52.0)
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
PR body:
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.52</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11873">#11873</a>: Add <code>ComparisonsThreshold</code> config option to <code>Style/MultipleComparison</code>. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11886">#11886</a>: Add new <code>Style/RedundantArrayConstructor</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11873">#11873</a>: Add new <code>Style/RedundantRegexpConstructor</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11841">#11841</a>: Add new <code>Style/RedundantFilterChain</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11908">#11908</a>: Support <code>AllowedReceivers</code> for <code>Style/CollectionMethods</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11890">#11890</a>: Fix a false negative for <code>Lint/RedundantSafeNavigation</code> when <code>&.</code> is used for <code>to_d</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11880">#11880</a>: Fix a false positive for <code>Style/ExactRegexpMatch</code> when using literal with quantifier in regexp. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11902">#11902</a>: Fix a false positive for <code>Style/RequireOrder</code> when single-quoted string and double-quoted string are mixed. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11879">#11879</a>: Fix a false positive for <code>Style/SelectByRegexp</code> when Ruby 2.2 or lower analysis. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11891">#11891</a>: Fix <code>Style/AccessorGrouping</code> to accept macros separated from accessors by space. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11905">#11905</a>: Fix an error for <code>Lint/UselessAssignment</code> when a variable is assigned with rest assignment and unreferenced. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11899">#11899</a>: Fix an incorrect autocorrect for <code>Style/SingleLineMethods</code> when using Ruby 3.0 and <code>Style/EndlessMethod</code> is disabled. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11884">#11884</a>: Make <code>rubocop -V</code> display rubocop-factory_bot version when using it. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11893">#11893</a>: Fix a false positive for <code>Lint/InheritException</code> when inheriting <code>Exception</code> with omitted namespace. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11898">#11898</a>: Fix offences in calls inside blocks with braces for <code>Style/MethodCallWithArgsParentheses</code> with <code>omit_parentheses</code> enforced style. (<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11857">#11857</a>: Server mode: only read $stdin when -s or --stdin argument provided. (<a href="https://github.com/naveg"><code>@naveg</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p>
<blockquote>
<h2>1.52.0 (2023-06-02)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11873">#11873</a>: Add <code>ComparisonsThreshold</code> config option to <code>Style/MultipleComparison</code>. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11886">#11886</a>: Add new <code>Style/RedundantArrayConstructor</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11873">#11873</a>: Add new <code>Style/RedundantRegexpConstructor</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11841">#11841</a>: Add new <code>Style/RedundantFilterChain</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11908">#11908</a>: Support <code>AllowedReceivers</code> for <code>Style/CollectionMethods</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11890">#11890</a>: Fix a false negative for <code>Lint/RedundantSafeNavigation</code> when <code>&.</code> is used for <code>to_d</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11880">#11880</a>: Fix a false positive for <code>Style/ExactRegexpMatch</code> when using literal with quantifier in regexp. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11902">#11902</a>: Fix a false positive for <code>Style/RequireOrder</code> when single-quoted string and double-quoted string are mixed. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11879">#11879</a>: Fix a false positive for <code>Style/SelectByRegexp</code> when Ruby 2.2 or lower analysis. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11891">#11891</a>: Fix <code>Style/AccessorGrouping</code> to accept macros separated from accessors by space. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11905">#11905</a>: Fix an error for <code>Lint/UselessAssignment</code> when a variable is assigned with rest assignment and unreferenced. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11899">#11899</a>: Fix an incorrect autocorrect for <code>Style/SingleLineMethods</code> when using Ruby 3.0 and <code>Style/EndlessMethod</code> is disabled. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11884">#11884</a>: Make <code>rubocop -V</code> display rubocop-factory_bot version when using it. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11893">#11893</a>: Fix a false positive for <code>Lint/InheritException</code> when inheriting <code>Exception</code> with omitted namespace. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11898">#11898</a>: Fix offences in calls inside blocks with braces for <code>Style/MethodCallWithArgsParentheses</code> with <code>omit_parentheses</code> enforced style. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11857">#11857</a>: Server mode: only read $stdin when -s or --stdin argument provided. ([<a href="https://github.com/naveg"><code>@naveg</code></a>][])</li>
</ul>
<h2>1.51.0 (2023-05-13)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11819">#11819</a>: Add autocorrection for <code>Lint/AmbiguousBlockAssociation</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11597">#11597</a>: Add autocorrection for <code>Lint/UselessAssignment</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11848">#11848</a>: Add autocorrection for <code>Lint/Void</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11851">#11851</a>: Add autocorrection for <code>Naming/MemoizedInstanceVariableName</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11856">#11856</a>: Add autocorrection for <code>Style/CombinableLoops</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11824">#11824</a>: Add autocorrection for <code>Lint/TopLevelReturnWithArgument</code>. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11869">#11869</a>: Add new <code>Style/ExactRegexpMatch</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11814">#11814</a>: Make <code>Style/CollectionCompact</code> aware of <code>delete_if</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11866">#11866</a>: Make <code>Style/Semicolon</code> aware of redundant semicolons in string interpolation braces. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11812">#11812</a>: Fix a false negative for <code>Style/Attr</code> when using <code>attr</code> and method definitions. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11861">#11861</a>: Fix a false positive for <code>Layout/SpaceAfterSemicolon</code> when no space between a semicolon and a closing brace of string interpolation. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11830">#11830</a>: Fix a false positive for <code>Lint/IncompatibleIoSelectWithFiberScheduler</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11846">#11846</a>: Fix a false positive for <code>Lint/RedundantStringCoercion</code> when using <code>to_s(argument)</code> in <code>puts</code> argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11865">#11865</a>: Fix an error for <code>Naming/ConstantName</code> when assigning a constant from an empty branch of <code>else</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11844">#11844</a>: Fix a false positive for <code>Style/RedundantLineContinuation</code> when using line concatenation for assigning a return value and without argument parentheses. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11808">#11808</a>: Fix a false positive for <code>Style/RegexpLiteral</code> when using a regexp starts with equal as a method argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11822">#11822</a>: Fix an error for <code>Layout/SpaceInsideBlockBraces</code> when a method call with a multiline block is used as an argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/issues/11849">#11849</a>: Fix an error for <code>Style/ConditionalAssignment</code> when <code>EnforcedStyle: assign_inside_condition</code> and using empty <code>case</code> condition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop/pull/11967">#11967</a>: Fix error for <code>Style/IfInsideElse</code> when a deep nested multiline <code>if...then...elsif...else...end</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/93a378315ef283bc6ae470be655d3d9b51abcbc1"><code>93a3783</code></a> Cut 1.52</li>
<li><a href="https://github.com/rubocop/rubocop/commit/727967fa2842abde6ef3293c95ffc008d1bce67d"><code>727967f</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/41fa2aad1ee6e59164de9d9897842c09413b9ad0"><code>41fa2aa</code></a> Server mode: only read $stdin when -s or --stdin argument provided</li>
<li><a href="https://github.com/rubocop/rubocop/commit/a01fd9c1d84278ca78e87cf60d06cb2737212856"><code>a01fd9c</code></a> Add new <code>Style/RedundantArrayConstructor</code> cop</li>
<li><a href="https://github.com/rubocop/rubocop/commit/356fc463c4099f9e3bb9961dd1ba4103dfc72635"><code>356fc46</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11908">#11908</a>] Support <code>AllowedReceivers</code> for <code>Style/CollectionMethods</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/713e7da884786dfa2929590e291f6a0990c7285f"><code>713e7da</code></a> Remove a redundant <code>SafeAutoCorrect: false</code> config</li>
<li><a href="https://github.com/rubocop/rubocop/commit/172cc752c39a15439730adb5d8a75058ac18ecf4"><code>172cc75</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11907">#11907</a> from koic/fix_an_error_for_lint_useless_assignment</li>
<li><a href="https://github.com/rubocop/rubocop/commit/63ede93d0a3ee314d3ccc77cd2aa680d1d130b7b"><code>63ede93</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11905">#11905</a>] Fix an error for <code>Lint/UselessAssignment</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/1884a46d9284b47a07763e2506276662c7c1ae6e"><code>1884a46</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11902">#11902</a> from koic/fix_a_false_positive_for_style_require_order</li>
<li><a href="https://github.com/rubocop/rubocop/commit/db9e469372893584e6eea0c2141bda4e44c89bab"><code>db9e469</code></a> Fix a false positive for <code>Style/RequireOrder</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.26.0...v1.52.0">compare view</a></li>
</ul>
</details>
<br />
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>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Branch name:
Commit message:
PR body:
The text was updated successfully, but these errors were encountered: