Upgrading rubocop 0.6 to 0.7
Unknown0.6.1 → 0.7.2
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes 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.config_from_dotfile(_) - removed:
method CLI.cops_on_duty(_) - removed:
method CLI.show_cops_on_duty(_) - added:
class Config < DelegateClass(Hash) - added:
const Config.DEFAULT_FILE - added:
const Config.DOTFILE - added:
const Config.RUBOCOP_HOME - added:
constructor CLI() - added:
constructor Config(_ = …, _ = …) - added:
method CLI.handle_only_option() - added:
method CLI.inspect_file(_, _, _, _) - added:
method CLI.read_source(_) - added:
method Config.cop_enabled?(_) - added:
method Config.file_to_exclude?(_) - added:
method Config.file_to_include?(_) - added:
method Config.for_cop(_) - added:
method Config.patterns_to_exclude() - added:
method Config.patterns_to_include() - added:
method Config.validate!() - added:
method Config.warn_unless_valid() - added:
module ConfigStore - added:
property CLI.options: accessor - added:
property Config.loaded_path: reader - added:
static method Config.base_configs(_, _) - added:
static method Config.configuration_file_for(_) - added:
static method Config.configuration_from_file(_) - added:
static method Config.load_file(_) - added:
static method Config.merge(_, _) - added:
static method Config.merge_with_default(_, _) - added:
static method ConfigStore.for(_) - added:
static method ConfigStore.prepare() - added:
static method ConfigStore.set_options_config(_)
- added:
class ValidationError < StandardError
- removed:
class Indentation < Cop - removed:
const Indentation.ERROR_MESSAGE - removed:
method Indentation.each_when(_, _ = …) - removed:
method Indentation.find_keywords(_, _) - removed:
method Indentation.inspect(_, _, _, _) - removed:
method Indentation.keyword?(_, _, _) - removed:
static method MethodLength.count_comments?() - removed:
static method MethodLength.max() - changed:
method MethodAndVariableSnakeCase.check(_) → method MethodAndVariableSnakeCase.check(_, _, _) - added:
class AvoidGlobalVars < Cop - added:
class BlockComments < Cop - added:
class CaseIndentation < Cop - added:
class ClassMethods < Cop - added:
class ColonMethodCall < Cop - added:
class EmptyLineBetweenDefs < Cop - added:
class Eval < Cop - added:
class FavorJoin < Cop - added:
class LeadingCommentSpace < Cop - added:
class LineContinuation < Cop - added:
class Not < Cop - added:
class SingleLineMethods < Cop - added:
class SpaceAfterControlKeyword < Cop - added:
class SpaceInsideHashLiteralBraces < Cop - added:
class SymbolArray < Cop - added:
class TrivialAccessors < Cop - added:
class WordArray < Cop - added:
const AvoidGlobalVars.BUILT_IN_VARS - added:
const AvoidGlobalVars.ERROR_MESSAGE - added:
const BlockComments.ERROR_MESSAGE - added:
const CaseIndentation.ERROR_MESSAGE - added:
const ClassMethods.ERROR_MESSAGE - added:
const ColonMethodCall.ERROR_MESSAGE - added:
const EmptyLineBetweenDefs.ERROR_MESSAGE - added:
const Eval.ERROR_MESSAGE - added:
const FavorJoin.ERROR_MESSAGE - added:
const LeadingCommentSpace.ERROR_MESSAGE - added:
const LineContinuation.ERROR_MESSAGE - added:
const MethodAndVariableSnakeCase.CONSTANT - added:
const Not.ERROR_MESSAGE - added:
const SingleLineMethods.ERROR_MESSAGE - added:
const SpaceAfterControlKeyword.ERROR_MESSAGE - added:
const SpaceAfterControlKeyword.KEYWORDS - added:
const SymbolArray.ERROR_MESSAGE - added:
const TrivialAccessors.NON_TRIVIAL_BODYSTMT - added:
const TrivialAccessors.READER_MESSAGE - added:
const TrivialAccessors.WRITER_MESSAGE - added:
const WordArray.ERROR_MESSAGE - added:
method ArrayLiteral.preliminary_scan(_) - added:
method AvoidGlobalVars.inspect(_, _, _, _) - added:
method BlockComments.inspect(_, _, _, _) - added:
method CaseIndentation.each_when(_, _ = …) - added:
method CaseIndentation.find_keywords(_, _) - added:
method CaseIndentation.inspect(_, _, _, _) - added:
method CaseIndentation.keyword?(_, _, _) - added:
method ClassMethods.inspect(_, _, _, _) - added:
method ColonMethodCall.inspect(_, _, _, _) - added:
method EmptyLineBetweenDefs.inspect(_, _, _, _) - added:
method Eval.inspect(_, _, _, _) - added:
method Eval.process_ident(_) - added:
method FavorJoin.inspect(_, _, _, _) - added:
method HashLiteral.preliminary_scan(_) - added:
method LeadingCommentSpace.inspect(_, _, _, _) - added:
method LineContinuation.inspect(_, _, _, _) - added:
method Not.inspect(_, _, _, _) - added:
method Offence.==(_) - added:
method Offence.explode() - added:
method Semicolon.handle_exceptions_to_the_rule(_) - added:
method Semicolon.index_of_first_token_on_line(_, _) - added:
method Semicolon.next_state(_, _) - added:
method SingleLineMethods.inspect(_, _, _, _) - added:
method SpaceAfterControlKeyword.inspect(_, _, _, _) - added:
method SpaceInsideHashLiteralBraces.check_missing_space(_, _, _) - added:
method SpaceInsideHashLiteralBraces.check_unwanted_space(_, _) - added:
method SymbolArray.inspect(_, _, _, _) - added:
method TrivialAccessors.inspect(_, _, _, _) - added:
method WordArray.complex_content?(_) - added:
method WordArray.inspect(_, _, _, _) - added:
property Cop.debug: accessor - added:
static method Cop.cop_name()