Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 15, 2014
  1. Remove compatibility check for rspec < 2.11

    authored
    Seems reasonable since the gemspec requires ~> 3.0
    and its making CI fail:
    https://travis-ci.org/JoshCheek/surrogate/jobs/44044307
  2. Bump version to 0.8.1

    authored
  3. Move spec from PR to its own describe

    authored
    Build it out a little more, as well, and hit the other case
Commits on Dec 13, 2014
  1. @ericmeyer

    Allow will_<api_method> to accept a block

    ericmeyer authored
      This overrides the default behavior instead of just the default return value
Commits on Aug 17, 2014
  1. Re-add mountain_berry_fields, update readme, make rake tasks explicit…

    authored
    … rather than relying on task definers
Commits on Aug 16, 2014
  1. Get working w/ RSpec 3

    authored
    Temporarily removes MountainBerryFields
  2. I don't use rvm anymore

    authored
Commits on Aug 7, 2014
  1. @heruku

    fix failure error method name

    heruku authored
  2. @heruku

    patches rspec integration

    heruku authored
Commits on May 21, 2014
  1. @sl4m
Commits on Jun 14, 2013
Commits on Jan 18, 2013
Commits on Jan 11, 2013
  1. Bump verison to 0.7.0

    authored
Commits on Dec 27, 2012
  1. Bump version to 0.6.5

    authored
Commits on Dec 21, 2012
  1. Merge pull request #3 from ericmeyer/remove_order_warning

    authored
    Remove order warning on substituability matcher
  2. @ericmeyer

    Remove order warning on substituability matcher

    ericmeyer authored
      Add be_substitutable_for that behaves the same as substitute_for
Commits on Dec 18, 2012
  1. Bump version to 0.6.4

    authored
  2. Merge pull request #2 from ericmeyer/define_accessor

    authored
    Add define methods to mimic ruby accessors
Commits on Dec 14, 2012
  1. @ericmeyer
  2. @ericmeyer

    Add define methods to mimic ruby accessors

    ericmeyer authored
      Add define_reader, define_reader and define_accessor
      Can take a variable number of arguments similarly to attr_accessor
      The default reader value can be specified by passing in a block
    
      Allow defining of methods to take symbol or string
Commits on Nov 6, 2012
Commits on Oct 31, 2012
  1. Bump version to 0.6.3

    authored
  2. Allow mass initialization for clones and instances

    authored
    You can pass overrides to `.clone`
    
    You can create an initialized instance with `.factory(attribute: value)`
    
    You can prevent the factory method from being defined (e.g. if you have your
    own factory method that you don't want to be overridden) like this:
    
    `Surrogate.endow self, factory: false`
    
    You can change the name of the factory method like this:
    
    `Surrogate.endow self, factory: :some_other_name`
Commits on Oct 30, 2012
  1. Bump version to 0.6.2

    authored
Something went wrong with that request. Please try again.