Permalink
Commits on Nov 18, 2010
  1. @dchelimsky

    tweak (c)

    dchelimsky committed Nov 18, 2010
Commits on Nov 7, 2010
  1. @dchelimsky
  2. @dchelimsky

    update relish task

    dchelimsky committed Nov 7, 2010
  3. @dchelimsky

    bump to 2.1.0

    dchelimsky committed Nov 7, 2010
  4. @dchelimsky

    history

    dchelimsky committed Nov 7, 2010
  5. @dchelimsky

    eliminate some warnings

    dchelimsky committed Nov 7, 2010
Commits on Nov 6, 2010
  1. @dchelimsky

    Fix Marshal serialization of stubbed objects

    - Closes #27.
    committed with dchelimsky Oct 15, 2010
Commits on Oct 23, 2010
  1. @dchelimsky

    links to docs

    dchelimsky committed Oct 23, 2010
Commits on Oct 22, 2010
  1. @dchelimsky
Commits on Oct 18, 2010
  1. @dchelimsky
  2. @dchelimsky

    update versions

    dchelimsky committed Oct 18, 2010
Commits on Oct 11, 2010
  1. @dchelimsky
Commits on Oct 10, 2010
  1. @dchelimsky

    update rake tasks

    dchelimsky committed Oct 10, 2010
  2. @dchelimsky

    prep for 2.0.0

    dchelimsky committed Oct 10, 2010
  3. @dchelimsky

    reorg some features

    dchelimsky committed Oct 10, 2010
  4. @dchelimsky

    rename feature dir

    dchelimsky committed Oct 10, 2010
  5. @dchelimsky

    add a little relish

    dchelimsky committed Oct 10, 2010
  6. @dchelimsky

    words

    dchelimsky committed Oct 10, 2010
Commits on Oct 9, 2010
  1. @myronmarston @dchelimsky
  2. @myronmarston @dchelimsky

    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. @dchelimsky

    bump version to 2.0.0.rc

    dchelimsky committed Oct 5, 2010
  2. @dchelimsky

    update history

    dchelimsky committed Oct 5, 2010
Commits on Oct 3, 2010
  1. @dchelimsky

    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. @dchelimsky
  2. @dchelimsky

    Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 793bd34.
    dchelimsky committed Oct 2, 2010
  3. @myronmarston @dchelimsky

    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
  4. @dchelimsky

    Revert "Fixed YAML serialization of a stubbed object."

    This reverts commit 79401b2.
    dchelimsky committed Oct 2, 2010
  5. @dchelimsky

    update history

    dchelimsky committed Oct 2, 2010
  6. @nbraem @dchelimsky
  7. @graaff @dchelimsky
Commits on Sep 28, 2010
  1. @myronmarston @dchelimsky

    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. @dchelimsky

    rename file

    dchelimsky committed Sep 27, 2010
Commits on Sep 26, 2010
  1. @andersondias @dchelimsky

    Fixing typo

    andersondias committed with dchelimsky Sep 24, 2010
Commits on Sep 13, 2010
  1. @dchelimsky

    bump version to 2.0.0.beta.22

    dchelimsky committed Sep 13, 2010
  2. @dchelimsky