Permalink
Switch branches/tags
Commits on Apr 12, 2014
  1. Demonstration issue with any_instance prepend causing StackLevelTooDeep

    JonRowe committed Feb 20, 2014
    silences warning about method redefinition with proxies
Commits on Apr 6, 2014
  1. Merge pull request #651 from rspec/fix-any-instance-partial-doubles

    myronmarston committed Apr 6, 2014
    Fix `any_instance` so that it updates already stubbed instances
Commits on Apr 4, 2014
  1. Implement `respond_to?` on the example proxy.

    myronmarston committed Apr 4, 2014
    This makes the object a better behaved object
    that accurately reports what it responds to.
    
    It's also necessary for rspec/rspec-expectations#513
Commits on Apr 3, 2014
Commits on Apr 2, 2014
  1. Add failing spec.

    myronmarston committed Apr 2, 2014
Commits on Apr 1, 2014
  1. Changelog for #649.

    myronmarston committed Apr 1, 2014
    [ci skip]
  2. Merge pull request #649 from rspec/fix-613

    myronmarston committed Apr 1, 2014
    Get `and_call_original` to work properly on class hierarchies.
Commits on Mar 30, 2014
  1. Merge pull request #648 from rspec/update-travis-build-scripts-2014-0…

    myronmarston committed Mar 30, 2014
    …3-30-for-master
    
    Updates from rspec-dev (2014-03-30)
  2. Merge pull request #645 from rspec/update-travis-build-scripts-2014-0…

    myronmarston committed Mar 30, 2014
    …3-29-for-master
    
    Updates from rspec-dev (2014-03-29)
Commits on Mar 29, 2014
  1. Merge pull request #644 from rspec/issue-639

    xaviershay committed Mar 29, 2014
    Provide a failure message when trying to observe an unimplemented method...
  2. Merge pull request #638 from rspec/fix_docs

    myronmarston committed Mar 29, 2014
    Match mocks to expectations/core and not exclude yard from Travis
Commits on Mar 28, 2014
  1. Merge pull request #643 from rspec/color_enabled

    JonRowe committed Mar 28, 2014
    Remove color_enabled in favour of color
Commits on Mar 26, 2014
  1. Merge pull request #642 from orend/patch-2

    myronmarston committed Mar 26, 2014
    fix a small typo in changelog
  2. fix a small typo in changelog

    orend committed Mar 26, 2014
  3. Add changelog entry for #641.

    myronmarston committed Mar 26, 2014
    [ci skip]
  4. Merge pull request #641 from orend/support_any_instance_private_methods

    myronmarston committed Mar 26, 2014
    Support verifying private methods for any_instance
Commits on Mar 24, 2014
  1. Merge pull request #637 from rspec/threadsafety-followup

    samphippen committed Mar 24, 2014
    Threadsafety followup
  2. Make FakeMutex a singleton object.

    myronmarston committed Mar 24, 2014
    It's stateless so there's no need to create
    new instances; it's just a waste of memory.
  3. Address ruby warning.

    myronmarston committed Mar 24, 2014
    /Users/myron/code/rspec-dev/repos/rspec-mocks/lib/rspec/mocks/space.rb:107: warning: private attribute?
  4. Remove unused attribute.

    myronmarston committed Mar 24, 2014
Commits on Mar 23, 2014
  1. Merge pull request #634 from rspec/issue-380

    JonRowe committed Mar 23, 2014
    Make RSpec::Mocks::Space more thread-safe.
  2. Merge pull request #635 from rspec/pull-579-2

    xaviershay committed Mar 23, 2014
    Add section to README for any instance features.
  3. Make RSpec::Mocks::Space more thread-safe.

    xaviershay committed Mar 22, 2014
    It used to be possible for different threads to receive different proxy
    objects, potentially a source of bugs such as #380.
    
    This is non-trivial to write a spec for, but you can trivially
    demonstrate the problem by adding a `sleep` into the fetch blocks, and
    then running:
    
        o = Object.new
        t = Thread.new do
          RSpec::Mocks.space.proxy_for(o)
        end
        b = RSpec::Mocks.space.proxy_for(o)
        a = t.value
    
        expect(a).to eq(b)
Commits on Mar 22, 2014