Skip to content
This repository

Dec 21, 2012

  1. Myron Marston

    Release 2.12.1.

    authored
  2. Myron Marston

    Update Changelog.

    authored

Dec 20, 2012

  1. Andy Lindeman

    Merge pull request #207 from rspec/handle_aliased_methods

    Stash and restore aliased methods when the owner is reported wrong.
    authored
  2. Myron Marston

    Stash and restore aliased methods when the owner is reported wrong.

    Fixes #206.
    
    While I was at it, I wanted to verify that `and_call_original` works
    with this case, so I added a spec for it, too.
    authored

Dec 19, 2012

  1. Myron Marston

    Improve the way we run builds.

    - No need for `find_path_to_rspec_exe`; I've discovered that `--standalone`
      and `--binstubs` together produce bins that don't load bundler.
    - Add `-x` to `set -e` as that will cause the script to print each command
      as it runs.  No need for `print_and_run`.
    - Add cucumber to test_all script, and use just that for the build.
    authored

Dec 16, 2012

  1. Myron Marston

    Run travis builds against ruby 2.0.

    authored

Dec 10, 2012

  1. Myron Marston

    Merge pull request #204 from sanemat/fix/class-name

    Use Kernel#inspect instead of #to_s
    authored
  2. Murahashi Sanemat Kenichi

    Use Kernel#inspect instead of #to_s

    Kernel#inspect does not call #to_s anymore, on Ruby2.0.0
    authored

Dec 03, 2012

  1. Myron Marston

    Fix stub_const/hide_const to work properly with a const like "::Foo".

    It didn't work properly with names containing leading '::' before.
    
    Fixes #200.
    authored

Nov 25, 2012

  1. Myron Marston

    Handle additional any_instance / and_call_original edge cases.

    For #197.
    authored
  2. Myron Marston

    Add explanatory comments for my last commit.

    authored
  3. Myron Marston

    Add support for #and_call_original to an #any_instance partial mock.

    Fixes #197.
    authored
  4. Myron Marston

    Fix broken link.

    authored
  5. Myron Marston

    Fig line arg passed to class_eval so that it's correct.

    There contents of the heredoc starts on the next line, hence the need for `+ 1`.
    authored

Nov 13, 2012

  1. Andy Lindeman

    Fixes changes link

    authored
  2. David Chelimsky

    bump version to 2.12

    authored
  3. Andy Lindeman

    Updates to rake 10

    authored
  4. David Chelimsky

    prep for 2.12 [ci-skip]

    authored

Nov 09, 2012

  1. Andy Lindeman

    Merge pull request #194 from jeffweiss/fix_receive_spelling_error

    fix receive spelling error
    authored
  2. Jeff Weiss

    fix receive spelling error

    Prior to this commit several of the examples in the message expectation
    documentation had the method as `should_recieve` when the proper
    spelling is `should_receive`. This commit fixes those documentation
    errors.
    authored

Nov 06, 2012

  1. David Chelimsky

    improve docs for double(), mock(), and stub()

    authored

Oct 26, 2012

  1. Myron Marston

    Merge pull request #23 from myronmarston/can_call_original

    Add method to call_original method from a stub
    authored

Oct 25, 2012

  1. Myron Marston

    Deal with 1.8 shortcoming.

    1.8 does not allow you to bind a singleton method from a class's superclass to the class, so our original code failed. This tries to work around the issue while alerting the user to the fact that it may not work correctly in all cases.
    authored
  2. Myron Marston

    Remove code that should have been removed in 98ca879.

    I forgot to remove this code as part of that commit.
    authored

Oct 24, 2012

  1. Myron Marston

    Clarify specs based on @dchelimsky's feedback.

    authored

Oct 23, 2012

  1. Myron Marston

    Add additional yard private declarations.

    authored
  2. Myron Marston

    Rename StashedInstanceMethod to InstanceMethodStasher.

    The old name implied it always stashed a method (and made
    `stashed_method.method_is_stashed?` read funny). The new
    name makes it clear what role the object plays without
    implying that it always stashes the method.
    authored
  3. Myron Marston

    Remove `method_missing` inconsistency.

    Based on conversations with @dchelimsky and others, we've decided it's best not
    to raise an early error from `and_call_original` as that creates an
    inconsistency since we sometimes don't know if `method_missing` will handle
    the message or not.
    authored

Oct 22, 2012

  1. Myron Marston

    Work around cases where objects may override #method.

    authored
  2. Myron Marston

    Ensure the method has the proper `self` for the case of a superclass …

    …singleton method.
    authored

Oct 21, 2012

  1. Myron Marston

    Use new `hide_const` API rather than manually hiding a constant.

    authored
  2. Myron Marston

    Silence `toplevel constant Hash referenced by TestClass::Hash` warning.

    authored
  3. Andy Lindeman

    Merge pull request #183 from alindeman/hide_const

    Add support to temporarily remove constants
    authored
  4. Andy Lindeman

    Adds additional documentation for mutating constants

    authored
  5. Andy Lindeman

    Introduces Constant#mutated? and Constant#hidden?

    * A constant is mutated if it has been either stubbed or hidden
    authored
Something went wrong with that request. Please try again.