Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump rubocop from 1.30.1 to 1.31.1 #484

Closed
wants to merge 143 commits into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 3, 2022

Bumps rubocop from 1.30.1 to 1.31.1.

Release notes

Sourced from rubocop's releases.

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][])
  • #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

  • #10730: Change output timing of GitHubActionsFormatter. ([@​r7kamura][])
  • #10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. (@​koic)
  • #9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. ([@​pirj][])
  • #10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. ([@​ydah][])
  • #10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. ([@​kaitielth][])
  • #10697: Restore Lint/UselessElseWithoutRescue cop. (@​koic)
  • #10740: Make Style/GuardClause a bit more lenient when the replacement would make the code more verbose. ([@​dvandersluis][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

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

  • #10730: Change output timing of GitHubActionsFormatter. ([@​r7kamura][])
  • #10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. ([@​koic][])
  • #9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. ([@​pirj][])
  • #10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. ([@​ydah][])
  • #10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. ([@​kaitielth][])
  • #10697: Restore Lint/UselessElseWithoutRescue cop. ([@​koic][])
  • #10740: Make Style/GuardClause a bit more lenient when the replacement would make the code more verbose. ([@​dvandersluis][])
Commits
  • 8fa156c Cut 1.31.1
  • 360a33e Update Changelog
  • 32b3991 [Fix #10745] Fix an error when using old JSON gem
  • 5024054 [Fix #10763] Fix a false positive for Layout/LineContinuationSpacing
  • bcf90de [Fix #10751] Fix autocorrect for Layout/FirstHashElementIndentation
  • 6e045fc Merge pull request #10770 from koic/fix_build_errors_on_circleci
  • f7935e5 Fix build errors on CircleCI
  • 27b0882 [Fix #10760] Fix a false positive for Lint/NonAtomicFileOperation
  • f5b77c8 [Fix #10754] Fix an incorrect autocorrect for Style/HashExcept
  • a3bc248 [Fix #10755] Fix a false positive for Lint/LiteralAsCondition
  • 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)

mashirozx and others added 30 commits July 3, 2022 12:40
* 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
* activitypub create action

* revert schema and model

* fix for remote media

* fix: fixup remote media limit

* fix: enhance sudoku display

* fix: fixup sudoku media padding 33.3 => 33

* fix: fixup media gallery height when size > 6
* fixup timeline public page content background color
* fixup column background
* feat: add custom.css cache param

* fix: change custom.css path
* Fix modal footer to react to quoted posts

* Fix missing frameRate

* Add "Show poll" link to quoted poll

* fixup null status in PiP footer
mashirozx and others added 20 commits July 3, 2022 13:02
Change "Allow trends without prior review" setting to include posts

Fix i18n-tasks
* Update README.md

* Update docker-build.yml

* Update docker-build-amd64.yml

* Update README.md
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.30.1 to 1.31.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.30.1...v1.31.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 3, 2022
@mashirozx mashirozx force-pushed the main branch 4 times, most recently from 9f02d33 to 3efc2c4 Compare July 6, 2022 09:54
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 7, 2022

Superseded by #502.

@dependabot dependabot bot closed this Jul 7, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.31.1 branch July 7, 2022 10:26
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