Skip to content

build(deps-dev): bump rubocop from 1.30.1 to 1.31.2#502

Closed
dependabot[bot] wants to merge 152 commits intomainfrom
dependabot/bundler/rubocop-1.31.2
Closed

build(deps-dev): bump rubocop from 1.30.1 to 1.31.2#502
dependabot[bot] wants to merge 152 commits intomainfrom
dependabot/bundler/rubocop-1.31.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Jul 7, 2022

Bumps rubocop from 1.30.1 to 1.31.2.

Release notes

Sourced from rubocop's releases.

RuboCop 1.31.2

Bug fixes

  • #10774: Fix false negatives in Style/DocumentationMethod when a public method is defined after a private one. (@​Darhazer)
  • #10764: Fix performance issue for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. (@​j-miyake)
  • #10780: Fix an error when using rubocop:auto_correct deprecated custom rake task. (@​koic)
  • #10786: Fix a false positive for Lint/NonAtomicFileOperation when using complex conditional. (@​koic)
  • #10785: Fix a false negative for Style/RedundantParentheses when parens around a receiver of a method call with an argument. (@​koic)
  • #10026: Fix merging of array parameters in either parent of default config. (@​jonas054)

RuboCop 1.31.1

Bug fixes

  • #10763: Fix a false positive for Layout/LineContinuationSpacing when using continuation keyword \ after __END__. (@​koic)
  • #10755: Fix a false positive for Lint/LiteralAsCondition when using a literal in case-in condition where the match variable is used in in are accepted as a pattern matching. (@​koic)
  • #10760: Fix a false positive for Lint/NonAtomicFileOperation when using FileTest.exist? with if condition that has else branch. (@​koic)
  • #10745: Require JSON 2.3 or higher to fix an incompatible JSON API error. (@​koic)
  • #10754: Fix an incorrect autocorrect for Style/HashExcept when using a non-literal collection receiver for include?. (@​koic)
  • #10751: Fix autocorrect for Layout/FirstHashElementIndentation. (@​j-miyake)
  • #10750: Recover 7x slow running rubocop. (@​koic)

RuboCop 1.31

New features

Bug fixes

  • #10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. ([@​dvandersluis][])
  • #10698: Enhance Style/HashExcept to support array inclusion checks. ([@​nobuyo][])
  • #10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. ([@​dvandersluis][])
  • #10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. (@​j-miyake)
  • Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. (@​Darhazer)
  • #10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. (@​koic)
  • #10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. (@​koic)
  • #10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. ([@​gsamokovarov][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.31.2 (2022-07-07)

Bug fixes

  • #10774: Fix false negatives in Style/DocumentationMethod when a public method is defined after a private one. ([@​Darhazer][])
  • #10764: Fix performance issue for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. ([@​j-miyake][])
  • #10780: Fix an error when using rubocop:auto_correct deprecated custom rake task. ([@​koic][])
  • #10786: Fix a false positive for Lint/NonAtomicFileOperation when using complex conditional. ([@​koic][])
  • #10785: Fix a false negative for Style/RedundantParentheses when parens around a receiver of a method call with an argument. ([@​koic][])
  • #10026: Fix merging of array parameters in either parent of default config. ([@​jonas054][])

1.31.1 (2022-06-29)

Bug fixes

  • #10763: Fix a false positive for Layout/LineContinuationSpacing when using continuation keyword \ after __END__. ([@​koic][])
  • #10755: Fix a false positive for Lint/LiteralAsCondition when using a literal in case-in condition where the match variable is used in in are accepted as a pattern matching. ([@​koic][])
  • #10760: Fix a false positive for Lint/NonAtomicFileOperation when using FileTest.exist? with if condition that has else branch. ([@​koic][])
  • #10745: Require JSON 2.3 or higher to fix an incompatible JSON API error. ([@​koic][])
  • #10754: Fix an incorrect autocorrect for Style/HashExcept when using a non-literal collection receiver for include?. ([@​koic][])
  • #10751: Fix autocorrect for Layout/FirstHashElementIndentation. ([@​j-miyake][])
  • #10750: Recover 7x slow running rubocop. ([@​koic][])

