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

Update rubocop: 1.50.2 → 1.51.0 (minor) #1182

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented May 14, 2023

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (1.50.2 → 1.51.0) · Repo · Changelog

Release Notes

1.51.0

New features

  • #11819: Add autocorrection for Lint/AmbiguousBlockAssociation. (@r7kamura)
  • #11597: Add autocorrection for Lint/UselessAssignment. (@r7kamura)
  • #11848: Add autocorrection for Lint/Void. (@r7kamura)
  • #11851: Add autocorrection for Naming/MemoizedInstanceVariableName. (@r7kamura)
  • #11856: Add autocorrection for Style/CombinableLoops. (@r7kamura)
  • #11824: Add autocorrection for Lint/TopLevelReturnWithArgument. (@r7kamura)
  • #11869: Add new Style/ExactRegexpMatch cop. (@koic)
  • #11814: Make Style/CollectionCompact aware of delete_if. (@koic)
  • #11866: Make Style/Semicolon aware of redundant semicolons in string interpolation braces. (@koic)

Bug fixes

  • #11812: Fix a false negative for Style/Attr when using attr and method definitions. (@koic)
  • #11861: Fix a false positive for Layout/SpaceAfterSemicolon when no space between a semicolon and a closing brace of string interpolation. (@koic)
  • #11830: Fix a false positive for Lint/IncompatibleIoSelectWithFiberScheduler. (@koic)
  • #11846: Fix a false positive for Lint/RedundantStringCoercion when using to_s(argument) in puts argument. (@koic)
  • #11865: Fix an error for Naming/ConstantName when assigning a constant from an empty branch of else. (@koic)
  • #11844: Fix a false positive for Style/RedundantLineContinuation when using line concatenation for assigning a return value and without argument parentheses. (@koic)
  • #11808: Fix a false positive for Style/RegexpLiteral when using a regexp starts with equal as a method argument. (@koic)
  • #11822: Fix an error for Layout/SpaceInsideBlockBraces when a method call with a multiline block is used as an argument. (@koic)
  • #11849: Fix an error for Style/ConditionalAssignment when EnforcedStyle: assign_inside_condition and using empty case condition. (@koic)
  • #11967: Fix error for Style/IfInsideElse when a deep nested multiline if...then...elsif...else...end. (@koic)
  • #11842: Fix an error for Style/IfUnlessModifier when using multiple if modifier in the long one line. (@koic)
  • #11835: Fix an error for Style/RequireOrder when multiple require are not sorted. (@koic)
  • #11809: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName when exception variable is referenced after rescue statement. (@koic)
  • #11852: Fix an incorrect autocorrect for Style/EvalWithLocation when using eval without line number and with parenthesized method call. (@koic)
  • #11862: Fix an incorrect autocorrect for Style/GuardClause when using raise in else branch in a one-liner with then. (@koic)
  • #11868: Fix a false positive for Style/HashExcept when method's receiver/argument is not the same as block key argument. (@fatkodima)
  • #11858: Fix false positives when using source comments in blocks. (@reitermarkus)
  • #11510: Fix Lint/UselessAssignment false positive when using numbered block parameters. (@sambostock)
  • #11872: Fix Gemspec/DevelopmentDependencies not trigger when add_development_dependency has more then one arguments. (@Bhacaz)
  • #11820: Fix Lint/EmptyConditionalBody false-positives for commented empty elsif body. (@r7kamura)

Changes

  • #11859: Add rubocop-factory_bot to suggested extensions. (@ydah)
  • #10791: (Breaking) Drop runtime support for Ruby 2.6 and JRuby 9.3 (CRuby 2.6 compatible). (@koic)
  • #11826: Exclude **/*.jb from Lint/TopLevelReturnWithArgument. (@r7kamura)
  • #11871: Mark Style/DataInheritance as unsafe autocorrect, Style/OpenStructUse as unsafe, and Security/CompoundHash as unsafe. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 70 commits:

↗️ rubocop-ast (indirect, 1.28.0 → 1.28.1) · Repo · Changelog

Release Notes

1.28.1 (from changelog)

Bug fixes

  • #262: Fix an error when parsing non UTF-8 frozen string. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 6 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label May 14, 2023
@mitlib mitlib temporarily deployed to mit-bento-pr-1182 May 14, 2023 09:25 Inactive
@coveralls
Copy link

Coverage Status

Coverage: 99.216%. Remained the same when pulling 2088b57 on depfu/update/rubocop-1.51.0 into 64700ae on main.

@depfu
Copy link
Contributor Author

depfu bot commented May 22, 2023

Closing because this update has already been applied

@depfu depfu bot closed this May 22, 2023
@depfu depfu bot deleted the depfu/update/rubocop-1.51.0 branch May 22, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants