Upgrading rspec 0.8 to 0.9
Unknown0.8.2 → 0.9.4
Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- removed:
class Module - removed:
class Proc - removed:
module Callback - changed:
method Kernel.context(_) → method Kernel.context(*) - added:
method Kernel.describe(*) - added:
method Kernel.respond_to(*) - added:
method Object.args_and_options(*) - added:
method Object.metaclass() - added:
module Test
- removed:
class CallbackContainer - removed:
constructor CallbackContainer() - removed:
method CallbackContainer.clear() - removed:
method CallbackContainer.define(_, _ = …) - removed:
method CallbackContainer.notify(_, *) - removed:
method CallbackContainer.undefine(_, _) - removed:
method InstanceMethods.register_callback(_, _ = …) - removed:
method InstanceMethods.unregister_callback(_, _) - removed:
method ModuleMethods.callback_events(*) - removed:
module InstanceMethods - removed:
module ModuleMethods - removed:
protected method CallbackContainer.extract_callback(_, _ = …) - removed:
protected method InstanceMethods.callbacks() - removed:
protected method InstanceMethods.notify_callbacks(_, *) - removed:
protected method InstanceMethods.notify_class_callbacks(_, *)
- removed:
method Mocks.duck_type(*) - removed:
method Mocks.mock(_, _ = …) - removed:
method Mocks.stub(_, _ = …) - removed:
static method VERSION.build_tag() - removed:
static set Matchers.generated_description(_) - changed:
method Matchers.include(_) → method Matchers.include(*) - changed:
method Matchers.respond_to(_) → method Matchers.respond_to(*) - changed:
method Translator.translate(_) → method Translator.translate(_, _) - added:
const VERSION.RELEASE_CANDIDATE - added:
method Translator.translate_line(_) - added:
module DSL - added:
static method Runner.configuration() - added:
static method Runner.configure()
- added:
class Behaviour - added:
class BehaviourFactory - added:
class CompositeProcBuilder < Array - added:
class Configuration - added:
class Description - added:
class EvalModule < Module - added:
class Example - added:
class ExampleMatcher - added:
class ExampleShouldRaiseHandler - added:
constructor Behaviour(*) - added:
constructor CompositeProcBuilder(_ = …) - added:
constructor Description(*) - added:
constructor Example(_, _ = …) - added:
constructor ExampleMatcher(_, _ = …) - added:
constructor ExampleShouldRaiseHandler(_, _) - added:
method Behaviour.matches?(_) - added:
method Behaviour.methods() - added:
method Behaviour.number_of_examples() - added:
method Behaviour.retain_examples_matching!(_) - added:
method Behaviour.run(_, _ = …, _ = …, _ = …) - added:
method Behaviour.shared?() - added:
method BehaviourCallbacks.after(_ = …) - added:
method BehaviourCallbacks.after_all_parts() - added:
method BehaviourCallbacks.after_each_parts() - added:
method BehaviourCallbacks.append_after(_ = …) - added:
method BehaviourCallbacks.append_before(_ = …) - added:
method BehaviourCallbacks.before(_ = …) - added:
method BehaviourCallbacks.before_all_parts() - added:
method BehaviourCallbacks.before_each_parts() - added:
method BehaviourCallbacks.prepend_after(_ = …) - added:
method BehaviourCallbacks.prepend_before(_ = …) - added:
method BehaviourCallbacks.setup() - added:
method BehaviourCallbacks.teardown() - added:
method CompositeProcBuilder.proc() - added:
method Configuration.include(*) - added:
method Configuration.included_modules() - added:
method Configuration.mock_framework() - added:
method Configuration.mock_with(_) - added:
method Configuration.predicate_matchers() - added:
method Description.==(_) - added:
method Description.[](_) - added:
method Description.[]=(_, _) - added:
method Description.to_s() - added:
method Example.matches?(_, _) - added:
method Example.run(_, _, _, _, _, _ = …) - added:
method ExampleMatcher.matches?(_) - added:
method ExampleShouldRaiseHandler.build_message(_ = …) - added:
method ExampleShouldRaiseHandler.determine_error_class(_) - added:
method ExampleShouldRaiseHandler.determine_error_message(_) - added:
method ExampleShouldRaiseHandler.error_matches?(_) - added:
method ExampleShouldRaiseHandler.handle(_) - added:
module BehaviourCallbacks - added:
module BehaviourEval - added:
property Description.described_type: reader - added:
property Description.description: reader - added:
property ExampleMatcher.example_desc: writer - added:
protected method Behaviour.before_eval() - added:
protected method Behaviour.described_type() - added:
protected method Behaviour.description() - added:
protected method Behaviour.execution_context(_) - added:
protected method Behaviour.plugin_mock_framework() - added:
protected method Behaviour.prepare_execution_context_class() - added:
protected method Behaviour.run_after_all(_, _) - added:
protected method Behaviour.run_before_all(_, _) - added:
protected method Behaviour.weave_in_included_modules() - added:
static method Behaviour.add_shared_behaviour(_) - added:
static method Behaviour.find_shared_behaviour(_) - added:
static method Behaviour.shared_behaviours() - added:
static method BehaviourFactory.add_behaviour_class(_, _) - added:
static method BehaviourFactory.create(*) - added:
static method BehaviourFactory.remove_behaviour_class(_)
- added:
constructor InstanceMethods(*) - added:
method InstanceMethods.violated(_ = …) - added:
method ModuleMethods.copy_to(_) - added:
method ModuleMethods.define_predicate_matchers(_ = …) - added:
method ModuleMethods.include(*) - added:
method ModuleMethods.inherit(_) - added:
method ModuleMethods.it(_ = …, _ = …) - added:
method ModuleMethods.it_should_behave_like(_) - added:
method ModuleMethods.methods() - added:
method ModuleMethods.predicate_matchers() - added:
method ModuleMethods.specify(_, _ = …) - added:
module InstanceMethods - added:
module ModuleMethods - added:
property ModuleMethods.behaviour: writer - added:
property ModuleMethods.description: accessor - added:
protected method ModuleMethods.after_all_proc() - added:
protected method ModuleMethods.after_each_proc() - added:
protected method ModuleMethods.before_all_proc() - added:
protected method ModuleMethods.before_each_proc() - added:
protected method ModuleMethods.examples() - added:
protected method ModuleMethods.included_modules()
- removed:
method ProcExpectations.should_change(_ = …, _ = …) - removed:
method ProcExpectations.should_not_change(_, _) - removed:
method ProcExpectations.should_not_raise(_ = …, _ = …) - removed:
method ProcExpectations.should_not_throw(_ = …) - removed:
method ProcExpectations.should_raise(_ = …, _ = …) - removed:
method ProcExpectations.should_throw(_) - removed:
module ProcExpectations - removed:
module Should
- removed:
class Base - removed:
class Change < Base - removed:
class CollectionHandler - removed:
class Have - removed:
class ItemHandler - removed:
class NegativeItemHandler < ItemHandler - removed:
class Not < Base - removed:
class NotChange < Change - removed:
class NotHave < Have - removed:
class PositiveItemHandler < ItemHandler - removed:
class Should < Base - removed:
constructor Change(_, _ = …, _ = …) - removed:
constructor CollectionHandler(_, _ = …, _ = …) - removed:
constructor Have(_, _ = …, _ = …) - removed:
constructor ItemHandler(_) - removed:
constructor Not(_) - removed:
constructor Should(_, _ = …) - removed:
method Base.==(_) - removed:
method Base.=~(_) - removed:
method Base.default_message(_, _ = …) - removed:
method Base.fail_with_message(_, _ = …, _ = …) - removed:
method Base.find_supported_sym(_) - removed:
method Change.by(_) - removed:
method Change.evaluate_change() - removed:
method Change.execute_change() - removed:
method Change.from(_) - removed:
method Change.message() - removed:
method Change.to(_) - removed:
method CollectionHandler.actual_size_of(_) - removed:
method CollectionHandler.as_specified?(_, _) - removed:
method CollectionHandler.at_least(_ = …) - removed:
method CollectionHandler.at_most(_ = …) - removed:
method CollectionHandler.build_message(_, _) - removed:
method CollectionHandler.collection(_, _) - removed:
method CollectionHandler.handle_message(_, *) - removed:
method CollectionHandler.wants_to_handle(_) - removed:
method Have.init_collection_handler(_, _, _) - removed:
method Have.init_item_handler(_) - removed:
method ItemHandler.fail_with(_) - removed:
method ItemHandler.wants_to_handle(_) - removed:
method NegativeItemHandler.handle_message(_, *) - removed:
method NotChange.evaluate_change() - removed:
method NotHave.init_item_handler(_) - removed:
method PositiveItemHandler.handle_message(_, *)
- changed:
constructor Be(_ = …, *) → constructor Be(*) - changed:
constructor Include(_) → constructor Include(*) - changed:
constructor RespondTo(_) → constructor RespondTo(*) - added:
class BaseOperatorMatcher - added:
class NegativeOperatorMatcher < BaseOperatorMatcher - added:
class PositiveOperatorMatcher < BaseOperatorMatcher - added:
constructor BaseOperatorMatcher(_) - added:
method BaseOperatorMatcher.==(_) - added:
method BaseOperatorMatcher.===(_) - added:
method BaseOperatorMatcher.=~(_) - added:
method BaseOperatorMatcher.fail_with_message(_) - added:
method ModuleMethods.description_generated(_) - added:
method ModuleMethods.unregister_description_generated(_) - added:
method NegativeOperatorMatcher.__delegate_method_missing_to_target(_, _) - added:
method PositiveOperatorMatcher.__delegate_method_missing_to_target(_, _) - added:
module ModuleMethods - added:
set ModuleMethods.generated_description(_)
- removed:
class MockHandler - removed:
const MockHandler.DEFAULT_OPTIONS - removed:
constructor MockHandler(_, _, _ = …) - removed:
method Methods.__reset_mock() - removed:
method Methods.__verify() - removed:
method MockHandler.add_message_expectation(_, _, _ = …) - removed:
method MockHandler.add_negative_message_expectation(_, _) - removed:
method MockHandler.add_stub(_, _) - removed:
method MockHandler.has_negative_expectation?(_) - removed:
method MockHandler.message_received(_, *) - removed:
method MockHandler.null_object?() - removed:
method MockHandler.raise_unexpected_message_args_error(_, *) - removed:
method MockHandler.raise_unexpected_message_error(_, *) - removed:
method MockHandler.received_message?(_, *) - removed:
method MockHandler.reset() - removed:
method MockHandler.verify() - added:
class Proxy - added:
class Space - added:
const Proxy.DEFAULT_OPTIONS - added:
constructor Proxy(_, _, _ = …) - added:
method ArgumentConstraintMatchers.duck_type(*) - added:
method DuckTypeArgConstraint.description() - added:
method Methods.rspec_reset() - added:
method Methods.rspec_verify() - added:
method Mock.inspect() - added:
method Proxy.add_message_expectation(_, _, _ = …) - added:
method Proxy.add_negative_message_expectation(_, _) - added:
method Proxy.add_stub(_, _) - added:
method Proxy.has_negative_expectation?(_) - added:
method Proxy.message_received(_, *) - added:
method Proxy.null_object?() - added:
method Proxy.raise_unexpected_message_args_error(_, *) - added:
method Proxy.raise_unexpected_message_error(_, *) - added:
method Proxy.received_message?(_, *) - added:
method Proxy.reset() - added:
method Proxy.verify() - added:
method Space.add(_) - added:
method Space.reset_all() - added:
method Space.verify_all() - added:
method SpecMethods.mock(_, _ = …) - added:
method SpecMethods.stub(_, _ = …) - added:
module ArgumentConstraintMatchers - added:
module SpecMethods
- removed:
method SpecTask.rcov_option_list() - removed:
method SpecTask.spec_file_list() - removed:
method SpecTask.spec_option_list()
- removed:
class Context - removed:
class ContextEvalModule < Module - removed:
class ContextRunner - removed:
class ExecutionContext - removed:
class SpecMatcher - removed:
class SpecShouldRaiseHandler - removed:
class Specification - removed:
constructor ContextRunner(_) - removed:
constructor SpecMatcher(_, _ = …) - removed:
constructor SpecShouldRaiseHandler(_, _) - removed:
constructor Specification(_, _ = …) - removed:
method ContextRunner.add_context(_) - removed:
method ContextRunner.number_of_specs() - removed:
method ContextRunner.run(_) - removed:
method OptionParser.create_context_runner(_, _, _, _) - removed:
method Reporter.add_context(_) - removed:
method Reporter.spec_finished(_, _ = …, _ = …) - removed:
method Reporter.spec_started(_) - removed:
method SpecMatcher.matches?(_) - removed:
method SpecShouldRaiseHandler.build_message(_ = …) - removed:
method SpecShouldRaiseHandler.determine_error_class(_) - removed:
method SpecShouldRaiseHandler.determine_error_message(_) - removed:
method SpecShouldRaiseHandler.error_matches?(_) - removed:
method SpecShouldRaiseHandler.handle(_) - removed:
method Specification.matches?(_, _) - removed:
method Specification.run(_, _, _, _, _) - removed:
module ContextEval - removed:
property SpecMatcher.spec_desc: writer - removed:
property Specification.spec_block: reader - removed:
protected method SpecParser.context_at_line(_, _) - removed:
protected method SpecParser.spec_at_line(_, _) - removed:
protected static property Specification.current: accessor - removed:
static property Specification.generated_description: accessor - added:
class BehaviourRunner - added:
class Options - added:
const BehaviourRunner.FILE_SORTERS - added:
const OptionParser.BUILT_IN_FORMATTERS - added:
const OptionParser.COMMAND_LINE - added:
const Options.BUILT_IN_FORMATTERS - added:
constructor BehaviourRunner(_) - added:
constructor Options() - added:
method BehaviourRunner.add_behaviour(_) - added:
method BehaviourRunner.number_of_examples() - added:
method BehaviourRunner.run(_, _) - added:
method BehaviourRunner.run_behaviours(_) - added:
method BehaviourRunner.sort_paths(_) - added:
method BehaviourRunner.sorter(_) - added:
method OptionParser.create_behaviour_runner(_, _, _, _) - added:
method OptionParser.parse_drb(_, _, _, _) - added:
method OptionParser.parse_help(_, _) - added:
method OptionParser.parse_options_file(_, _, _, _, _) - added:
method OptionParser.parse_version(_) - added:
method Options.create_behaviour_runner() - added:
method Options.parse_diff(_, _, _) - added:
method Options.parse_example(_) - added:
method Options.parse_format(_, _, _) - added:
method Options.parse_generate_options(_, _, _) - added:
method Options.parse_heckle(_) - added:
method Options.parse_require(_) - added:
method Options.parse_runner(_, _, _) - added:
method Reporter.add_behaviour(_) - added:
method Reporter.example_finished(_, _ = …, _ = …) - added:
method Reporter.example_started(_) - added:
protected method SpecParser.behaviour_at_line(_, _) - added:
protected method SpecParser.example_at_line(_, _) - added:
protected method SpecParser.parse_description(_)
- removed:
constructor InstanceMethods(_) - removed:
method InstanceMethods.before_context_eval() - removed:
method InstanceMethods.include(_) - removed:
method InstanceMethods.inherit(_) - removed:
method InstanceMethods.inherit_context_eval_module_from(_) - removed:
method InstanceMethods.matches?(_) - removed:
method InstanceMethods.methods() - removed:
method InstanceMethods.number_of_specs() - removed:
method InstanceMethods.run(_, _ = …) - removed:
method InstanceMethods.run_single_spec(_) - removed:
module InstanceMethods - removed:
protected method InstanceMethods.context_modules() - removed:
protected method InstanceMethods.context_setup_block() - removed:
protected method InstanceMethods.context_teardown_block() - removed:
protected method InstanceMethods.execution_context(_) - removed:
protected method InstanceMethods.execution_context_class() - removed:
protected method InstanceMethods.prepare_execution_context_class() - removed:
protected method InstanceMethods.run_context_setup(_, _) - removed:
protected method InstanceMethods.run_context_teardown(_, _) - removed:
protected method InstanceMethods.setup_block() - removed:
protected method InstanceMethods.specifications() - removed:
protected method InstanceMethods.teardown_block() - removed:
protected method InstanceMethods.weave_in_context_modules()
- removed:
method ModuleMethods.context_setup() - removed:
method ModuleMethods.context_teardown() - removed:
method ModuleMethods.include(_) - removed:
method ModuleMethods.inherit(_) - removed:
method ModuleMethods.methods() - removed:
method ModuleMethods.setup() - removed:
method ModuleMethods.specify(_ = …, _ = …) - removed:
method ModuleMethods.teardown() - removed:
module InstanceMethods - removed:
module ModuleMethods
- removed:
constructor InstanceMethods(*) - removed:
method InstanceMethods.violated(_ = …) - removed:
module InstanceMethods
- removed:
const HtmlFormatter.HEADER_1 - removed:
const HtmlFormatter.HEADER_2 - removed:
method BaseTextFormatter.add_context(_, _) - removed:
method BaseTextFormatter.spec_failed(_, _, _) - removed:
method BaseTextFormatter.spec_passed(_) - removed:
method BaseTextFormatter.spec_started(_) - removed:
method BaseTextFormatter.start(_) - removed:
method BaseTextFormatter.start_dump() - removed:
method HtmlFormatter.add_context(_, _) - removed:
method HtmlFormatter.extra_header_content() - removed:
method HtmlFormatter.spec_failed(_, _, _) - removed:
method HtmlFormatter.spec_passed(_) - removed:
method HtmlFormatter.spec_started(_) - removed:
method ProgressBarFormatter.add_context(_, _) - removed:
method ProgressBarFormatter.spec_failed(_, _, _) - removed:
method ProgressBarFormatter.spec_passed(_) - removed:
method RdocFormatter.add_context(_, _) - removed:
method RdocFormatter.spec_failed(_, _, _) - removed:
method RdocFormatter.spec_passed(_) - removed:
method SpecdocFormatter.add_context(_, _) - removed:
method SpecdocFormatter.spec_failed(_, _, _) - removed:
method SpecdocFormatter.spec_passed(_) - removed:
property HtmlFormatter.current_context_number: reader - removed:
property HtmlFormatter.current_spec_number: reader - changed:
class BaseTextFormatter → class BaseTextFormatter < BaseFormatter - changed:
constructor BaseTextFormatter(_, _ = …, _ = …) → constructor BaseTextFormatter(_) - changed:
constructor HtmlFormatter(_, _ = …, _ = …) → constructor HtmlFormatter(_) - changed:
method HtmlFormatter.extra_failure_content() → method HtmlFormatter.extra_failure_content(_) - added:
class BaseFormatter - added:
class FailingBehavioursFormatter < BaseTextFormatter - added:
class FailingExamplesFormatter < BaseTextFormatter - added:
class SnippetExtractor - added:
constructor BaseFormatter(_) - added:
method BaseFormatter.add_behaviour(_) - added:
method BaseFormatter.dump_failure(_, _) - added:
method BaseFormatter.dump_summary(_, _, _) - added:
method BaseFormatter.example_failed(_, _, _) - added:
method BaseFormatter.example_passed(_) - added:
method BaseFormatter.example_started(_) - added:
method BaseFormatter.start(_) - added:
method BaseFormatter.start_dump() - added:
method FailingBehavioursFormatter.add_behaviour(_) - added:
method FailingBehavioursFormatter.dump_failure(_, _) - added:
method FailingBehavioursFormatter.dump_summary(_, _, _) - added:
method FailingBehavioursFormatter.example_failed(_, _, _) - added:
method FailingExamplesFormatter.add_behaviour(_) - added:
method FailingExamplesFormatter.dump_failure(_, _) - added:
method FailingExamplesFormatter.dump_summary(_, _, _) - added:
method FailingExamplesFormatter.example_failed(_, _, _) - added:
method HtmlFormatter.add_behaviour(_) - added:
method HtmlFormatter.current_behaviour_number() - added:
method HtmlFormatter.current_example_number() - added:
method HtmlFormatter.example_failed(_, _, _) - added:
method HtmlFormatter.example_passed(_) - added:
method HtmlFormatter.global_scripts() - added:
method HtmlFormatter.global_styles() - added:
method HtmlFormatter.html_header() - added:
method HtmlFormatter.report_header() - added:
method ProgressBarFormatter.add_behaviour(_) - added:
method ProgressBarFormatter.example_failed(_, _, _) - added:
method ProgressBarFormatter.example_passed(_) - added:
method RdocFormatter.add_behaviour(_) - added:
method RdocFormatter.example_failed(_, _, _) - added:
method RdocFormatter.example_passed(_) - added:
method SnippetExtractor.lines_around(_, _) - added:
method SnippetExtractor.post_process(_, _) - added:
method SnippetExtractor.snippet(_) - added:
method SnippetExtractor.snippet_for(_) - added:
method SpecdocFormatter.add_behaviour(_) - added:
method SpecdocFormatter.example_failed(_, _, _) - added:
method SpecdocFormatter.example_passed(_) - added:
property BaseTextFormatter.dry_run: writer - added:
set BaseTextFormatter.colour(_)
- added:
class NullConverter - added:
method NullConverter.convert(_, _)
- changed:
constructor Failure(_, _, _) → constructor Failure(_, _)
- added:
module Unit
- added:
class TestCase