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 dependency rubocop to v1.55.1 #357

Merged
merged 1 commit into from
May 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) 1.50.2 -> 1.55.1 age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop)

v1.55.1

Compare Source

Bug fixes
  • #​12068: Fix a false positive for Style/ReturnNilInPredicateMethodDefinition when the last method argument in method definition is nil. ([@​koic][])
  • #​12082: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for with multiple variables. ([@​koic][])
  • #​12079: Fix an error for Style/MixinGrouping when mixin method has no arguments. ([@​koic][])
  • #​11637: Correct Rubocop for private_class_method method documentation. ([@​bigzed][])
  • #​12070: Fix false positive in Style/ArgumentsForwarding when receiver forwards args/kwargs. ([@​owst][])

v1.55.0

Compare Source

New features
  • #​11794: Add support to Style/ArgumentsForwarding for anonymous arg/kwarg forwarding in Ruby 3.2. ([@​owst][])
  • #​12044: Make LSP server support layoutMode option to run layout cops. ([@​koic][])
  • #​12056: Make LSP server support lintMode option to run lint cops. ([@​koic][])
  • #​12046: Make ReturnNilInPredicateMethodDefinition aware of nil at the end of predicate method definition. ([@​koic][])
Bug fixes
Changes

v1.54.2

Compare Source

Bug fixes
  • #​12043: Fix a false negative for Layout/ExtraSpacing when some characters are vertically aligned. ([@​koic][])
  • #​12040: Fix a false positive for Layout/TrailingEmptyLines to prevent the following incorrect autocorrection when inspecting the % form string %\n\n. ([@​koic][])
  • #​1867: Fix an error when AllCops:Exclude is empty in .rubocop.yml. ([@​koic][])
  • #​12034: Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. ([@​koic][])
  • #​12038: Output the "server restarting" message to stderr. ([@​knu][])

v1.54.1

Compare Source

Bug fixes
  • #​12024: Fix a false positive for Lint/RedundantRegexpQuantifiers when interpolation is used in a regexp literal. ([@​koic][])
  • #​12020: This PR fixes an infinite loop error for Layout/SpaceAfterComma with Layout/SpaceBeforeSemicolon when autocorrection conflicts. ([@​koic][])
  • #​12014: Fix an error for Lint/UselessAssignment when part of a multiple assignment is enclosed in parentheses. ([@​koic][])
  • #​12011: Fix an error for Metrics/MethodLength when using a heredoc in a block without block arguments. ([@​koic][])
  • #​12010: Fix false negatives for Style/RedundantRegexpArgument when using safe navigation operator. ([@​koic][])

v1.54.0

Compare Source

New features
Bug fixes
  • #​12005: Fix a false negative for Lint/Debugger when using debugger method inside lambda. ([@​koic][])
  • #​11986: Fix a false positive for Lint/MixedCaseRange when the number of characters at the start or end of range is other than 1. ([@​koic][])
  • #​11992: Fix an unexpected NoMethodError for built-in language server when an internal error occurs. ([@​koic][])
  • #​11994: Fix an error for Layout/LineEndStringConcatenationIndentation when inspecting the % from string %\n\n. ([@​koic][])
  • #​12007: Fix an error for Layout/SpaceAroundOperators when using unary operator with double colon. ([@​koic][])
  • #​11996: Fix an error for Style/IfWithSemicolon when without branch bodies. ([@​koic][])
  • #​12009: Fix an error for Style/YodaCondition when equality check method is used without the first argument. ([@​koic][])
  • #​11998: Fix an error when inspecting blank heredoc delimiter. ([@​koic][])
  • #​11989: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using unicode chars. ([@​koic][])
  • #​12001: Fix code length calculator for method calls with heredoc. ([@​fatkodima][])
  • #​12002: Fix Lint/Void cop for __ENCODING__ constant. ([@​fatkodima][])
Changes

v1.53.1

Compare Source

Bug fixes
  • #​11974: Fix an error for Style/RedundantCurrentDirectoryInPath when using string interpolation in require_relative. ([@​koic][])
  • #​11981: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using double quote and single quote characters. ([@​koic][])
  • #​11836: Should not offense single-quoted symbol containing double quotes in Lint/SymbolConversion . ([@​KessaPassa][])

v1.53.0

Compare Source

