Permalink
Switch branches/tags
Commits on Sep 14, 2012
  1. fix cuke for rubinius

    dchelimsky committed Sep 14, 2012
  2. indicative docstrings

    rentalcustard authored and dchelimsky committed Sep 14, 2012
    This was a pull request (#71) from Tom Stuart that I didn't merge until several
    months later, so I had to address some merge conflicts. In addition, the
    original intent was to offer the end user a configuration option for the
    "voice" of the message (e.g. "should be x" vs "is x"), but I made it check if
    the matcher responds to new methods docstring_for_should or
    docstring_for_should_not and use those. This way all the internal matchers do
    the right thing, but external matchers will still work without rspec trying to
    convert the mode of it's docstring.
Commits on Sep 12, 2012
  1. more custom Gemfile updates

    David Chelimsky
    David Chelimsky committed Sep 12, 2012
  2. update Gemfile-custom

    David Chelimsky
    David Chelimsky committed Sep 12, 2012
  3. whitespace

    David Chelimsky
    David Chelimsky committed Sep 12, 2012
Commits on Sep 10, 2012
  1. Use stub_const rather than hand-rolled const mutation.

    myronmarston committed Sep 10, 2012
    This also fixes a warning I was getting on the 1.8.7 build:
    
    rspec-expectations/spec/rspec/matchers/have_spec.rb:13: warning: redefine pluralize
  2. Fix and re-enable the test_all build.

    myronmarston committed Sep 10, 2012
    I had previously attempted to add this in b0d5007 but find_path_to_rspec_exe wasn't quite right.
    
    Travis installs rspec-core as a :git gem so the path is `.../rspec-core-<sha>/lib`, not `.../rspec-core/lib`.
Commits on Sep 8, 2012
Commits on Sep 6, 2012
Commits on Sep 5, 2012
  1. Add missing changelog entry I forgot to add.

    myronmarston committed Sep 5, 2012
    This was fixed in d427bac.
Commits on Aug 26, 2012
  1. Revert recent build change -- it's not working on Travis CI.

    myronmarston committed Aug 26, 2012
    I need to head to bed in a bit and I don't want to leave the build
    broken. I'll put this in a branch and play with it there to
    get it to work.
    
    - Revert "Improve how we find the path to the rspec exe."
      This reverts commit cafef45.
    - Revert "Run all specs together and in isolation for build."
      This reverts commit b0d5007.
  2. Improve how we find the path to the rspec exe.

    myronmarston committed Aug 26, 2012
    On travis, it found `/home/travis/builds/rspec/exe/rspec`,
    and that didn't exist. I'm not sure why it didn't find the
    one in rspec-core, but I think this'll fix it.
  3. Fix ruby warnings.

    myronmarston committed Aug 26, 2012
    /Users/myron/code/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:8: warning: method redefined; discarding old ignore
    /Users/myron/code/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:8: warning: previous definition of ignore was here
  4. Run all specs together and in isolation for build.

    myronmarston committed Aug 26, 2012
    We want them to be able to pass when run in isolation w/o bundler being loaded.
Commits on Aug 25, 2012
  1. Merge pull request #169 from alexcoplan/better_diff_coloring

    myronmarston committed Aug 25, 2012
    Better diff coloring
Commits on Jul 27, 2012
  1. Ensure #== is defined on build in matchers so that they can be composed.

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

    alindeman committed Jul 25, 2012
    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.
  2. Merge pull request #160 from ggilder/master

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

    myronmarston committed Jul 18, 2012
  2. Merge pull request #157 from alexcoplan/color_diffs

    myronmarston committed Jul 18, 2012
    Colored Diffs
Commits on Jul 17, 2012
Commits on Jul 13, 2012
  1. Loosen error message constraints for raise_error matcher specs.

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