Skip to content
This repository

Oct 05, 2010

  1. David Chelimsky

    bump version to 2.0.0.rc

    authored October 04, 2010
  2. David Chelimsky

    update history

    authored October 04, 2010

Oct 03, 2010

  1. David Chelimsky

    Raise with unexpected args message instead of NoMethodError when a stub

    is specified with args but received with different args.
    authored October 03, 2010

Oct 02, 2010

  1. David Chelimsky

    Revert "Revert "Fixed YAML serialization of a stubbed object.""

    This reverts commit 7499777.
    authored October 02, 2010
  2. David Chelimsky

    Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 793bd34.
    authored October 02, 2010
  3. Myron Marston

    Fixed YAML serialization of a stubbed object.

    Previously, the mock proxy would be serialized when #to_yaml is called on a stubbed object.  The mock proxy includes a reference to a proc.  When the yaml string is deserialized with YAML.load, you'd get an "allocator undefined for Proc" TypeError.
    
    This fix prevents stubbing from setting any new instance variables on the stubbed object, so that the YAMl serialization is not affected.
    authored September 26, 2010 dchelimsky committed October 02, 2010
  4. David Chelimsky

    Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 79401b2.
    authored October 02, 2010
  5. David Chelimsky

    update history

    authored October 01, 2010
  6. Nicolas Braem

    should pass block to expectation block

    authored September 14, 2010 dchelimsky committed October 01, 2010
  7. Hans de Graaff

    Explicitly require rspec version to fix broken rdoc task.

    authored September 13, 2010 dchelimsky committed October 01, 2010

Sep 28, 2010

  1. Myron Marston

    Fixed YAML serialization of a stubbed object.

    Previously, the mock proxy would be serialized when #to_yaml is called on a stubbed object.  The mock proxy includes a reference to a proc.  When the yaml string is deserialized with YAML.load, you'd get an "allocator undefined for Proc" TypeError.
    
    This fix prevents the mock proxy from being serialized, so that the object is serialized the same as it would if it hadn't been stubbed.
    
    Note that Marshaling also breaks when Marshal.dump is passed a stubbed object, with a "singleton can't be dumped" error.  I'm not yet sure how to fix this, so I've left a pending spec for it.
    authored September 16, 2010 dchelimsky committed September 27, 2010

Sep 27, 2010

  1. David Chelimsky

    rename file

    authored September 26, 2010

Sep 26, 2010

  1. Anderson Dias

    Fixing typo

    authored September 24, 2010 dchelimsky committed September 26, 2010

Sep 13, 2010

  1. David Chelimsky

    bump version to 2.0.0.beta.22

    authored September 12, 2010
  2. David Chelimsky

    adjust history for beta.22 release

    authored September 12, 2010
  3. David Chelimsky

    When not as_null_object, respond_to? now behaves as expected.

    authored September 12, 2010

Sep 12, 2010

  1. David Chelimsky

    bump version to 2.0.0.beta.21

    authored September 12, 2010
  2. David Chelimsky

    prep for beta.21

    authored September 12, 2010
  3. David Chelimsky

    double.as_null_object always returns true for respond_to?

    - Closes #16.
    authored September 12, 2010

Sep 11, 2010

  1. David Chelimsky

    fix changelog link in History

    authored September 11, 2010
  2. David Chelimsky

    add history

    authored September 11, 2010
  3. David Chelimsky

    Fixed regression that broke hash format for stub_chain

    - obj.stub_chain(:a, :b => :c)
    authored September 11, 2010
  4. David Chelimsky

    Fix regression that broke stub_chain with block format

    - obj.stub_chain(:a,:b) { :c }
    authored September 11, 2010

Sep 08, 2010

  1. David Chelimsky

    fully qualify classname for ruby-1.9.1

    authored September 08, 2010
  2. David Chelimsky

    exclude ruby-debug from 1.9.1 in Gemfile

    authored September 08, 2010

Sep 03, 2010

  1. Myron Marston

    Remove dependency on jeweler.

    - Allows us to have an always-up-to-date gemspec.
    - Use bundler's build/install/release rake tasks rather than jeweler's.
    - One less development dependency.
    - No need for a separate VERSION file.
    authored September 02, 2010

Sep 01, 2010

  1. Myron Marston

    Remove unused lib/rspec/mocks/extensions.rb file.

    authored August 31, 2010

Aug 31, 2010

  1. Myron Marston

    Use custom include_method matcher to deal with difference in ruby 1.8…

    … vs 1.9.
    authored August 31, 2010
  2. Myron Marston

    Removed unused file.

    The Macros module is also defined in spec_helper.rb.
    authored August 31, 2010
  3. David Chelimsky

    add some doc to stub_chain.feature

    authored August 31, 2010
  4. Justin Ko

    stub_chain.feature

    - Closes #13.
    authored August 26, 2010 dchelimsky committed August 31, 2010

Aug 24, 2010

  1. David Chelimsky

    bump version to beta.20

    authored August 24, 2010

Aug 14, 2010

  1. Justin Ko

    Remove 'should' from example docstrings

    - Closes #11.
    authored August 14, 2010 dchelimsky committed August 14, 2010

Aug 10, 2010

  1. David Chelimsky

    ignore .bundle

    authored August 09, 2010

Aug 09, 2010

  1. David Chelimsky

    splat _this_

    authored August 09, 2010
Something went wrong with that request. Please try again.