Name | Modified | Size | Downloads / 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
- #14348: Add new cop
Layout/EmptyLinesAfterModuleInclusion
. (@lovro-bikic) - #14374: Enhance
Naming/MethodName
cop to detect offenses withinData
members. (@viralpraxis)
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 arescue
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 withdefine_method
and operator names. (@viralpraxis) - #14333: Fix
Naming/PredicateMethod
ignoring the implicitnil
from missingelse
branches. (@earlopain) - #14356: Fix
Style/ItBlockParameter
cop error onalways
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 withinand
. (@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 betweenreturn
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 methodsto_s
,to_i
,to_f
,to_a
, andto_h
. (@koic) - #13835: Add
InferNonNilReceiver
config toLint/RedundantSafeNavigation
to check previous code paths if the receiver is non-nil. (@fatkodima) - #14381: Offend
array1.any? { |elem| array2.member?(elem) }
andarray1.none? { |elem| array2.member?(elem) }
inStyle/ArrayIntersect
. (@lovro-bikic)