Rubocop v0.41.2 Release Notes
Release Date: 2016-07-07 // almost 8 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
inStyle/ShadowedException
. ([@rrosenblum][]) - ๐
Modify the highlighting in
Style/ShadowedException
to be more useful. Highlight justrescue
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][]) - 0๏ธโฃ #3294: Allow to use
Time.zone_default
. ([@Tei][]) - #3300: Do not replace
%q()
s containing escaped non-backslashes. ([@owst][])
๐ Changes
- ๐ #3248: Support 'ruby-' prefix in