Permalink
Commits on Jul 10, 2012
Commits on Jul 8, 2012
  1. Constrain `actual` in `be_within` matcher to values that respond to `-`

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

    dchelimsky committed Jul 7, 2012
  2. space, the final frontier

    dchelimsky committed Jul 7, 2012
Commits on Jun 25, 2012
Commits on Jun 23, 2012
  1. Change BaseMatcher to a class.

    dchelimsky committed Jun 23, 2012
    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)
Commits on Jun 20, 2012
Commits on Jun 15, 2012
  1. Update changelog.

    myronmarston committed Jun 15, 2012
    [ci skip]
  2. Add #add_should_and_should_not to configuration API.

    myronmarston committed Jun 15, 2012
    This allows users to manually add these methods to proxy objects that do not have them.
    
    Closes #114.
Commits on Jun 14, 2012
Commits on Jun 7, 2012
Commits on Jun 5, 2012
  1. Add more docs on syntax configuration.

    myronmarston committed Jun 5, 2012
    Closes #149.
Commits on May 25, 2012
  1. Merge pull request #146 from brynary/codeclimate-badge

    dchelimsky committed May 25, 2012
    Add Code Climate badge
  2. Add Code Climate badge

    brynary committed May 25, 2012
Commits on May 22, 2012
  1. More changelog updates.

    myronmarston committed May 22, 2012
  2. Update changelog.

    myronmarston committed May 22, 2012
  3. Merge pull request #119 from rspec/expect_syntax

    myronmarston committed May 22, 2012
    Add support for `expect(value)` syntax.
  4. refactor built-in matchers

    dchelimsky committed May 22, 2012
    Removed default initialize and matches? from the BaseMatcher and added
    explicit initialization where needed.
  5. dev: --backtrace

    dchelimsky committed May 22, 2012
Commits on May 21, 2012
  1. refactor BeWithin to be more self-contained.

    dchelimsky committed May 21, 2012
    More explicit and consistent in dealing with instance variables rather
    than relying on knowledge of how BaseMatcher handles them.
Commits on May 17, 2012
  1. changelog

    justinko committed May 17, 2012
  2. Merge pull request #145 from zhangsu/master

    justinko committed May 17, 2012
    Fix confusing error message in `be_within`
  3. Fix confusing error message in `be_within`

    zhangsu committed May 17, 2012
    This is a patch for the following issue:
    
    rspec#92
    
    It is possible to have duck typing for numerical operations, but the minus
    sign is often used for other operations as well such as the set
    difference that Array#- performs. In that case, even if it does not fail
    on the :- method, it will probably fail on the subsequent :abs and :<=
    calls.
Commits on May 13, 2012
  1. Remove obsolete spec

    dchelimsky committed May 13, 2012
    - it wasn't running because it was dynamically bound to classes that
      were no longer being found.
    - it was specifying an age-old protocol that isn't used by
      rspec-expectations, so it would never be used.