1.31.0 (2022-06-27)

New features

Bug fixes

  • #10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. ([@​dvandersluis][])
  • #10698: Enhance Style/HashExcept to support array inclusion checks. ([@​nobuyo][])
  • #10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. ([@​dvandersluis][])
  • #10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. ([@​j-miyake][])
  • Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. ([@​Darhazer][])
  • #10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. ([@​koic][])
  • #10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. ([@​koic][])
  • #10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. ([@​gsamokovarov][])
  • #10749: Fix Style/BlockDelimiters for blocks with numbered arguments. ([@​gsamokovarov][])
  • #10737: Fix crash in Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when op-assigning a variable inside a resbody. ([@​dvandersluis][])
  • #7900: Fix Style/FormatStringToken false positive with formatted input and template style enforced, and add autocorrection. ([@​FnControlOption][])

Changes

... (truncated)

Commits
  • 733c5b9 Cut 1.31.2
  • a55d878 Update Changelog
  • 354f88b [Fix #10026] Fix inherit_mode resolution for parent and default config
  • b8a1cb0 [Fix #10764] Fix performance issue for Layout/FirstHashElementIndentation and...
  • 78bb9ab [Fix #10786] Fix a false positive for Lint/NonAtomicFileOperation
  • 9577173 Merge pull request #10785 from koic/fix_a_false_negative_for_style_redundant_...
  • 74ee625 Fix a false negative for Style/RedundantParentheses
  • 8cc65d1 Merge pull request #10743 from ydah/add_generator_restrict_on_send
  • 55e2d08 Add RESTRICT_ON_SEND to the Cop template generated by the new_cop task
  • 9ebb61a [Fix #10780] Fix an error when using rubocop:auto_correct rake task
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 7, 2022
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-1.31.2 branch from 9460720 to eb897c4 Compare July 8, 2022 06:54
@mashirozx mashirozx force-pushed the main branch 4 times, most recently from 895ff32 to cdf0788 Compare July 11, 2022 07:22
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-1.31.2 branch from eb897c4 to 9e0659e Compare July 11, 2022 08:34
mashirozx and others added 20 commits July 11, 2022 17:12
squash 182 commits, see detail info in #253

 * revert "require invite_request_fields"

fix: unexpected 'q' by mistake
* fix: formate join reason in admin UI

* fix: add translation
* feat: add captcha to registration form

* fix: add style and translation

* fix: remove Ruby version lock

* fix: display captcha in the same line of input box

* fix: use redis cache in rucaptcha

* fix: enhance captcha display on chrome

* fix: label_with_hint display condition

* fix: remove captcha error from header error message

* fix: add captcha image max height limit

* fix: move captcha option to Web UI
 * fix: crash in quote media attachemnts view box

 * fix: update props in quote media component

 * fix: update props in detailed_status component
* fix: translation style

* fixup margin bottom of <p>

* fix: add RSSHub translation endpoint default domain
* add option to turn it off

* fixup: change snow option default

* fixup snowfall max => min
* fix: fixup regex

* fix: add thumb url error handling

* style: refactory

* fix: add media source
* fix: exclude bots from statuses index

* fix: searchable scope
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-1.31.2 branch from 9e0659e to 1b32855 Compare July 11, 2022 10:03
@mashirozx mashirozx force-pushed the main branch 5 times, most recently from 2a801b6 to c22960d Compare July 12, 2022 07:48
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Jul 22, 2022

Superseded by #524.

@dependabot dependabot Bot closed this Jul 22, 2022
@dependabot dependabot Bot deleted the dependabot/bundler/rubocop-1.31.2 branch July 22, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants