Permalink
Commits on Nov 8, 2010
  1. update relish command

    dchelimsky committed Nov 8, 2010
  2. update gemfile

    dchelimsky committed Nov 8, 2010
Commits on Nov 6, 2010
Commits on Oct 23, 2010
  1. links to docs

    dchelimsky committed Oct 23, 2010
Commits on Oct 21, 2010
Commits on Oct 19, 2010
  1. bump version to 2.0.2.pre

    dchelimsky committed Oct 19, 2010
  2. update history

    dchelimsky committed Oct 19, 2010
  3. bump version to 2.0.1

    dchelimsky committed Oct 19, 2010
Commits on Oct 18, 2010
  1. update version

    dchelimsky committed Oct 18, 2010
Commits on Oct 17, 2010
Commits on Oct 11, 2010
Commits on Oct 10, 2010
  1. update rake tasks

    dchelimsky committed Oct 10, 2010
  2. prep for 2.0.0

    dchelimsky committed Oct 10, 2010
  3. reorg some features

    dchelimsky committed Oct 10, 2010
  4. rename feature dir

    dchelimsky committed Oct 10, 2010
  5. add a little relish

    dchelimsky committed Oct 10, 2010
  6. words

    dchelimsky committed Oct 10, 2010
Commits on Oct 9, 2010
  1. Added spec demonstrating mock return value for an edge case.

    When a method has been stubbed previously to return a certain value (say, in a before(:each)), and then mocked w/o a return value (say, in a spec, to ensure a method was called), the stubbed value should still be returned.
    myronmarston committed with dchelimsky Oct 9, 2010
Commits on Oct 5, 2010
  1. bump version to 2.0.0.rc

    dchelimsky committed Oct 5, 2010
  2. update history

    dchelimsky committed Oct 5, 2010
Commits on Oct 3, 2010
  1. Raise with unexpected args message instead of NoMethodError when a stub

    is specified with args but received with different args.
    dchelimsky committed Oct 3, 2010
Commits on Oct 2, 2010
  1. Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 793bd34.
    dchelimsky committed Oct 2, 2010
  2. 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.
    myronmarston committed with dchelimsky Sep 26, 2010
  3. Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 79401b2.
    dchelimsky committed Oct 2, 2010
  4. update history

    dchelimsky committed Oct 2, 2010
Commits on Sep 28, 2010
  1. 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.
    myronmarston committed with dchelimsky Sep 17, 2010
Commits on Sep 27, 2010
  1. rename file

    dchelimsky committed Sep 27, 2010
Commits on Sep 26, 2010
  1. Fixing typo

    andersondias committed with dchelimsky Sep 24, 2010
Commits on Sep 13, 2010
  1. bump version to 2.0.0.beta.22

    dchelimsky committed Sep 13, 2010