@bbatsov bbatsov released this May 29, 2017 · 1652 commits to master since this release

Assets 2

Bug fixes

  • #4411: Handle properly safe navigation in Style/YodaCondition. (@bbatsov)
  • #4412: Handle properly literal comparisons in Style/YodaCondition. (@bbatsov)
  • Handle properly class variables and global variables in Style/YodaCondition. (@bbatsov)
  • #4392: Fix the auto-correct of Style/Next when the end is misaligned. (@rrosenblum)
  • #4407: Prevent Performance/RegexpMatch from blowing up on match without arguments. (@pocke)
  • #4414: Handle pseudo-assignments in for loops in Style/ConditionalAssignment. (@bbatsov)
  • #4419: Handle combination AllCops: DisabledByDefault: true and Rails: Enabled: true. (@jonas054)
  • #4422: Fix missing space in message for Style/MultipleComparison. (@timrogers)
  • #4420: Ensure Style/EmptyMethod honours indentation when auto-correcting. (@drenmi)
  • #4442: Prevent Style/WordArray from breaking on strings that aren't valid UTF-8. (@pocke)
  • #4441: Prevent Layout/SpaceAroundBlockParameters from breaking on lambda. (@pocke)

Changes

  • #4436: Display 'Running parallel inspection' only with --debug. (@pocke)