[GitHub] [avro] dependabot[bot] opened a new pull request #1189: Update rubocop requirement from < 1.0 to < 2.0 in /lang/ruby

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [avro] dependabot[bot] opened a new pull request #1189: Update rubocop requirement from < 1.0 to < 2.0 in /lang/ruby

GitBox

dependabot[bot] opened a new pull request #1189:
URL: https://github.com/apache/avro/pull/1189


   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.12.1</h2>
   <h3>Bug fixes</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9649">#9649</a>: Fix when highlights contain multibyte characters. (<a href="https://github.com/osyo-manga"><code>@​osyo-manga</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9646">#9646</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>EnforcedStyle: conditionals</code> of <code>Style/AndOr</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9608">#9608</a>: Fix a false positive for <code>Layout/EmptyLineAfterGuardClause</code> when using guard clause is after <code>rubocop:enable</code> comment. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9637">#9637</a>: Allow parentheses for forwarded args in <code>Style/MethodCallWithArgsParentheses</code>'s <code>omit_parentheses</code> style to avoid endless range ambiguity. (<a href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9641">#9641</a>: Fix <code>Layout/MultilineMethodCallIndentation</code> triggering on method calls that look like operators. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9638">#9638</a>: Fix an error for <code>Layout/LineLength</code> when over limit at right hand side of multiple assignment. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9639">#9639</a>: Fix <code>Style/RedundantBegin</code> removing comments on assignment statement correction. (<a href="https://github.com/marcotc"><code>@​marcotc</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9671">#9671</a>: Fix an incorrect auto-correct for <code>Lint/AmbiguousOperator</code> with <code>Style/MethodCallWithArgsParentheses</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9645">#9645</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when using single line class method definition. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9644">#9644</a>: Fix an error and an incorrect auto-correct for <code>Style/MultilineMethodSignature</code> when line break after opening parenthesis. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9672">#9672</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using  multi-argument <code>Hash[]</code> as a method argument. (<a href="https://github.com/koic"><code>@​koic</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.12.1 (2021-04-04)</h2>
   <h3>Bug fixes</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9649">#9649</a>: Fix when highlights contain multibyte characters. ([<a href="https://github.com/osyo-manga"><code>@​osyo-manga</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9646">#9646</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>EnforcedStyle: conditionals</code> of <code>Style/AndOr</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9608">#9608</a>: Fix a false positive for <code>Layout/EmptyLineAfterGuardClause</code> when using guard clause is after <code>rubocop:enable</code> comment. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9637">#9637</a>: Allow parentheses for forwarded args in <code>Style/MethodCallWithArgsParentheses</code>'s <code>omit_parentheses</code> style to avoid endless range ambiguity. ([<a href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9641">#9641</a>: Fix <code>Layout/MultilineMethodCallIndentation</code> triggering on method calls that look like operators. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9638">#9638</a>: Fix an error for <code>Layout/LineLength</code> when over limit at right hand side of multiple assignment. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9639">#9639</a>: Fix <code>Style/RedundantBegin</code> removing comments on assignment statement correction. ([<a href="https://github.com/marcotc"><code>@​marcotc</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9671">#9671</a>: Fix an incorrect auto-correct for <code>Lint/AmbiguousOperator</code> with <code>Style/MethodCallWithArgsParentheses</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9645">#9645</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when using single line class method definition. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9644">#9644</a>: Fix an error and an incorrect auto-correct for <code>Style/MultilineMethodSignature</code> when line break after opening parenthesis. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9672">#9672</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using  multi-argument <code>Hash[]</code> as a method argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   </ul>
   <h2>1.12.0 (2021-03-24)</h2>
   <h3>New features</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9615">#9615</a>: Add new <code>Style/StringChars</code> cop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9629">#9629</a>: Add <code>AllowParenthesesInStringInterpolation</code> configuration to <code>Style/MethodCallWithArgsParentheses</code> to allow parenthesized calls in string interpolation. ([<a href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9219">#9219</a>: Allow excluding some constants from Style/Documentation. ([<a href="https://github.com/fsateler"><code>@​fsateler</code></a>][])</li>
   <li>Add <code>AllowNil</code> option for <code>Lint/SuppressedException</code> to allow/disallow <code>rescue nil</code>. ([<a href="https://github.com/corroded"><code>@​corroded</code></a>][])</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9560">#9560</a>: Fix an error for <code>Lint/ClassMethodsDefinitions</code> when defining class methods with <code>class &lt;&lt; self</code> with comment only body. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9551">#9551</a>: Fix a false positive for <code>Style/UnlessLogicalOperators</code> when using <code>||</code> operator and invoked method name includes &quot;or&quot; in the conditional branch. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9620">#9620</a>: Allow parentheses in operator methods calls for <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code>. ([<a href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9622">#9622</a>: Fixed <code>Style/BisectedAttrAccessor</code> autocorrection to handle multiple bisected attrs in the same macro. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9606">#9606</a>: Fix an error for <code>Layout/IndentationConsistency</code> when using access modifier at the top level. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9619">#9619</a>: Fix infinite loop between <code>Layout/IndentationWidth</code> and <code>Layout/RescueEnsureAlignment</code> autocorrection. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9633">#9633</a>: Fix an incorrect auto-correct for <code>Lint/NumberConversion</code> when <code>to_i</code> method in symbol form. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9616">#9616</a>: Fix an incorrect auto-correct for <code>Style/EvalWithLocation</code> when using <code>#instance_eval</code> with a string argument in parentheses. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9429">#9429</a>: Fix <code>Style/NegatedIfElseCondition</code> autocorrect to keep comments in correct branch. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9631">#9631</a>: Fix an incorrect auto-correct for <code>Style/RedundantReturn</code> when using <code>return</code> with splat argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9627">#9627</a>: Fix an incorrect auto-correct for <code>Style/StructInheritance</code> when extending instance of Struct without <code>do</code> ... <code>end</code> and class body is empty. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5953">#5953</a>: Fix a false positive for <code>Style/AccessModifierDeclarations</code> when using <code>module_function</code> with symbol. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9593">#9593</a>: Fix an error when processing a directory is named <code>{}</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9599">#9599</a>: Fix an error for <code>Style/CaseLikeIf</code> when using <code>include?</code> without a receiver. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9582">#9582</a>: Fix incorrect auto-correct for <code>Style/ClassEqualityComparison</code> when comparing <code>Module#name</code> for equality. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9603">#9603</a>: Fix a false positive for <code>Style/SoleNestedConditional</code> when using nested modifier on value assigned in condition. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9598">#9598</a>: Fix RuboCop::MagicComment#valid_shareable_constant_value?. ([<a href="https://github.com/kachick"><code>@​kachick</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9625">#9625</a>: Allow parentheses in yield arguments with <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code> to fix invalid Ruby auto-correction. ([<a href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9558">#9558</a>: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9613">#9613</a>: Fix a false positive for <code>Style/RedundantSelf</code> when a self receiver on an lvalue of mlhs arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9586">#9586</a>: Update <code>Naming/RescuedExceptionsVariableName</code> to not register on inner rescues when nested. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li>
   </ul>
   <h3>Changes</h3>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/rubocop/rubocop/commit/adf5629f5d2b22336185286c5197fdf6a4153382"><code>adf5629</code></a> Cut 1.12.1</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/a5c28873ef585e285f68c5e53f6e043eca804b9c"><code>a5c2887</code></a> Update Changelog</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/7f4542222541a1651661565d84e66a4329e4169c"><code>7f45422</code></a> Document that we allow parens where omitting them is ambiguous or invalid</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/93ecd7ead81fa0f9eee785d33f91b2ba3bc0ae61"><code>93ecd7e</code></a> Parenthesized forwarded args in Style/MethodCallWithArgsParentheses</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/c8c33585f52547cf96e81c5d7463af78fdebfc20"><code>c8c3358</code></a> Configure rspec shared_context_metadata_behavior to :apply_to_host_groups (co...</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/50dc01eeb8ed5a741f77c00d269177a51e283511"><code>50dc01e</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9672">#9672</a>] Fix an incorrect auto-correct for <code>Style/HashConversion</code></li>
   <li><a href="https://github.com/rubocop/rubocop/commit/f4e72bc3591c78b74866c86da9af16a8959dbe12"><code>f4e72bc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9671">#9671</a> from koic/fix_incorrect_autocorrect_for_ambiguous_op...</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/e0342b2fbcefc40f52571efa44de4f63da5758dc"><code>e0342b2</code></a> Fix an incorrect auto-correct for <code>Lint/AmbiguousOperator</code></li>
   <li><a href="https://github.com/rubocop/rubocop/commit/1cd90c7d0c79665a041051ec1e70da4310a26c1b"><code>1cd90c7</code></a> Remove (almost) redundant setting.</li>
   <li><a href="https://github.com/rubocop/rubocop/commit/2d1fd7ba3b4d2b3d014fce35c22a3d0b50400b1d"><code>2d1fd7b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9646">#9646</a> from koic/fix_incorrect_autocorrect_for_style_and_or</li>
   <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v0.0.0...v1.12.1">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>


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [avro] dependabot[bot] closed pull request #1189: Update rubocop requirement from < 1.0 to < 2.0 in /lang/ruby

GitBox

dependabot[bot] closed pull request #1189:
URL: https://github.com/apache/avro/pull/1189


   


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]