You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5286: Fix Lint/SafeNavigationChain not detecting chained operators after block. (@Darhazer)
Fix bug where Lint/SafeNavigationConsistency registers multiple offenses for the same method call. (@rrosenblum)
#5713: Fix Style/CommentAnnotation reporting only the first of multiple consecutive offending lines. (@svendittmer)
#5791: Fix exception in Lint/SafeNavigationConsistency when there is code around the condition. (@rrosenblum)
#5784: Fix a false positive for Rails/HasManyOrHasOneDependent when using nested with_options. (@koic)
#4666: --stdin always treats input as Ruby source irregardless of filename. (@PointlessOne)
Fix auto-correction for Style/MethodCallWithArgsParentheses adding extra parentheses if the method argument was already parenthesized. (@dvandersluis)
#5668: Fix an issue where files with unknown extensions, listed in AllCops/Include were not inspected when passing the file name as an option. (@drenmi)
#5809: Fix exception Lint/PercentStringArray and Lint/PercentSymbolArray when the inspected file is binary encoded. (@akhramov)
#5840: Do not register an offense for methods that nil responds to in Lint/SafeNavigationConsistency. (@rrosenblum)
#5862: Fix an incorrect auto-correct for Lint/LiteralInInterpolation if contains numbers. (@koic)
#5868: Fix Rails/CreateTableWithTimestamps when using hash options. (@wata727)
#5708: Fix exception in Lint/UnneededCopEnableDirective for instruction '# rubocop:enable all'. (@balbesina)
Fix auto-correction of Rails/HttpPositionalArgumnets to use session instead of header. (@rrosenblum)
Changes
Split Style/MethodMissing into two cops, Style/MethodMissingSuper and Style/MissingRespondToMissing. (@rrosenblum)
#5757: Add AllowInMultilineConditions option to Style/ParenthesesAroundCondition cop. (@Darhazer)
#5806: Fix Layout/SpaceInsideReferenceBrackets when assigning a reference bracket to a reference bracket. (@joshuapinter)
#5082: Allow caching together with --auto-correct. (@jonas054)
Add try! to the list of whitelisted methods for Lint/SafeNavigationChain and Style/SafeNavigation. (@rrosenblum)
#5886: Move Style/EmptyLineAfterGuardClause cop to Layout department. (@koic)