@bbatsov bbatsov released this Oct 26, 2018 · 30 commits to master since this release

Assets 2

New features

Bug fixes

  • #6330: Fix an error for Rails/ReversibleMigration when using variable assignment. (@koic, @scottmatthewman)
  • #6331: Fix a false positive for Style/RedundantFreeze and a false negative for Style/MutableConstant when assigning a regexp object to a constant. (@koic)
  • #6334: Fix a false negative for Style/RedundantFreeze when assigning a range object to a constant. (@koic)
  • #5538: Fix false negatives in modifier cops when line length cop is disabled. (@drenmi)
  • #6340: Fix an error for Rails/ReversibleMigration when block argument is empty. (@koic)
  • #6274: Fix "[Corrected]" message being displayed even when nothing has been corrected. (@jekuta)
  • #6380: Allow use of a hyphen-separated frozen string literal in Emacs style magic comment. (@y-yagi)
  • Fix and improve LineLength cop for tab-indented code. (@AlexWayfer)

Changes

  • #3727: Enforce single spaces for key option in Layout/AlignHash cop. (@albaer)
  • #6321: Fix run of RuboCop when cache directory is not writable. (@Kevinrob)