Sourced from rubocop's releases.
RuboCop v1.73.2
Bug fixes
- #13942: Fix incorrect disabling of departments when inheriting configuration. (
@koic
)- #13766: Fix false positives for
Style/InverseMethods
when usingany?
ornone?
with safe navigation operator. (@koic
)- #13938: Fix false positives for
Style/RedundantCondition
when a variable or a constant is used. (@koic
)- #13935: Fix a false negative for
Style/RedundantFreeze
when calling methods that produce frozen objects with numblocks. (@earlopain
)- #13928: Fix
end pattern with unmatched parenthesis: / (RegexpError)
on Ruby 3.2.0. (@dvandersluis
)- #13933: Fix wrong autocorrect for
Style/KeywordParametersOrder
when the arguments are on multiple lines and contain comments. (@earlopain
)Changes
- #12669: Update autocorrection for
Lint/EmptyConditionalBody
to be safe. (@dvandersluis
)RuboCop v1.73.1
Bug fixes
- #13920: Fix an error for
Lint/MixedCaseRange
when/[[ ]]/
is used. (@koic
)- #13912: Fix wrong autocorrect for
Lint/EmptyConditionalBody
when assigning to a variable with only a single branch. (@earlopain
)- #13913: Fix false positives for
Style/RedundantCondition
when using when true is used as the true branch and the condition is not a predicate method. (@koic
)- #13909: Fix false positive with
Layout/ClosingParenthesisIndentation
when first parameter is a hash. (@tejasbubane
)- #13915: Fix writing generics type of rbs-inline annotation for nested class in
Style/CommentedKeyword
. (@dak2
)- #13916: Fix
Lint/LiteralAsCondition
acting on the right hand side of && nodes. (@zopolis4
)
Sourced from rubocop's changelog.
1.73.2 (2025-03-04)
Bug fixes
- #13942: Fix incorrect disabling of departments when inheriting configuration. ([
@koic
][])- #13766: Fix false positives for
Style/InverseMethods
when usingany?
ornone?
with safe navigation operator. ([@koic
][])- #13938: Fix false positives for
Style/RedundantCondition
when a variable or a constant is used. ([@koic
][])- #13935: Fix a false negative for
Style/RedundantFreeze
when calling methods that produce frozen objects with numblocks. ([@earlopain
][])- #13928: Fix
end pattern with unmatched parenthesis: / (RegexpError)
on Ruby 3.2.0. ([@dvandersluis
][])- #13933: Fix wrong autocorrect for
Style/KeywordParametersOrder
when the arguments are on multiple lines and contain comments. ([@earlopain
][])Changes
- #12669: Update autocorrection for
Lint/EmptyConditionalBody
to be safe. ([@dvandersluis
][])1.73.1 (2025-02-27)
Bug fixes
- #13920: Fix an error for
Lint/MixedCaseRange
when/[[ ]]/
is used. ([@koic
][])- #13912: Fix wrong autocorrect for
Lint/EmptyConditionalBody
when assigning to a variable with only a single branch. ([@earlopain
][])- #13913: Fix false positives for
Style/RedundantCondition
when using when true is used as the true branch and the condition is not a predicate method. ([@koic
][])- #13909: Fix false positive with
Layout/ClosingParenthesisIndentation
when first parameter is a hash. ([@tejasbubane
][])- #13915: Fix writing generics type of rbs-inline annotation for nested class in
Style/CommentedKeyword
. ([@dak2
][])- #13916: Fix
Lint/LiteralAsCondition
acting on the right hand side of && nodes. ([@zopolis4
][])
815dcca
Cut 1.73.2398aaab
Update Changelog4ae459d
Fix incorrect disabling of departments when inheriting
configurationba9d953
[Fix #13766]
Fix false positives for Style/InverseMethods
7e91fd9
[Fix #13933]
Fix wrong autocorrect for Style/KeywordParametersOrder
when
th...f6ddcdd
Move common arguments_range
to RangeHelp
2873bb8
Merge pull request #13938
from koic/fix_false_positive_for_style_redundant_co...9884def
Fix false positives for Style/RedundantCondition
323cb71
Merge pull request #13937
from dvandersluis/fix/changelog1cdb3b7
Fix changelog for #13935Sourced from rubocop-rails's releases.
RuboCop Rails v2.30.3
Bug fixes
- #1458: Fix a false positive for
Rails/RelativeDateConstant
when assigning a lambda/proc with numblock. (@earlopain
)- #1457: Fix a false positive for
Rails/ReversibleMigration
indrop_table
with numblock. (@earlopain
)- #1456: Fix a false positive for
Rails/CreateTableWithTimestamps
with numblocks. (@earlopain
)- #1459: Fix a false positive for
Rails/UniqBeforePluck
when using a numblock withuniq
. (@earlopain
)- #1455: Make
Rails/SaveBang
aware of numblocks. (@earlopain
)- #1453: Make
Rails/TransactionExitStatement
aware of numblocks. (@earlopain
)Changes
- #1179:
Rails/ReflectionClassName
: Accept method calls on local variables. (@exterm
)- #1385: Make
Lint/UselessAccessModifier
aware ofActiveSupport::Concern
andModule#concerning
/Module#concern
core extensions. (@earlopain
)- #1454: Disable
Rails/Delegate
for controllers. (@earlopain
)
Sourced from rubocop-rails's changelog.
2.30.3 (2025-03-03)
Bug fixes
- #1458: Fix a false positive for
Rails/RelativeDateConstant
when assigning a lambda/proc with numblock. ([@earlopain
][])- #1457: Fix a false positive for
Rails/ReversibleMigration
indrop_table
with numblock. ([@earlopain
][])- #1456: Fix a false positive for
Rails/CreateTableWithTimestamps
with numblocks. ([@earlopain
][])- #1459: Fix a false positive for
Rails/UniqBeforePluck
when using a numblock withuniq
. ([@earlopain
][])- #1455: Make
Rails/SaveBang
aware of numblocks. ([@earlopain
][])- #1453: Make
Rails/TransactionExitStatement
aware of numblocks. ([@earlopain
][])Changes
- #1179:
Rails/ReflectionClassName
: Accept method calls on local variables. ([@exterm
][])- #1385: Make
Lint/UselessAccessModifier
aware ofActiveSupport::Concern
andModule#concerning
/Module#concern
core extensions. ([@earlopain
][])- #1454: Disable
Rails/Delegate
for controllers. ([@earlopain
][])
92c663c
Cut 2.30.3801d002
Update Changelogef73348
Automate the process of GitHub release creation7e21774
Suppress RuboCop's offensesa250bfa
Merge pull request #1459
from Earlopain/uniq-before-pluck-numblock67cff82
Merge pull request #1458
from Earlopain/relative-date-const-numblock78988e7
Fix a false positive for Rails/UniqBeforePluck
when using a
numblock with `...a02819f
Fix a false positive for Rails/RelativeDateConstant
when
assigning a lambda...2ad3e1a
Merge pull request #1457
from Earlopain/reversible-migration-drop-table-numblock9254ef6
Merge pull request #1456
from Earlopain/timestamp-numblock