You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by GitBox <gi...@apache.org> on 2021/01/08 06:42:06 UTC

[GitHub] [avro] dependabot[bot] opened a new pull request #1047: Update rubocop requirement from <= 0.81 to <= 1.9 in /lang/ruby

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


   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.8</h2>
   <h3>New features</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9324">#9324</a>: Add new <code>Lint/DeprecatedConstants</code> cop. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9319">#9319</a>: Support asdf's .tool-versions file. (<a href="https://github.com/noon-ng">@noon-ng</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9301">#9301</a>: Add new <code>Lint/RedundantDirGlobSort</code> cop. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9281">#9281</a>: Add new cop <code>Style/EndlessMethod</code>. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9298">#9298</a>: Fix an incorrect auto-correct for <code>Lint/RedundantCopDisableDirective</code> when there is a blank line before inline comment. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9233">#9233</a>: Fix <code>Style/SoleNestedConditional</code> copying non-relevant comments during auto-correction. (<a href="https://github.com/Darhazer">@Darhazer</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9312">#9312</a>: Fix <code>Layout/FirstHashElementLineBreak</code> to apply to multi-line hashes with only a single element. (<a href="https://github.com/muirdm">@muirdm</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9316">#9316</a>: Fix <code>Style/EmptyLiteral</code> registering wrong offense when using a numbered block for Hash.new, i.e. <code>Hash.new { _1[_2] = [] }</code>. (<a href="https://github.com/agargiulo">@agargiulo</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9308">#9308</a>: Fix an error for <code>Layout/EmptyLineBetweenDefs</code> when using endless class method. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9314">#9314</a>: Fix an incorrect auto-correct for <code>Style/RedundantReturn</code> when multiple return values have a parenthesized return value. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9335">#9335</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>Style/NestedParenthesizedCalls</code>. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9290">#9290</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when using array literal method argument. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9333">#9333</a>: Fix an error for <code>Style/IfInsideElse</code> when using a modifier <code>if</code> nested inside an <code>else</code> after <code>elsif</code>. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9303">#9303</a>: Fix an incorrect auto-correct for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> when using exception instantiation argument. (<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/9300">#9300</a>: Make <code>Lint/NonDeterministicRequireOrder</code> not to register offense when using Ruby 3.0 or higher. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9320">#9320</a>: Support unicode-display_width v2. (<a href="https://github.com/dduugg">@dduugg</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9288">#9288</a>: Require Parser 3.0.0.0 or higher. (<a href="https://github.com/koic">@koic</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9337">#9337</a>: Add <code>AllowedIdentifiers</code> to <code>Naming/VariableName</code>. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9295">#9295</a>: Update <code>Style/SingleLineMethods</code> to correct to an endless method definition if they are allowed. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9331">#9331</a>: Mark <code>Style/MutableConstant</code> as unsafe. (<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.8.0 (2021-01-07)</h2>
   <h3>New features</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9324">#9324</a>: Add new <code>Lint/DeprecatedConstants</code> cop. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9319">#9319</a>: Support asdf's .tool-versions file. ([<a href="https://github.com/noon-ng">@noon-ng</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9301">#9301</a>: Add new <code>Lint/RedundantDirGlobSort</code> cop. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9281">#9281</a>: Add new cop <code>Style/EndlessMethod</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   </ul>
   <h3>Bug fixes</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9298">#9298</a>: Fix an incorrect auto-correct for <code>Lint/RedundantCopDisableDirective</code> when there is a blank line before inline comment. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9233">#9233</a>: Fix <code>Style/SoleNestedConditional</code> copying non-relevant comments during auto-correction. ([<a href="https://github.com/Darhazer">@Darhazer</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9312">#9312</a>: Fix <code>Layout/FirstHashElementLineBreak</code> to apply to multi-line hashes with only a single element. ([<a href="https://github.com/muirdm">@muirdm</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9316">#9316</a>: Fix <code>Style/EmptyLiteral</code> registering wrong offense when using a numbered block for Hash.new, i.e. <code>Hash.new { _1[_2] = [] }</code>. ([<a href="https://github.com/agargiulo">@agargiulo</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9308">#9308</a>: Fix an error for <code>Layout/EmptyLineBetweenDefs</code> when using endless class method. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9314">#9314</a>: Fix an incorrect auto-correct for <code>Style/RedundantReturn</code> when multiple return values have a parenthesized return value. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9335">#9335</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>Style/NestedParenthesizedCalls</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9290">#9290</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when using array literal method argument. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9333">#9333</a>: Fix an error for <code>Style/IfInsideElse</code> when using a modifier <code>if</code> nested inside an <code>else</code> after <code>elsif</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9303">#9303</a>: Fix an incorrect auto-correct for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> when using exception instantiation argument. ([<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/9300">#9300</a>: Make <code>Lint/NonDeterministicRequireOrder</code> not to register offense when using Ruby 3.0 or higher. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9320">#9320</a>: Support unicode-display_width v2. ([<a href="https://github.com/dduugg">@dduugg</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9288">#9288</a>: Require Parser 3.0.0.0 or higher. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9337">#9337</a>: Add <code>AllowedIdentifiers</code> to <code>Naming/VariableName</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9295">#9295</a>: Update <code>Style/SingleLineMethods</code> to correct to an endless method definition if they are allowed. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9331">#9331</a>: Mark <code>Style/MutableConstant</code> as unsafe. ([<a href="https://github.com/koic">@koic</a>][])</li>
   </ul>
   <h2>1.7.0 (2020-12-25)</h2>
   <h3>New features</h3>
   <ul>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9260">#9260</a>: Support auto-correction for <code>Style/MultilineMethodSignature</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9282">#9282</a>: Make <code>Style/RedundantFreeze</code> and <code>Style/MutableConstant</code> cops aware of frozen regexp and range literals when using Ruby 3.0. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9223">#9223</a>: Add new <code>Lint/AmbiguousAssignment</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9243">#9243</a>: Support auto-correction for <code>Style/CommentedKeyword</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9283">#9283</a>: Add new <code>Style/HashExcept</code> cop. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9231">#9231</a>: Add new <code>Layout/SpaceBeforeBrackets</code> cop. ([<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/9232">#9232</a>: Fix <code>Style/SymbolProc</code> registering wrong offense when using a symbol numbered block argument greater than 1, i.e. <code>[[1, 2]].map { _2.succ }</code>. ([<a href="https://github.com/tdeo">@tdeo</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9274">#9274</a>: Fix error in <code>Metrics/ClassLength</code> when the class only contains comments. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9213">#9213</a>: Fix a false positive for <code>Style/RedanduntFreeze</code> when using <code>Array#*</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9279">#9279</a>: Add support for endless methods to <code>Style/MethodCallWithArgsParentheses</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9245">#9245</a>: Fix <code>Lint/AmbiguousRegexpLiteral</code> when given a <code>match_with_lvasgn</code> node. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   <li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9276">#9276</a>: Add support for endless methods to <code>Style/SingleLineMethods</code>. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/0af1a84197038e58ab7e649625a49b6a128169f3"><code>0af1a84</code></a> Cut 1.8</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/0073a140821caeba2a3e7bdedf214fd36a4093cf"><code>0073a14</code></a> Update Changelog</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/a2d7e0a8af05d6ec4cc97f277041a1c9750205d8"><code>a2d7e0a</code></a> Improve handling of comments in ClassMethodsDefinition autocorrection</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/3fea16293a884ad555159bf2a3e4c70119dc593f"><code>3fea162</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9233">#9233</a>] Improve handling of comments in SoleNestedConditional autocorrection</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/9eb5daf4d448d1d254848ba6fc1e7363785b6c5c"><code>9eb5daf</code></a> Update <code>Style/SingleLineMethods</code> to correct to an endless method definition i...</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/1063b4ebca42e4eb7af120120fbaa4fcfeba08e6"><code>1063b4e</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9337">#9337</a>] Add <code>AllowedIdentifiers</code> to <code>Naming/VariableName</code>.</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/b734f24671c703a31006e81c1908ca9c3114bc4e"><code>b734f24</code></a> Use IRB instead of Pry</li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/653df197cbe5a9810969279f1be6741bd1805a59"><code>653df19</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9335">#9335</a>] Fix an incorrect auto-correct for <code>NestedParenthesizedCalls</code></li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/e2718b4e043bcb771429db19edce8665c8738133"><code>e2718b4</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9333">#9333</a>] Fix an error for <code>Style/IfInsideElse</code></li>
   <li><a href="https://github.com/rubocop-hq/rubocop/commit/c0d28ef33b61cecb787522b2924e668e7dff1872"><code>c0d28ef</code></a> Add new <code>Lint/DeprecatedConstants</code> cop</li>
   <li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.0.0...v1.8.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>


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [avro] dependabot[bot] closed pull request #1047: Update rubocop requirement from <= 0.81 to <= 1.9 in /lang/ruby

Posted by GitBox <gi...@apache.org>.
dependabot[bot] closed pull request #1047:
URL: https://github.com/apache/avro/pull/1047


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [avro] dependabot[bot] commented on pull request #1047: Update rubocop requirement from <= 0.81 to <= 1.9 in /lang/ruby

Posted by GitBox <gi...@apache.org>.
dependabot[bot] commented on pull request #1047:
URL: https://github.com/apache/avro/pull/1047#issuecomment-770328516


   Superseded by #1077.


----------------------------------------------------------------
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:
users@infra.apache.org