Upgrading rubocop 0.49 to 0.50
Breaking0.49.1 → 0.50.0Breaking2New24Changed14Fixed39
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- The cop formerly called Style/HeredocDelimiters is now named Style/HeredocDelimiterNaming.
- Cops about naming now live under a Naming department instead of their previous department.
Must act 2 items need code or config changes
What you must change
Breaking2
Renames Style/HeredocDelimiters to Style/HeredocDelimiterNaming.
Style/HeredocDelimitersStyle/HeredocDelimiterNamingMoves naming related cops into their own Naming department.
NamingAPI changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- changed:
method CopHelper.autocorrect_source(_, _, _ = …) → method CopHelper.autocorrect_source(_, _ = …) - changed:
method CopHelper.autocorrect_source_file(_, _) → method CopHelper.autocorrect_source_file(_) - changed:
method CopHelper.autocorrect_source_with_loop(_, _, _ = …) → method CopHelper.autocorrect_source_with_loop(_, _ = …) - changed:
method CopHelper.inspect_gemfile(_, _) → method CopHelper.inspect_gemfile(_) - changed:
method CopHelper.inspect_source(_, _, _ = …) → method CopHelper.inspect_source(_, _ = …) - changed:
method CopHelper.inspect_source_file(_, _) → method CopHelper.inspect_source_file(_) - added:
const Heredoc.OPENING_DELIMITER - added:
method Heredoc.on_dstr(_) - added:
method Heredoc.on_heredoc(_) - added:
method Heredoc.on_str(_) - added:
method Heredoc.on_xstr(_) - added:
module Heredoc
- added:
method Config.each_key()
- removed:
const SendNode.ENUMERATOR_METHODS - removed:
method ArgsNode.empty?() - removed:
method ArgsNode.size() - removed:
method ParameterizedNode.block_literal?() - removed:
method ParameterizedNode.block_node() - removed:
method SendNode.arguments() - removed:
method SendNode.assignment_method?() - removed:
method SendNode.bang_method?() - removed:
method SendNode.camel_case_method?() - removed:
method SendNode.command?(_) - removed:
method SendNode.comparison_method?() - removed:
method SendNode.dot?() - removed:
method SendNode.double_colon?() - removed:
method SendNode.enumerator_method?() - removed:
method SendNode.implicit_call?() - removed:
method SendNode.macro?() - removed:
method SendNode.method?(_) - removed:
method SendNode.method_name() - removed:
method SendNode.operator_method?() - removed:
method SendNode.predicate_method?() - removed:
method SendNode.receiver() - removed:
method SendNode.self_receiver?() - removed:
method SendNode.setter_method?() - removed:
method SuperNode.arguments() - removed:
method SuperNode.method?(_) - removed:
method SuperNode.method_name() - removed:
static method Node.def_matcher(_, _) - added:
class DefNode < Node - added:
class RegexpNode < Node - added:
class YieldNode < Node - added:
const BlockNode.VOID_CONTEXT_METHODS - added:
const CollectionNode.ARRAY_METHODS - added:
const MethodIdentifierPredicates.ENUMERATOR_METHODS - added:
const RegexpNode.OPTIONS - added:
method ArrayNode.bracketed?() - added:
method BlockNode.void_context?() - added:
method DefNode.arguments() - added:
method DefNode.body() - added:
method DefNode.method_name() - added:
method DefNode.node_parts() - added:
method DefNode.receiver() - added:
method DefNode.void_context?() - added:
method ForNode.void_context?() - added:
method IfNode.elsif_conditional?() - added:
method MethodDispatchNode.access_modifier?() - added:
method MethodDispatchNode.arguments() - added:
method MethodDispatchNode.block_literal?() - added:
method MethodDispatchNode.block_node() - added:
method MethodDispatchNode.command?(_) - added:
method MethodDispatchNode.const_receiver?() - added:
method MethodDispatchNode.def_modifier?() - added:
method MethodDispatchNode.dot?() - added:
method MethodDispatchNode.double_colon?() - added:
method MethodDispatchNode.implicit_call?() - added:
method MethodDispatchNode.macro?() - added:
method MethodDispatchNode.method_name() - added:
method MethodDispatchNode.receiver() - added:
method MethodDispatchNode.self_receiver?() - added:
method MethodDispatchNode.setter_method?() - added:
method MethodIdentifierPredicates.assignment_method?() - added:
method MethodIdentifierPredicates.bang_method?() - added:
method MethodIdentifierPredicates.camel_case_method?() - added:
method MethodIdentifierPredicates.comparison_method?() - added:
method MethodIdentifierPredicates.const_receiver?() - added:
method MethodIdentifierPredicates.enumerator_method?() - added:
method MethodIdentifierPredicates.method?(_) - added:
method MethodIdentifierPredicates.operator_method?() - added:
method MethodIdentifierPredicates.predicate_method?() - added:
method MethodIdentifierPredicates.self_receiver?() - added:
method ParameterizedNode.rest_argument?() - added:
method RegexpNode.content() - added:
method RegexpNode.regopt() - added:
method RegexpNode.to_regexp() - added:
method YieldNode.node_parts() - added:
module CollectionNode - added:
module MethodDispatchNode - added:
module MethodIdentifierPredicates
- removed:
method AccessModifierNode.class_or_module_parent?(_) - removed:
method AccessModifierNode.modifier_node?(_) - removed:
method AccessModifierNode.modifier_structure?(_) - removed:
method OnMethodDef.method_def_node_parts(_) - removed:
method OnMethodDef.on_def(_) - removed:
method OnMethodDef.on_defs(_) - removed:
module AccessModifierNode - removed:
module OnMethodDef - changed:
method Cop.add_offense(_, _, _ = …, _ = …) → method Cop.add_offense(_, _ = …, _ = …, _ = …) - added:
const MultilineExpressionIndentation.ASSIGNMENT_MESSAGE_TAIL - added:
const MultilineExpressionIndentation.ASSIGNMENT_RHS_TYPES - added:
const MultilineExpressionIndentation.DEFAULT_MESSAGE_TAIL - added:
const MultilineExpressionIndentation.KEYWORD_ANCESTOR_TYPES - added:
const MultilineExpressionIndentation.KEYWORD_MESSAGE_TAIL - added:
const MultilineExpressionIndentation.UNALIGNED_RHS_TYPES - added:
method Generator.inject_require() - added:
method MethodComplexity.on_def(_) - added:
method MethodComplexity.on_defs(_) - added:
method MultilineExpressionIndentation.disqualified_rhs?(_, _) - added:
method MultilineExpressionIndentation.indented_keyword_expression(_) - added:
method MultilineExpressionIndentation.keyword_message_tail(_) - added:
method MultilineExpressionIndentation.valid_rhs?(_, _) - added:
module Naming - added:
module PercentArray - added:
static method Util.scrub_string(_)
- removed:
method OrderedGems.autocorrect(_) - removed:
method OrderedGems.case_insensitive_out_of_order?(_, _) - removed:
method OrderedGems.consecutive_lines(_, _) - removed:
method OrderedGems.declaration_with_comment(_) - removed:
method OrderedGems.get_source_range(_) - removed:
method OrderedGems.previous_declaration(_) - removed:
method OrderedGems.register_offense(_, _) - removed:
method OrderedGems.swap_range(_, _, _) - added:
class InsecureProtocolSource < Cop - added:
const InsecureProtocolSource.MSG - added:
method InsecureProtocolSource.autocorrect(_) - added:
method InsecureProtocolSource.on_send(_)
- added:
class RequireFileInjector - added:
const RequireFileInjector.REQUIRE_PATH - added:
constructor RequireFileInjector(_) - added:
method RequireFileInjector.inject()
- added:
class OffenseLocationKeyword < Cop - added:
class RedundantLocationArgument < Cop - added:
class RedundantMessageArgument < Cop - added:
const OffenseLocationKeyword.MSG - added:
const RedundantLocationArgument.MSG - added:
const RedundantMessageArgument.MSG - added:
method NodeTypePredicate.autocorrect(_) - added:
method OffenseLocationKeyword.on_send(_) - added:
method RedundantLocationArgument.autocorrect(_) - added:
method RedundantLocationArgument.on_send(_) - added:
method RedundantMessageArgument.autocorrect(_) - added:
method RedundantMessageArgument.on_send(_)
- removed:
method AlignParameters.message(_) - removed:
method AlignParameters.on_method_def(_, _, _, _) - removed:
method EmptyLinesAroundExceptionHandlingKeywords.on_method_def(_, _, _, _) - removed:
method EmptyLinesAroundMethodBody.on_method_def(_, _, _, _) - removed:
method FirstMethodParameterLineBreak.on_method_def(_, _, _, _) - removed:
method IndentHeredoc.on_dstr(_) - removed:
method IndentHeredoc.on_str(_) - removed:
method IndentHeredoc.on_xstr(_) - removed:
method IndentationWidth.on_method_def(_, _, _, _) - removed:
method LeadingCommentSpace.autocorrect(_) - removed:
method MultilineMethodDefinitionBraceLayout.on_method_def(_, _, _, _) - removed:
method SpaceAfterMethodName.autocorrect(_) - removed:
method SpaceAfterMethodName.on_method_def(_, _, _, _) - added:
const SpaceBeforeBlockBraces.DETECTED_MSG - added:
const SpaceBeforeBlockBraces.MISSING_MSG - added:
method AlignParameters.on_def(_) - added:
method AlignParameters.on_defs(_) - added:
method ClosingParenthesisIndentation.on_def(_) - added:
method ClosingParenthesisIndentation.on_defs(_) - added:
method EmptyLinesAroundExceptionHandlingKeywords.on_def(_) - added:
method EmptyLinesAroundExceptionHandlingKeywords.on_defs(_) - added:
method EmptyLinesAroundMethodBody.on_def(_) - added:
method EmptyLinesAroundMethodBody.on_defs(_) - added:
method FirstMethodParameterLineBreak.on_def(_) - added:
method FirstMethodParameterLineBreak.on_defs(_) - added:
method IndentHeredoc.on_heredoc(_) - added:
method IndentationWidth.on_def(_) - added:
method IndentationWidth.on_defs(_) - added:
method MultilineMethodDefinitionBraceLayout.on_def(_) - added:
method MultilineMethodDefinitionBraceLayout.on_defs(_) - added:
method SpaceAfterMethodName.on_def(_) - added:
method SpaceAfterMethodName.on_defs(_) - added:
static method EmptyLineBetweenDefs.autocorrect_incompatible_with()
- removed:
const AssignmentInCondition.MSG - removed:
const Syntax.COP_NAME - removed:
const UnreachableCode.FLOW_COMMANDS - removed:
const UnreachableCode.NODE_TYPES - removed:
const Void.OPS - removed:
method DefEndAlignment.on_method_def(_, _, _, _) - removed:
method NestedMethodDefinition.find_nested_defs(_) - removed:
method NestedMethodDefinition.on_method_def(_, _, _, _) - removed:
method RescueType.autocorrect(_) - removed:
module Syntax - removed:
static method Syntax.offense_from_diagnostic(_, _) - removed:
static method Syntax.offense_from_error(_) - changed:
static method Syntax.offenses_from_processed_source(_) → static method Syntax.offenses_from_processed_source(_, _, _) - added:
class BooleanSymbol < Cop - added:
class InterpolationCheck < Cop - added:
class RedundantWithIndex < Cop - added:
class RescueWithoutErrorClass < Cop - added:
class ReturnInVoidContext < Cop - added:
class Syntax < Cop - added:
class UriEscapeUnescape < Cop - added:
class UriRegexp < Cop - added:
const AssignmentInCondition.MSG_WITHOUT_SAFE_ASSIGNMENT_ALLOWED - added:
const AssignmentInCondition.MSG_WITH_SAFE_ASSIGNMENT_ALLOWED - added:
const BooleanSymbol.MSG - added:
const InterpolationCheck.MSG - added:
const RedundantWithIndex.MSG_EACH_WITH_INDEX - added:
const RedundantWithIndex.MSG_WITH_INDEX - added:
const RescueWithoutErrorClass.MSG - added:
const ReturnInVoidContext.MSG - added:
const UriEscapeUnescape.ALTERNATE_METHODS_OF_URI_ESCAPE - added:
const UriEscapeUnescape.ALTERNATE_METHODS_OF_URI_UNESCAPE - added:
const UriEscapeUnescape.MSG - added:
const UriRegexp.MSG - added:
const Void.BINARY_OPERATORS - added:
const Void.OPERATORS - added:
const Void.UNARY_OPERATORS - added:
const Void.VOID_CONTEXT_TYPES - added:
method BooleanSymbol.on_sym(_) - added:
method DefEndAlignment.on_def(_) - added:
method DefEndAlignment.on_defs(_) - added:
method DuplicateMethods.on_alias(_) - added:
method DuplicateMethods.on_send(_) - added:
method InterpolationCheck.heredoc?(_) - added:
method InterpolationCheck.on_str(_) - added:
method NestedMethodDefinition.on_def(_) - added:
method NestedMethodDefinition.on_defs(_) - added:
method RedundantWithIndex.autocorrect(_) - added:
method RedundantWithIndex.on_block(_) - added:
method RescueWithoutErrorClass.on_resbody(_) - added:
method ReturnInVoidContext.on_return(_) - added:
method ScriptPermission.autocorrect(_) - added:
method Syntax.add_offense_from_diagnostic(_, _) - added:
method Syntax.add_offense_from_error(_) - added:
method UnreachableCode.on_kwbegin(_) - added:
method UriEscapeUnescape.on_send(_) - added:
method UriRegexp.autocorrect(_) - added:
method UriRegexp.on_send(_) - added:
method UselessSetterCall.on_def(_) - added:
method UselessSetterCall.on_defs(_)
- added:
method MethodLength.on_block(_) - added:
method MethodLength.on_def(_) - added:
method MethodLength.on_defs(_)
- added:
class AccessorMethodName < Cop - added:
class AsciiIdentifiers < Cop - added:
class BinaryOperatorParameterName < Cop - added:
class ClassAndModuleCamelCase < Cop - added:
class ConstantName < Cop - added:
class FileName < Cop - added:
class HeredocDelimiterCase < Cop - added:
class HeredocDelimiterNaming < Cop - added:
class MethodName < Cop - added:
class PredicateName < Cop - added:
class VariableName < Cop - added:
class VariableNumber < Cop - added:
const AsciiIdentifiers.MSG - added:
const BinaryOperatorParameterName.BLACKLISTED - added:
const BinaryOperatorParameterName.MSG - added:
const BinaryOperatorParameterName.OP_LIKE_METHODS - added:
const ClassAndModuleCamelCase.MSG - added:
const ConstantName.MSG - added:
const ConstantName.SNAKE_CASE - added:
const FileName.MSG_NO_DEFINITION - added:
const FileName.MSG_REGEX - added:
const FileName.MSG_SNAKE_CASE - added:
const FileName.SNAKE_CASE - added:
const HeredocDelimiterCase.MSG - added:
const HeredocDelimiterNaming.MSG - added:
const HeredocDelimiterNaming.OPENING_DELIMITER - added:
method AccessorMethodName.on_def(_) - added:
method AccessorMethodName.on_defs(_) - added:
method AsciiIdentifiers.investigate(_) - added:
method BinaryOperatorParameterName.on_def(_) - added:
method BinaryOperatorParameterName.op_method?(_) - added:
method ClassAndModuleCamelCase.on_class(_) - added:
method ClassAndModuleCamelCase.on_module(_) - added:
method ConstantName.on_casgn(_) - added:
method FileName.investigate(_) - added:
method HeredocDelimiterCase.on_heredoc(_) - added:
method HeredocDelimiterNaming.on_heredoc(_) - added:
method MethodName.on_def(_) - added:
method MethodName.on_defs(_) - added:
method PredicateName.on_def(_) - added:
method PredicateName.on_defs(_) - added:
method VariableName.on_arg(_) - added:
method VariableName.on_blockarg(_) - added:
method VariableName.on_cvasgn(_) - added:
method VariableName.on_ivasgn(_) - added:
method VariableName.on_kwarg(_) - added:
method VariableName.on_kwoptarg(_) - added:
method VariableName.on_kwrestarg(_) - added:
method VariableName.on_lvasgn(_) - added:
method VariableName.on_optarg(_) - added:
method VariableName.on_restarg(_) - added:
method VariableNumber.on_arg(_) - added:
method VariableNumber.on_cvasgn(_) - added:
method VariableNumber.on_ivasgn(_) - added:
method VariableNumber.on_lvasgn(_)
- removed:
const Caller.MSG - removed:
const Caller.SCOPE_METHODS - removed:
const TimesMap.MSG - removed:
method HashEachMethods.autocorrect(_) - removed:
method HashEachMethods.check_argument(_) - added:
class UnfreezeString < Cop - added:
class UriDefaultParser < Cop - added:
const Caller.MSG_BRACE - added:
const Caller.MSG_FIRST - added:
const TimesMap.MESSAGE - added:
const TimesMap.MESSAGE_ONLY_IF - added:
const UnfreezeString.MSG - added:
const UriDefaultParser.MSG - added:
method RegexpMatch.match_with_lvasgn?(_) - added:
method UnfreezeString.on_send(_) - added:
method UriDefaultParser.autocorrect(_) - added:
method UriDefaultParser.on_send(_)
- added:
class HasManyOrHasOneDependent < Cop - added:
const HasManyOrHasOneDependent.MSG - added:
method HasManyOrHasOneDependent.on_send(_)
- removed:
class AccessorMethodName < Cop - removed:
class AsciiIdentifiers < Cop - removed:
class ClassAndModuleCamelCase < Cop - removed:
class ConstantName < Cop - removed:
class FileName < Cop - removed:
class MethodName < Cop - removed:
class OpMethod < Cop - removed:
class PredicateName < Cop - removed:
class VariableName < Cop - removed:
class VariableNumber < Cop - removed:
const AndOr.OPS - removed:
const AsciiIdentifiers.MSG - removed:
const ClassAndModuleCamelCase.MSG - removed:
const ConstantName.MSG - removed:
const ConstantName.SNAKE_CASE - removed:
const FileName.MSG_NO_DEFINITION - removed:
const FileName.MSG_REGEX - removed:
const FileName.MSG_SNAKE_CASE - removed:
const FileName.SNAKE_CASE - removed:
const NestedParenthesizedCalls.RSPEC_MATCHERS - removed:
const OpMethod.BLACKLISTED - removed:
const OpMethod.MSG - removed:
const OpMethod.OP_LIKE_METHODS - removed:
method Alias.add_offense_for_args(_) - removed:
method Alias.autocorrect(_) - removed:
method AsciiIdentifiers.investigate(_) - removed:
method ClassAndModuleCamelCase.on_class(_) - removed:
method ClassAndModuleCamelCase.on_module(_) - removed:
method ConstantName.on_casgn(_) - removed:
method Copyright.autocorrect(_) - removed:
method Copyright.autocorrect_notice() - removed:
method Copyright.encoding_token?(_, _) - removed:
method Copyright.insert_notice_before(_) - removed:
method Copyright.message() - removed:
method Copyright.notice() - removed:
method Copyright.notice_found?(_) - removed:
method Copyright.shebang_token?(_, _) - removed:
method DefWithParentheses.autocorrect(_) - removed:
method DefWithParentheses.on_method_def(_, _, _, _) - removed:
method DocumentationMethod.on_method_def(_, *) - removed:
method EmptyMethod.on_method_def(_, _, _, _) - removed:
method FileName.investigate(_) - removed:
method GuardClause.on_method_def(_, _, _, _) - removed:
method MethodCallWithArgsParentheses.autocorrect(_) - removed:
method MethodCallWithoutArgsParentheses.autocorrect(_) - removed:
method MethodDefParentheses.autocorrect(_) - removed:
method MethodDefParentheses.on_method_def(_, _, _, _) - removed:
method MethodMissing.on_method_def(_, _, _, _) - removed:
method MethodName.on_def(_) - removed:
method MethodName.on_defs(_) - removed:
method NegatedIf.message(_) - removed:
method OneLineConditional.autocorrect(_) - removed:
method OneLineConditional.expr_replacement(_) - removed:
method OneLineConditional.keyword_with_changed_precedence?(_) - removed:
method OneLineConditional.method_call_with_changed_precedence?(_) - removed:
method OneLineConditional.replacement(_) - removed:
method OneLineConditional.requires_parentheses?(_) - removed:
method OneLineConditional.to_ternary(_) - removed:
method OpMethod.on_def(_) - removed:
method OpMethod.op_method?(_) - removed:
method RedundantBegin.autocorrect(_) - removed:
method RedundantBegin.on_method_def(_, _, _, _) - removed:
method RedundantParentheses.allowed_ancestor?(_) - removed:
method RedundantParentheses.allowed_array_or_hash_element?(_) - removed:
method RedundantParentheses.allowed_method_call?(_) - removed:
method RedundantParentheses.allowed_multiple_expression?(_) - removed:
method RedundantParentheses.array_element?(_) - removed:
method RedundantParentheses.call_chain_starts_with_int?(_, _) - removed:
method RedundantParentheses.check(_) - removed:
method RedundantParentheses.check_send(_, _) - removed:
method RedundantParentheses.check_unary(_, _) - removed:
method RedundantParentheses.disallowed_literal?(_, _) - removed:
method RedundantParentheses.empty_parentheses?(_) - removed:
method RedundantParentheses.first_arg?(_) - removed:
method RedundantParentheses.hash_element?(_) - removed:
method RedundantParentheses.hash_literal_as_first_arg?(_) - removed:
method RedundantParentheses.keyword_ancestor?(_) - removed:
method RedundantParentheses.keyword_with_redundant_parentheses?(_) - removed:
method RedundantParentheses.method_call_with_redundant_parentheses?(_) - removed:
method RedundantParentheses.offense(_, _) - removed:
method RedundantParentheses.only_begin_arg?(_) - removed:
method RedundantParentheses.only_closing_paren_before_comma?(_) - removed:
method RedundantParentheses.parens_allowed?(_) - removed:
method RedundantParentheses.raised_to_power_negative_numeric?(_, _) - removed:
method RedundantSelf.autocorrect(_) - removed:
method SafeNavigation.allowed_if_condition?(_) - removed:
method SafeNavigation.extract_parts(_) - removed:
method SafeNavigation.on_or(_) - removed:
method SingleLineMethods.allow_empty?() - removed:
method SymbolArray.autocorrect(_) - removed:
method VariableName.on_arg(_) - removed:
method VariableName.on_cvasgn(_) - removed:
method VariableName.on_ivasgn(_) - removed:
method VariableName.on_lvasgn(_) - removed:
method VariableNumber.on_arg(_) - removed:
method VariableNumber.on_cvasgn(_) - removed:
method VariableNumber.on_ivasgn(_) - removed:
method VariableNumber.on_lvasgn(_) - removed:
method WordArray.autocorrect(_) - removed:
method ZeroLengthPredicate.autocorrect(_) - removed:
method ZeroLengthPredicate.replacement(_) - added:
class Dir < Cop - added:
class MinMax < Cop - added:
class OrAssignment < Cop - added:
class RedundantConditional < Cop - added:
class ReturnNil < Cop - added:
const Copyright.MSG - added:
const Dir.MSG - added:
const ImplicitRuntimeError.MSG - added:
const InverseMethods.NEGATED_EQUALITY_METHODS - added:
const MethodDefParentheses.MSG_MISSING - added:
const MethodDefParentheses.MSG_PRESENT - added:
const MinMax.MSG - added:
const OrAssignment.MSG - added:
const RedundantConditional.COMPARISON_OPERATORS - added:
const RedundantConditional.MSG - added:
const RedundantReturn.MULTI_RETURN_MSG - added:
const ReturnNil.RETURN_MSG - added:
const ReturnNil.RETURN_NIL_MSG - added:
const TernaryParentheses.NON_COMPLEX_TYPES - added:
const TernaryParentheses.VARIABLE_TYPES - added:
const YodaCondition.EQUALITY_OPERATORS - added:
const YodaCondition.NONCOMMUTATIVE_OPERATORS - added:
method DefWithParentheses.on_def(_) - added:
method DefWithParentheses.on_defs(_) - added:
method Dir.on_send(_) - added:
method DocumentationMethod.on_defs(_) - added:
method EmptyMethod.on_def(_) - added:
method EmptyMethod.on_defs(_) - added:
method GuardClause.on_def(_) - added:
method GuardClause.on_defs(_) - added:
method InverseMethods.correct_inverse_selector(_, _) - added:
method MethodDefParentheses.on_def(_) - added:
method MethodDefParentheses.on_defs(_) - added:
method MethodMissing.on_def(_) - added:
method MethodMissing.on_defs(_) - added:
method MinMax.on_array(_) - added:
method MinMax.on_return(_) - added:
method NonNilCheck.on_def(_) - added:
method NonNilCheck.on_defs(_) - added:
method OrAssignment.on_cvasgn(_) - added:
method OrAssignment.on_gvasgn(_) - added:
method OrAssignment.on_if(_) - added:
method OrAssignment.on_ivasgn(_) - added:
method OrAssignment.on_lvasgn(_) - added:
method RedundantBegin.on_def(_) - added:
method RedundantBegin.on_defs(_) - added:
method RedundantConditional.on_if(_) - added:
method RedundantReturn.on_def(_) - added:
method RedundantReturn.on_defs(_) - added:
method RedundantSelf.on_block(_) - added:
method ReturnNil.on_return(_) - added:
method SingleLineMethods.on_def(_) - added:
method SingleLineMethods.on_defs(_)
- added:
class TapFormatter < ClangStyleFormatter - added:
method TapFormatter.file_finished(_, _) - added:
method TapFormatter.started(_)
- removed:
class Compiler - removed:
const Compiler.CLOSING - removed:
const Compiler.FUNCALL - removed:
const Compiler.ID_CHAR - removed:
const Compiler.LITERAL - removed:
const Compiler.META - removed:
const Compiler.NODE - removed:
const Compiler.NUMBER - removed:
const Compiler.PARAM - removed:
const Compiler.PREDICATE - removed:
const Compiler.RSYM - removed:
const Compiler.TOKEN - removed:
const Compiler.WILDCARD - removed:
constructor Compiler(_, _ = …) - removed:
method Compiler.compile_arg(_) - removed:
method Compiler.compile_args(_) - removed:
method Compiler.compile_ascend(_, _, _) - removed:
method Compiler.compile_capt_ellip(_, _, _, _) - removed:
method Compiler.compile_capture(_, _, _) - removed:
method Compiler.compile_ellipsis(_, _, _, _) - removed:
method Compiler.compile_expr(_, _, _) - removed:
method Compiler.compile_expr_with_capture_check(_, _, _, _, _) - removed:
method Compiler.compile_expr_with_captures(_, _, _) - removed:
method Compiler.compile_expr_with_index(_, _, _) - removed:
method Compiler.compile_funcall(_, _, _, _) - removed:
method Compiler.compile_intersect(_, _, _) - removed:
method Compiler.compile_literal(_, _, _) - removed:
method Compiler.compile_negation(_, _, _) - removed:
method Compiler.compile_nodetype(_, _) - removed:
method Compiler.compile_param(_, _, _) - removed:
method Compiler.compile_predicate(_, _, _, _) - removed:
method Compiler.compile_seq(_, _, _) - removed:
method Compiler.compile_seq_tail(_, _) - removed:
method Compiler.compile_seq_terms(_, _) - removed:
method Compiler.compile_seq_terms_with_size(_, _) - removed:
method Compiler.compile_union(_, _, _) - removed:
method Compiler.compile_wildcard(_, _, _) - removed:
method Compiler.emit_capture_list() - removed:
method Compiler.emit_method_code() - removed:
method Compiler.emit_param_list() - removed:
method Compiler.emit_retval() - removed:
method Compiler.emit_trailing_params() - removed:
method Compiler.fail_due_to(_) - removed:
method Compiler.get_param(_) - removed:
method Compiler.join_terms(_, _, _) - removed:
method Compiler.next_capture() - removed:
method Compiler.next_temp_value() - removed:
method Compiler.run(_) - removed:
method Compiler.union_terms(_, _, _) - removed:
method Compiler.with_temp_node(_) - removed:
method Compiler.with_temp_variable() - removed:
property Compiler.match_code: reader
- removed:
const ExpectOffense.DEFAULT_FILENAME