Permalink
Commits on Jul 27, 2012
  1. @myronmarston

    Ensure #== is defined on build in matchers so that they can be composed.

    For example:
    
    expect {
      user.emailed!
    }.to change{user.last_emailed_at}.from(nil).to be_within(1.second).of(Time.zone.now)
    
    Closes #161.
    myronmarston committed Jul 27, 2012
Commits on Jul 26, 2012
  1. @myronmarston
Commits on Jul 25, 2012
  1. @alindeman

    Be defensive about resolving `Object`

    It'd be pretty crazy for there to be an `RSpec::Object` or
    `RSpec::Expectations::Object,` but 1) Ruby's constant resolution rules
    have changed and I don't always remember them and 2) We were originally
    defensive about it.
    alindeman committed Jul 25, 2012
  2. @myronmarston
  3. @myronmarston

    Merge pull request #160 from ggilder/master

    #159: Revise should(_not) to work with MacRuby
    myronmarston committed Jul 25, 2012
  4. @ggilder
Commits on Jul 19, 2012
  1. @dchelimsky
Commits on Jul 18, 2012
  1. @myronmarston

    Update changelog.

    myronmarston committed Jul 18, 2012
  2. @myronmarston

    Merge pull request #157 from alexcoplan/color_diffs

    Colored Diffs
    myronmarston committed Jul 18, 2012
Commits on Jul 17, 2012
Commits on Jul 13, 2012
  1. @myronmarston

    Loosen error message constraints for raise_error matcher specs.

    This is in prep for #59--once I had some backtrace info, all of these would fail since they are doing exact string matches.
    myronmarston committed Jul 13, 2012
  2. @myronmarston

    Remove the hacky search for should_not in backtrace.

    It wasn't working for the `expect { .. }.to` syntax, anyway.
    myronmarston committed Jul 13, 2012
Commits on Jul 10, 2012
  1. @dchelimsky

    tweak README (expect syntax)

    dchelimsky committed Jul 10, 2012
  2. @dchelimsky
Commits on Jul 8, 2012
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky

    Constrain `actual` in `be_within` matcher to values that respond to `-`

    instead of requiring a specific type.
    
    - `Time`, for example, is a legit alternative.
    - Fixes issue introduced by #145
    dchelimsky committed Jul 8, 2012
Commits on Jul 7, 2012
  1. @dchelimsky
  2. @dchelimsky

    bump to 2.11.0

    dchelimsky committed Jul 7, 2012
  3. @dchelimsky

    space, the final frontier

    dchelimsky committed Jul 7, 2012
  4. @dchelimsky

    add travis badge to README

    dchelimsky committed Jul 7, 2012
Commits on Jun 25, 2012
  1. @dchelimsky
Commits on Jun 23, 2012
  1. @dchelimsky

    Change BaseMatcher to a class.

    It was a module, but it was really acting as a base class (it was even
    in the name).
    
    Very slightly more efficient (see benchmarks/include_v_superclass.rb)
    dchelimsky committed Jun 23, 2012
Commits on Jun 20, 2012
  1. @dchelimsky
Commits on Jun 15, 2012
  1. @myronmarston

    Update changelog.

    [ci skip]
    myronmarston committed Jun 15, 2012
  2. @myronmarston

    Add #add_should_and_should_not to configuration API.

    This allows users to manually add these methods to proxy objects that do not have them.
    
    Closes #114.
    myronmarston committed Jun 15, 2012
  3. @myronmarston
Commits on Jun 14, 2012
  1. @dchelimsky
Commits on Jun 7, 2012
  1. @justinko
Commits on Jun 5, 2012
  1. @myronmarston

    Add more docs on syntax configuration.

    Closes #149.
    myronmarston committed Jun 5, 2012
Commits on May 25, 2012
  1. @dchelimsky

    Merge pull request #146 from brynary/codeclimate-badge

    Add Code Climate badge
    dchelimsky committed May 25, 2012