New features
Bug fixes
  • #​11953: Fix a false negative for Lint/DuplicateHashKey when there is a duplicated constant key in the hash literal. ([@​koic][])
  • #​11945: Fix a false negative for Style/RedundantSelfAssignmentBranch when using method chaining or arguments in ternary branch. ([@​koic][])
  • #​11949: Fix a false positive for Layout/RedundantLineBreak when using a line broken string. ([@​koic][])
  • #​11931: Fix a false positive for Lint/RedundantRequireStatement when using PP.pp. ([@​koic][])
  • #​11946: Fix an error for Lint/NumberConversion when using multiple number conversion methods. ([@​koic][])
  • #​11972: Fix an error for Lint/Void when CheckForMethodsWithNoSideEffects: true and using a method definition. ([@​koic][])
  • #​11958: Fix error for Style/IdenticalConditionalBranches when using empty parentheses in the if branch. ([@​koic][])
  • #​11962: Fix an error for Style/RedundantStringEscape when an escaped double quote precedes interpolation in a symbol literal. ([@​koic][])
  • #​11947: Fix an error for Style/ConditionalAssignment with an assignment that uses if branch bodies, which include a block. ([@​koic][])
  • #​11959: Fix false negatives for Layout/EmptyLinesAroundExceptionHandlingKeywords when using Ruby 2.5's rescue inside block and Ruby 2.7's numbered block. ([@​koic][])
  • #​10902: Fix an error for Style/RedundantRegexpEscape string with invalid byte sequence in UTF-8. ([@​ydah][])
  • #​11562: Fixed escaped octal handling and detection in Lint/DuplicateRegexpCharacterClassElement. ([@​rwstauner][])
Changes

v1.52.1

Compare Source

Bug fixes
  • #​11944: Fix an incorrect autocorrect for Style/SoleNestedConditional with Style/MethodCallWithArgsParentheses. ([@​koic][])
  • #​11930: Fix exception on Lint/InheritException when class definition has non-constant siblings. ([@​rafaelfranca][])
  • #​11919: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for. ([@​koic][])
  • #​11928: Fix an incorrect autocorrect for Lint/AmbiguousBlockAssociation. ([@​koic][])
  • #​11915: Fix a false positive for Lint/RedundantSafeNavigation when &. is used for to_s, to_i, to_d, and other coercion methods. ([@​lucthev][])
Changes

v1.52.0

Compare Source

New features
Bug fixes
  • #​11890: Fix a false negative for Lint/RedundantSafeNavigation when &. is used for to_d. ([@​koic][])
  • #​11880: Fix a false positive for Style/ExactRegexpMatch when using literal with quantifier in regexp. ([@​koic][])
  • #​11902: Fix a false positive for Style/RequireOrder when single-quoted string and double-quoted string are mixed. ([@​koic][])
  • #​11879: Fix a false positive for Style/SelectByRegexp when Ruby 2.2 or lower analysis. ([@​koic][])
  • #​11891: Fix Style/AccessorGrouping to accept macros separated from accessors by space. ([@​fatkodima][])
  • #​11905: Fix an error for Lint/UselessAssignment when a variable is assigned with rest assignment and unreferenced. ([@​koic][])
  • #​11899: Fix an incorrect autocorrect for Style/SingleLineMethods when using Ruby 3.0 and Style/EndlessMethod is disabled. ([@​koic][])
  • #​11884: Make rubocop -V display rubocop-factory_bot version when using it. ([@​koic][])
  • #​11893: Fix a false positive for Lint/InheritException when inheriting Exception with omitted namespace. ([@​koic][])
  • #​11898: Fix offences in calls inside blocks with braces for Style/MethodCallWithArgsParentheses with omit_parentheses enforced style. ([@​gsamokovarov][])
  • #​11857: Server mode: only read $stdin when -s or --stdin argument provided. ([@​naveg][])

v1.51.0

Compare Source

New features
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][])
  • #​11791: (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][])

Configuration

📅 Schedule: Branch creation - "before 6am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the auto-update Pull requests that update a dependency file automatically. label May 25, 2024
@delano delano merged commit c51b809 into develop May 30, 2024
6 checks passed
@delano delano deleted the renovate/rubocop-1.55.x-lockfile branch May 30, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-update Pull requests that update a dependency file automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant