Permalink
Commits on Dec 21, 2012
  1. Release 2.12.1.

    myronmarston committed Dec 21, 2012
  2. Update Changelog.

    myronmarston committed Dec 21, 2012
Commits on Dec 20, 2012
  1. Merge pull request #207 from rspec/handle_aliased_methods

    Stash and restore aliased methods when the owner is reported wrong.
    alindeman committed Dec 20, 2012
  2. 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.
    myronmarston committed Dec 20, 2012
Commits on Dec 19, 2012
  1. 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.
    myronmarston committed Dec 19, 2012
Commits on Dec 16, 2012
Commits on Dec 10, 2012
  1. Merge pull request #204 from sanemat/fix/class-name

    Use Kernel#inspect instead of #to_s
    myronmarston committed Dec 10, 2012
  2. Use Kernel#inspect instead of #to_s

    Kernel#inspect does not call #to_s anymore, on Ruby2.0.0
    sanemat committed Dec 10, 2012
Commits on Dec 3, 2012
  1. 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.
    myronmarston committed Dec 3, 2012
Commits on Nov 25, 2012
  1. Fix broken link.

    myronmarston committed Nov 25, 2012
  2. 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`.
    myronmarston committed Nov 25, 2012
Commits on Nov 13, 2012
  1. Fixes changes link

    alindeman committed Nov 13, 2012
  2. bump version to 2.12

    dchelimsky committed Nov 13, 2012
  3. Updates to rake 10

    alindeman committed Nov 13, 2012
  4. prep for 2.12 [ci-skip]

    dchelimsky committed Nov 13, 2012
Commits on Nov 9, 2012
  1. Merge pull request #194 from jeffweiss/fix_receive_spelling_error

    fix receive spelling error
    alindeman committed Nov 9, 2012
  2. 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.
    Jeff Weiss committed Nov 9, 2012
Commits on Nov 6, 2012
Commits on Oct 26, 2012
  1. Merge pull request #23 from myronmarston/can_call_original

    Add method to call_original method from a stub
    myronmarston committed Oct 26, 2012
Commits on Oct 25, 2012
  1. 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.
    myronmarston committed Oct 25, 2012
  2. Remove code that should have been removed in 98ca879.

    I forgot to remove this code as part of that commit.
    myronmarston committed Oct 25, 2012
Commits on Oct 24, 2012
Commits on Oct 23, 2012
  1. 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.
    myronmarston committed Oct 23, 2012
  2. 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.
    myronmarston committed Oct 23, 2012
Commits on Oct 22, 2012
Commits on Oct 21, 2012
  1. Merge pull request #183 from alindeman/hide_const

    Add support to temporarily remove constants
    alindeman committed Oct 21, 2012
  2. Introduces Constant#mutated? and Constant#hidden?

    * A constant is mutated if it has been either stubbed or hidden
    alindeman committed Oct 21, 2012