Upgrading rubocop 0.7 to 0.8
Unknown0.7.2 → 0.8.3
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes in its newest sources yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- removed:
method CLI.get_rid_of_invalid_byte_sequences(_) - removed:
method CLI.handle_only_option() - removed:
method CLI.read_source(_) - removed:
method Config.validate!() - removed:
static method CLI.rip_source(_) - changed:
method CLI.inspect_file(_, _, _, _) → method CLI.inspect_file(_, _, _) - added:
method CLI.handle_error(_, _) - added:
method CLI.setup_cop(_, _) - added:
method CLI.validate_only_option() - added:
method Config.validate() - added:
static method CLI.parse(_) - added:
static method Config.default_configuration()
- removed:
class AmpersandsPipesVsAndOr < Cop - removed:
class ArrayLiteral < Cop - removed:
class BraceAfterPercent < Cop - removed:
class Grammar - removed:
class HashLiteral < Cop - removed:
class MultilineBlocks < Cop - removed:
class NewLambdaLiteral < Cop - removed:
class PercentLiterals < Cop - removed:
class Position < Struct.new :lineno, :column - removed:
class SingleLineBlocks < Cop - removed:
class SymbolSnakeCase < Cop - removed:
const Alias.ERROR_MESSAGE - removed:
const AlignParameters.ERROR_MESSAGE - removed:
const AmpersandsPipesVsAndOr.ERROR_MESSAGE - removed:
const ArrayLiteral.ERROR_MESSAGE - removed:
const AsciiComments.ERROR_MESSAGE - removed:
const AsciiIdentifiers.ERROR_MESSAGE - removed:
const AvoidFor.ERROR_MESSAGE - removed:
const AvoidGlobalVars.ERROR_MESSAGE - removed:
const BlockComments.ERROR_MESSAGE - removed:
const BraceAfterPercent.ERROR_MESSAGE - removed:
const BraceAfterPercent.LITERALS - removed:
const CaseIndentation.ERROR_MESSAGE - removed:
const ClassAndModuleCamelCase.ERROR_MESSAGE - removed:
const ClassMethods.ERROR_MESSAGE - removed:
const ColonMethodCall.ERROR_MESSAGE - removed:
const DefParentheses.EMPTY_PARAMS - removed:
const EmptyLineBetweenDefs.ERROR_MESSAGE - removed:
const EmptyLines.ERROR_MESSAGE - removed:
const Encoding.ERROR_MESSAGE - removed:
const EndOfLine.ERROR_MESSAGE - removed:
const EnsureReturn.ERROR_MESSAGE - removed:
const Eval.ERROR_MESSAGE - removed:
const FavorJoin.ERROR_MESSAGE - removed:
const FavorPercentR.ERROR_MESSAGE - removed:
const FavorSprintf.ERROR_MESSAGE - removed:
const HandleExceptions.ERROR_MESSAGE - removed:
const HashLiteral.ERROR_MESSAGE - removed:
const HashSyntax.ERROR_MESSAGE - removed:
const LeadingCommentSpace.ERROR_MESSAGE - removed:
const LineContinuation.ERROR_MESSAGE - removed:
const LineLength.ERROR_MESSAGE - removed:
const MethodAndVariableSnakeCase.CONSTANT - removed:
const MethodAndVariableSnakeCase.ERROR_MESSAGE - removed:
const MethodLength.ERROR_MESSAGE - removed:
const MultilineBlocks.ERROR_MESSAGE - removed:
const NewLambdaLiteral.ERROR_MESSAGE - removed:
const Not.ERROR_MESSAGE - removed:
const NumericLiterals.ERROR_MESSAGE - removed:
const OpMethod.ERROR_MESSAGE - removed:
const ParameterLists.ERROR_MESSAGE - removed:
const ParenthesesAroundCondition.ERROR_MESSAGE - removed:
const PercentLiterals.BAD_LITERALS - removed:
const PercentLiterals.ERROR_MESSAGE - removed:
const PercentR.ERROR_MESSAGE - removed:
const ReduceArguments.ERROR_MESSAGE - removed:
const RescueException.ERROR_MESSAGE - removed:
const RescueModifier.ERROR_MESSAGE - removed:
const Semicolon.ERROR_MESSAGE - removed:
const SingleLineBlocks.ERROR_MESSAGE - removed:
const SingleLineMethods.ERROR_MESSAGE - removed:
const SpaceAfterCommaEtc.ERROR_MESSAGE - removed:
const SpaceAfterControlKeyword.ERROR_MESSAGE - removed:
const SpaceAroundOperators.ERROR_MESSAGE - removed:
const StringLiterals.ERROR_MESSAGE - removed:
const SymbolArray.ERROR_MESSAGE - removed:
const SymbolSnakeCase.ERROR_MESSAGE - removed:
const SymbolSnakeCase.SNAKE_CASE - removed:
const Tab.ERROR_MESSAGE - removed:
const TrailingWhitespace.ERROR_MESSAGE - removed:
const TrivialAccessors.NON_TRIVIAL_BODYSTMT - removed:
const TrivialAccessors.READER_MESSAGE - removed:
const TrivialAccessors.WRITER_MESSAGE - removed:
const UnlessElse.ERROR_MESSAGE - removed:
const WhenThen.ERROR_MESSAGE - removed:
const WordArray.ERROR_MESSAGE - removed:
constructor Grammar(_) - removed:
method Alias.inspect(_, _, _, _) - removed:
method AlignParameters.inspect(_, _, _, _) - removed:
method AmpersandsPipesVsAndOr.check(_, _) - removed:
method AmpersandsPipesVsAndOr.inspect(_, _, _, _) - removed:
method ArrayLiteral.inspect(_, _, _, _) - removed:
method ArrayLiteral.preliminary_scan(_) - removed:
method AvoidClassVars.inspect(_, _, _, _) - removed:
method AvoidFor.inspect(_, _, _, _) - removed:
method AvoidGlobalVars.inspect(_, _, _, _) - removed:
method AvoidPerlBackrefs.inspect(_, _, _, _) - removed:
method AvoidPerlisms.inspect(_, _, _, _) - removed:
method Blocks.inspect(_, _, _, _) - removed:
method BraceAfterPercent.inspect(_, _, _, _) - removed:
method CaseIndentation.each_when(_, _ = …) - removed:
method CaseIndentation.find_keywords(_, _) - removed:
method CaseIndentation.inspect(_, _, _, _) - removed:
method CaseIndentation.keyword?(_, _, _) - removed:
method ClassAndModuleCamelCase.inspect(_, _, _, _) - removed:
method ClassMethods.inspect(_, _, _, _) - removed:
method CollectionMethods.inspect(_, _, _, _) - removed:
method ColonMethodCall.inspect(_, _, _, _) - removed:
method DefParentheses.inspect(_, _, _, _) - removed:
method DefWithParentheses.check(_, _) - removed:
method DefWithParentheses.error_message() - removed:
method DefWithoutParentheses.check(_, _) - removed:
method DefWithoutParentheses.error_message() - removed:
method EmptyLineBetweenDefs.inspect(_, _, _, _) - removed:
method EnsureReturn.inspect(_, _, _, _) - removed:
method Eval.inspect(_, _, _, _) - removed:
method Eval.process_ident(_) - removed:
method FavorJoin.inspect(_, _, _, _) - removed:
method FavorPercentR.inspect(_, _, _, _) - removed:
method FavorSprintf.inspect(_, _, _, _) - removed:
method FavorUnlessOverNegatedIf.inspect(_, _, _, _) - removed:
method FavorUntilOverNegatedWhile.inspect(_, _, _, _) - removed:
method Grammar.correlate(_, _ = …) - removed:
method Grammar.process_embedded_expressions() - removed:
method HandleExceptions.inspect(_, _, _, _) - removed:
method HashLiteral.inspect(_, _, _, _) - removed:
method HashLiteral.preliminary_scan(_) - removed:
method HashSyntax.inspect(_, _, _, _) - removed:
method IfThenElse.inspect(_, _, _, _) - removed:
method IfThenElse.kind_of_if(_, _) - removed:
method IfUnlessModifier.inspect(_, _, _, _) - removed:
method MethodAndVariableSnakeCase.check(_, _, _) - removed:
method MethodLength.inspect(_, _, _, _) - removed:
method MultilineBlocks.check(_, _) - removed:
method MultilineTernaryOperator.error_message() - removed:
method MultilineTernaryOperator.offends?(_) - removed:
method NestedTernaryOperator.error_message() - removed:
method NestedTernaryOperator.offends?(_) - removed:
method NewLambdaLiteral.inspect(_, _, _, _) - removed:
method Not.inspect(_, _, _, _) - removed:
method NumericLiterals.inspect(_, _, _, _) - removed:
method OpMethod.inspect(_, _, _, _) - removed:
method ParameterLists.inspect(_, _, _, _) - removed:
method ParenthesesAroundCondition.inspect(_, _, _, _) - removed:
method PercentLiterals.inspect(_, _, _, _) - removed:
method PercentR.inspect(_, _, _, _) - removed:
method ReduceArguments.inspect(_, _, _, _) - removed:
method RescueException.inspect(_, _, _, _) - removed:
method RescueException.valid_case?(_) - removed:
method RescueModifier.inspect(_, _, _, _) - removed:
method Semicolon.handle_exceptions_to_the_rule(_) - removed:
method Semicolon.index_of_first_token_on_line(_, _) - removed:
method Semicolon.next_state(_, _) - removed:
method SingleLineBlocks.check(_, _) - removed:
method SingleLineMethods.inspect(_, _, _, _) - removed:
method SpaceAfterControlKeyword.inspect(_, _, _, _) - removed:
method SpaceAroundBraces.check_missing_space(_, _, _) - removed:
method SpaceAroundBraces.check_unwanted_space(_, _) - removed:
method SpaceAroundOperators.check_unwanted_space(_, _) - removed:
method SpaceInside.check_unwanted_space(_, _) - removed:
method SpaceInsideBrackets.get_paren() - removed:
method SpaceInsideHashLiteralBraces.check_missing_space(_, _, _) - removed:
method SpaceInsideHashLiteralBraces.check_unwanted_space(_, _) - removed:
method SpaceInsideParens.get_paren() - removed:
method StringLiterals.inspect(_, _, _, _) - removed:
method SurroundingSpace.inspect(_, _, _, _) - removed:
method SymbolSnakeCase.inspect(_, _, _, _) - removed:
method Syntax.inspect(_, _, _, _) - removed:
method TernaryOperator.inspect(_, _, _, _) - removed:
method TrivialAccessors.inspect(_, _, _, _) - removed:
method UnlessElse.inspect(_, _, _, _) - removed:
method VariableInterpolation.inspect(_, _, _, _) - removed:
method WhenThen.inspect(_, _, _, _) - removed:
method WhileUntilModifier.error_message() - removed:
method WordArray.complex_content?(_) - removed:
method WordArray.inspect(_, _, _, _) - removed:
module Blocks - removed:
module DefParentheses - removed:
module TernaryOperator - removed:
property Cop.correlations: writer - removed:
static method Position.make_position_objects(_) - changed:
class Cop → class Cop < Parser::AST::Processor - changed:
method FavorModifier.check(_, _, _) → method FavorModifier.check(_) - changed:
method FavorModifier.length(_, _, _) → method FavorModifier.length(_) - added:
class AccessControl < Cop - added:
class AndOr < Cop - added:
class BlockNesting < Cop - added:
class Blocks < Cop - added:
class ConstantName < Cop - added:
class EmptyLiteral < Cop - added:
class Lambda < Cop - added:
class Loop < Cop - added:
class Proc < Cop - added:
class SymbolName < Cop - added:
const AccessControl.BLANK_MSG - added:
const AccessControl.INDENT_MSG - added:
const AccessControl.PRIVATE_NODE - added:
const AccessControl.PROTECTED_NODE - added:
const Alias.MSG - added:
const AlignParameters.MSG - added:
const AndOr.MSG - added:
const AndOr.OPS - added:
const AsciiComments.MSG - added:
const AsciiIdentifiers.MSG - added:
const AvoidClassVars.MSG - added:
const AvoidFor.MSG - added:
const AvoidGlobalVars.MSG - added:
const BlockComments.MSG - added:
const BlockNesting.NESTING_BLOCKS - added:
const Blocks.MULTI_LINE_MSG - added:
const Blocks.SINGLE_LINE_MSG - added:
const CaseIndentation.MSG - added:
const ClassAndModuleCamelCase.MSG - added:
const ClassMethods.MSG - added:
const CollectionMethods.MSG - added:
const ColonMethodCall.MSG - added:
const ConstantName.MSG - added:
const ConstantName.SNAKE_CASE - added:
const DefWithParentheses.MSG - added:
const DefWithoutParentheses.MSG - added:
const EmptyLineBetweenDefs.MSG - added:
const EmptyLines.LINE_OFFSET - added:
const EmptyLines.MSG - added:
const EmptyLiteral.ARRAY_NODE - added:
const EmptyLiteral.ARR_MSG - added:
const EmptyLiteral.HASH_MSG - added:
const EmptyLiteral.HASH_NODE - added:
const EmptyLiteral.STR_MSG - added:
const EmptyLiteral.STR_NODE - added:
const Encoding.MSG - added:
const EndOfLine.MSG - added:
const EnsureReturn.MSG - added:
const Eval.MSG - added:
const FavorJoin.MSG - added:
const FavorPercentR.MSG - added:
const FavorSprintf.MSG - added:
const HandleExceptions.MSG - added:
const HashSyntax.MSG - added:
const Lambda.MULTI_MSG - added:
const Lambda.SINGLE_MSG - added:
const Lambda.TARGET - added:
const LeadingCommentSpace.MSG - added:
const LineContinuation.MSG - added:
const LineLength.MSG - added:
const Loop.MSG - added:
const MethodAndVariableSnakeCase.MSG - added:
const MethodAndVariableSnakeCase.OPERATOR_METHODS - added:
const MethodLength.MSG - added:
const MultilineTernaryOperator.MSG - added:
const NestedTernaryOperator.MSG - added:
const Not.MSG - added:
const NumericLiterals.MSG - added:
const OpMethod.BLACKLISTED - added:
const OpMethod.MSG - added:
const OpMethod.TARGET_ARGS - added:
const ParameterLists.MSG - added:
const ParenthesesAroundCondition.MSG - added:
const PercentR.MSG - added:
const Proc.MSG - added:
const Proc.TARGET - added:
const ReduceArguments.ARGS_NODE - added:
const ReduceArguments.MSG - added:
const RescueException.MSG - added:
const RescueModifier.MSG - added:
const Semicolon.MSG - added:
const SingleLineMethods.MSG - added:
const SpaceAfterCommaEtc.MSG - added:
const SpaceAfterControlKeyword.MSG - added:
const SpaceAroundBraces.MSG_LEFT - added:
const SpaceAroundBraces.MSG_RIGHT - added:
const SpaceAroundEqualsInParameterDefault.MSG - added:
const SpaceAroundOperators.BINARY_OPERATORS - added:
const SpaceAroundOperators.MSG_DETECTED - added:
const SpaceAroundOperators.MSG_MISSING - added:
const SpaceInside.MSG - added:
const SpaceInsideHashLiteralBraces.MSG - added:
const StringLiterals.MSG - added:
const SymbolArray.MSG - added:
const SymbolName.CAMEL_CASE - added:
const SymbolName.MSG - added:
const SymbolName.SNAKE_CASE - added:
const Tab.MSG - added:
const TrailingWhitespace.MSG - added:
const TrivialAccessors.MSG - added:
const UnlessElse.MSG - added:
const VariableInterpolation.MSG - added:
const WhenThen.MSG - added:
const WhileUntilModifier.MSG - added:
const WordArray.MSG - added:
method AccessControl.inspect(_, _, _, _) - added:
method Alias.on_alias(_) - added:
method AlignParameters.on_send(_) - added:
method AndOr.on_and(_) - added:
method AndOr.on_or(_) - added:
method AvoidClassVars.on_cvasgn(_) - added:
method AvoidFor.on_for(_) - added:
method AvoidGlobalVars.check(_) - added:
method AvoidGlobalVars.on_gvar(_) - added:
method AvoidGlobalVars.on_gvasgn(_) - added:
method AvoidPerlBackrefs.on_nth_ref(_) - added:
method AvoidPerlisms.on_gvar(_) - added:
method BlockNesting.inspect(_, _, _, _) - added:
method Blocks.on_block(_) - added:
method CaseIndentation.on_case(_) - added:
method ClassAndModuleCamelCase.on_class(_) - added:
method ClassAndModuleCamelCase.on_module(_) - added:
method ClassMethods.on_defs(_) - added:
method CollectionMethods.on_send(_) - added:
method ColonMethodCall.on_send(_) - added:
method ConstantName.on_casgn(_) - added:
method Cop.ignore_node(_) - added:
method Cop.inspect(_, _, _, _) - added:
method DefWithParentheses.on_def(_) - added:
method DefWithParentheses.on_defs(_) - added:
method DefWithoutParentheses.on_def(_) - added:
method DefWithoutParentheses.on_defs(_) - added:
method EmptyLineBetweenDefs.on_def(_) - added:
method EmptyLiteral.on_block() - added:
method EmptyLiteral.on_send(_) - added:
method EnsureReturn.on_ensure(_) - added:
method Eval.on_send(_) - added:
method FavorJoin.on_send(_) - added:
method FavorModifier.body_length(_) - added:
method FavorOtherKeywordOverNegation.check(_) - added:
method FavorPercentR.on_regexp(_) - added:
method FavorSprintf.on_send(_) - added:
method FavorUnlessOverNegatedIf.on_if(_) - added:
method FavorUntilOverNegatedWhile.on_while(_) - added:
method HandleExceptions.on_resbody(_) - added:
method HashSyntax.on_hash(_) - added:
method IfThenElse.check(_) - added:
method IfThenElse.on_if(_) - added:
method IfThenElse.on_unless(_) - added:
method IfUnlessModifier.elsif?(_) - added:
method IfUnlessModifier.if_else?(_) - added:
method IfUnlessModifier.modifier_if?(_) - added:
method IfUnlessModifier.on_if(_) - added:
method IfUnlessModifier.ternary_op?(_) - added:
method IfWithSemicolon.offending_line(_) - added:
method Lambda.on_block(_) - added:
method Loop.on_until(_) - added:
method Loop.on_while(_) - added:
method MethodAndVariableSnakeCase.name_of_instance_method(_) - added:
method MethodAndVariableSnakeCase.name_of_setter(_) - added:
method MethodAndVariableSnakeCase.name_of_singleton_method(_) - added:
method MethodAndVariableSnakeCase.name_of_variable(_) - added:
method MethodLength.count_comments?() - added:
method MethodLength.max_length() - added:
method MethodLength.on_def(_) - added:
method MethodLength.on_defs(_) - added:
method MultilineIfThen.offending_line(_) - added:
method MultilineTernaryOperator.on_if(_) - added:
method NestedTernaryOperator.on_if(_) - added:
method Not.on_send(_) - added:
method NumericLiterals.on_float(_) - added:
method NumericLiterals.on_int(_) - added:
method OneLineConditional.offending_line(_) - added:
method OpMethod.on_def(_) - added:
method ParameterLists.max_params() - added:
method ParameterLists.on_args(_) - added:
method ParenthesesAroundCondition.on_if(_) - added:
method ParenthesesAroundCondition.on_until(_) - added:
method ParenthesesAroundCondition.on_while(_) - added:
method PercentR.on_regexp(_) - added:
method Proc.on_block(_) - added:
method ReduceArguments.on_block(_) - added:
method RescueException.on_resbody(_) - added:
method RescueException.targets_exception?(_) - added:
method RescueModifier.on_begin() - added:
method RescueModifier.on_rescue(_) - added:
method SingleLineMethods.allow_empty?() - added:
method SingleLineMethods.on_def(_) - added:
method SingleLineMethods.on_defs(_) - added:
method SpaceAfterColon.offset(_) - added:
method SpaceAfterCommaEtc.offset(_) - added:
method SpaceAfterControlKeyword.on_keyword(_) - added:
method SpaceAroundBraces.check(_, _, _) - added:
method SpaceAroundBraces.get_positions_not_to_check(_, _) - added:
method SpaceAroundBraces.inspect(_, _, _, _) - added:
method SpaceAroundOperators.do_not_check_block_arg_pipes(_, _) - added:
method SpaceAroundOperators.do_not_check_class_lshift_self(_, _, _) - added:
method SpaceAroundOperators.do_not_check_def_things(_, _, _) - added:
method SpaceAroundOperators.do_not_check_param_default(_, _, _) - added:
method SpaceAroundOperators.do_not_check_singleton_operator_defs(_, _, _) - added:
method SpaceAroundOperators.get_positions_not_to_check(_, _) - added:
method SpaceAroundOperators.has_space?(_, _, _) - added:
method SpaceAroundOperators.inspect(_, _, _, _) - added:
method SpaceInside.inspect(_, _, _, _) - added:
method SpaceInsideBrackets.specifics() - added:
method SpaceInsideHashLiteralBraces.check(_, _) - added:
method SpaceInsideHashLiteralBraces.inspect(_, _, _, _) - added:
method SpaceInsideParens.specifics() - added:
method StringLiterals.on_dstr() - added:
method StringLiterals.on_regexp() - added:
method StringLiterals.on_str(_) - added:
method SurroundingSpace.build_token_table(_) - added:
method SurroundingSpace.index_of_first_token(_, _) - added:
method SurroundingSpace.index_of_last_token(_, _) - added:
method SurroundingSpace.space_between?(_, _) - added:
method SymbolName.allow_camel_case?() - added:
method SymbolName.on_sym(_) - added:
method Syntax.inspect_file(_) - added:
method TrivialAccessors.on_def(_) - added:
method UnlessElse.on_if(_) - added:
method VariableInterpolation.on_dstr(_) - added:
method WhenThen.on_when(_) - added:
method WordArray.on_array(_) - added:
module Util - added:
static method Util.block_length(_) - added:
static method Util.strip_quotes(_)
- removed:
class Paren < Struct.new