github rubocop/rubocop v0.41.2
RuboCop 0.41.2

latest releases: v1.63.3, v1.63.4, v1.63.2...
7 years ago

Bug fixes

  • #3248: Support 'ruby-' prefix in .ruby-version. (@tjwp)
  • #3250: Make regexp for cop names less restrictive in CommentConfig lines. (@tjwp)
  • #3261: Prefer TargetRubyVersion to .ruby-version. (@tjwp)
  • #3249: Account for rescue nil in Style/ShadowedException. (@rrosenblum)
  • Modify the highlighting in Style/ShadowedException to be more useful. Highlight just rescue area. (@rrosenblum)
  • #3129: Fix Style/MethodCallParentheses to work with multiple assignments. (@tejasbubane)
  • #3247: Ensure whitespace after beginning of block in Style/BlockDelimiters. (@tjwp)
  • #2941: Make sure Lint/UnneededDisable can do auto-correction. (@jonas054)
  • #3269: Fix Lint/ShadowedException to block arbitrary code execution. (@pocke)
  • #3266: Handle empty parentheses in Performance/RedundantBlockCall auto-correct. (@jonas054)
  • #3272: Add escape character missing to LITERAL_REGEX. (@pocke)
  • #3255: Fix auto-correct for Style/RaiseArgs when constructing exception without arguments. (@drenmi)
  • #3294: Allow to use Time.zone_default. (@Tei)

Changes

  • #3230: Improve highlighting for Style/AsciiComments cop. (@drenmi)
  • Improve highlighting for Style/AsciiIdentifiers cop. (@drenmi)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.