relnotes/v0.25.0.md
This release comes with lots of bug fixes and several new cops (that will likely need bugfixes in the next release :-)).
The most notable change in 0.25 is the addition of the Metrics namespace. Several Style cops have been moved there
(e.g. ClassLength, MethodLength, etc).
This release also marks the end of us supporting Ruby 1.9.2 - now Ruby 1.9.3+ is required.
Below is the list of all the gory details. Enjoy!
AndOr to restrict it to conditionals. (@vrthra)PercentQLiterals checks if use of %Q and %q matches configuration. (@jonas054)BarePercentLiterals checks if usage of %() or %Q() matches configuration. (@jonas054)MultilineBlockLayout checks if a multiline block has an expression on the same line as the start of the block. (@barunio)Style::EmptyLinesAroundAccessModifier cop does auto-correction. (@tamird)PerceivedComplexity is similar to CyclomaticComplexity, but reports when methods have a high complexity for a human reader. (@jonas054)Debugger cop now checks for binding.pry_remote. (@yous)MinBodyLength option to Next cop. (@bbatsov)TrailingComma cop does auto-correction. (@yous)BlockEndNewline checks if the end statement of a multiline block is on its own line. (@barunio)BlockAlignment cop does auto-correction. (@barunio)Metrics created and some Style cops moved there. (@jonas054)PercentLiteralDelimiters auto-correct indentation error. (@hannestyden)SpaceInsideBlockBraces. (@jonas054)UnneededPercentQ for /%Q(something)/. (@jonas054)SpacesInsideBrackets for Hash#[] calls with spaces after left bracket. (@mcls)UnneededPercentQ for %Q(\t"). (@jonas054)UnneededPercentQ for heredoc strings with %q/%Q. (@jonas054)AlignHash autocorrect. (@jonas054)end or } in BlockAlignment if it doesn't begin its line. (@jonas054)Output cop. (@bbatsov)TrailingComma. (@tamird)AutocorrectUnlessChangingAST. (@jonas054)VariableInterpolation. (@bbatsov)