Download Latest Version RuboCop v1.79.1 source code.tar.gz (2.8 MB)
Email in envelope

Get an email when there's a new version of RuboCop

Home / v1.79.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-24 4.0 kB
RuboCop v1.79.0 source code.tar.gz 2025-07-24 2.8 MB
RuboCop v1.79.0 source code.zip 2025-07-24 3.8 MB
Totals: 3 Items   6.5 MB 1

New features

Bug fixes

  • #14373: Fix an error for Style/ParallelAssignment when a lambda with parallel assignment is used on the RHS. (@koic)
  • #14370: Fix comment duplication bug in Style/AccessorGrouping separated autocorrect. (@r7kamura)
  • #14377: Fix a false positive for Lint/UselessAssignment when the assignment is inside a loop body. (@5hun-s)
  • #14355: Fix a false negative for Style/RedundantParentheses when using parentheses around a rescue expression on a one-line. (@koic)
  • #14354: Fix incorrect autocorrect for Style/AccessModifierDeclarations when using a grouped access modifier declaration. (@girasquid)
  • #14367: Fix an incorrect autocorrect for Style/SingleLineMethods when defining a single-line singleton method. (@koic)
  • #14344: Fix incorrect autocorrect for Style/SingleLineMethods when a single-line method definition contains a modifier. (@koic)
  • #14350: Fix Naming/MethodName cop false positives with define_method and operator names. (@viralpraxis)
  • #14333: Fix Naming/PredicateMethod ignoring the implicit nil from missing else branches. (@earlopain)
  • #14356: Fix Style/ItBlockParameter cop error on always style and missing block body. (@viralpraxis)
  • #14362: Update Lint/RequireRangeParentheses to not register false positives when range elements span multiple lines. (@dvandersluis)
  • #14309: Update Style/SoleNestedConditional to properly correct assignments within and. (@dvandersluis)

Changes

  • #14358: Add tsort gem to runtime dependency for Ruby 3.5-dev. (@koic)
  • #14322: Expand the scope of Style/ItAssignment to consider all local variable and method parameter names. (@dvandersluis)
  • #14378: Change Layout/SpaceAroundKeyword to offend for missing whitespace between return and opening parenthesis. (@lovro-bikic)
  • #14360: Make Layout/SpaceAroundOperators aware of alternative and as pattern matchings. (@koic)
  • #14375: Make Lint/RedundantSafeNavigation aware of builtin convert methods to_s, to_i, to_f, to_a, and to_h. (@koic)
  • #13835: Add InferNonNilReceiver config to Lint/RedundantSafeNavigation to check previous code paths if the receiver is non-nil. (@fatkodima)
  • #14381: Offend array1.any? { |elem| array2.member?(elem) } and array1.none? { |elem| array2.member?(elem) } in Style/ArrayIntersect. (@lovro-bikic)
Source: README.md, updated 2025-07-24