Skip to content

@Drenmi Drenmi released this Feb 19, 2019 · 194 commits to master since this release

New features

  • #6126: Add an experimental strict mode to Style/MutableConstant that will freeze all constants, rather than just literals. (@rrosenblum)

Bug fixes

  • #6765: Fix false positives in keyword arguments for Style/MethodCallWithArgsParentheses omit_parentheses. (@gsamokovarov)
  • #6763: Fix false positives in range literals for Style/MethodCallWithArgsParentheses omit_parentheses. (@gsamokovarov)
  • #6748: Fix Style/RaiseArgs auto-correction breaking in contexts that require parentheses. (@drenmi)
  • #6751: Prevent Style/OneLineConditional from breaking on retry and break keywords. (@drenmi)
  • #6755: Prevent Style/TrailingCommaInArgument from breaking when a safe method call is chained on the offending method. (@drenmi, @hoshinotsuyoshi)

Changes

  • #6766: Drop support for Ruby 2.2.0 and 2.2.1. (@pocke)
  • #6733: Warn duplicated keys in .rubocop.yml. (@pocke)
  • #6613: Mark Style/ModuleFunction as SafeAutocorrect: false and disable autocorrect by default. (@dduugg)
Assets 2
You can’t perform that action at this time.