Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v2.11.0
Commits on Jul 7, 2012
  1. @dchelimsky

    bump to 2.11.0

    dchelimsky authored
  2. @dchelimsky

    space, the final frontier

    dchelimsky authored
  3. @dchelimsky

    add travis badge to README

    dchelimsky authored
Commits on Jun 25, 2012
  1. @dchelimsky
Commits on Jun 23, 2012
  1. @dchelimsky

    Change BaseMatcher to a class.

    dchelimsky authored
    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
  1. @dchelimsky
Commits on Jun 15, 2012
  1. @myronmarston

    Update changelog.

    myronmarston authored
    [ci skip]
  2. @myronmarston

    Add #add_should_and_should_not to configuration API.

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

    Merge pull request #146 from brynary/codeclimate-badge

    dchelimsky authored
    Add Code Climate badge
  2. @brynary

    Add Code Climate badge

    brynary authored
Commits on May 22, 2012
  1. @myronmarston

    More changelog updates.

    myronmarston authored
  2. @myronmarston

    Update changelog.

    myronmarston authored
  3. @myronmarston

    Merge pull request #119 from rspec/expect_syntax

    myronmarston authored
    Add support for `expect(value)` syntax.
  4. @dchelimsky
  5. @dchelimsky

    refactor built-in matchers

    dchelimsky authored
    Removed default initialize and matches? from the BaseMatcher and added
    explicit initialization where needed.
  6. @dchelimsky

    dev: --backtrace

    dchelimsky authored
Commits on May 21, 2012
  1. @dchelimsky
  2. @dchelimsky

    refactor BeWithin to be more self-contained.

    dchelimsky authored
    More explicit and consistent in dealing with instance variables rather
    than relying on knowledge of how BaseMatcher handles them.
  3. @dchelimsky
Commits on May 17, 2012
  1. @justinko

    changelog

    justinko authored
  2. @justinko
  3. @justinko
  4. @justinko

    Merge pull request #145 from zhangsu/master

    justinko authored
    Fix confusing error message in `be_within`
  5. @zhangsu

    Fix confusing error message in `be_within`

    zhangsu authored
    This is a patch for the following issue:
    
    #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. @dchelimsky

    Remove obsolete spec

    dchelimsky authored
    - 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.
Commits on May 12, 2012
  1. @myronmarston

    Add match_array matcher method for the old =~ array matcher.

    myronmarston authored
    This is needed because we've decided not to support operator matchers off of `expect(value).to`, and `match_array` is the best name we've come up with for it.
  2. @myronmarston

    Add yard docs for new modules.

    myronmarston authored
    [ci skip]
Commits on May 11, 2012
  1. @myronmarston

    Cleanup code a bit.

    myronmarston authored
    - Remove bang from method...as @justinko rightly pointed out, there's no corresponding bangless method so it didn't really follow convention here.
    - Use an early guarded return.
  2. @myronmarston

    We can't count on hash ordering.

    myronmarston authored
    ...so use an array of tuples instead.
    
    Closes #144.
Commits on May 10, 2012
  1. @myronmarston
  2. @myronmarston

    Refactor enabling/disabling of expectation syntaxes.

    myronmarston authored
    * Fix build on JRuby. Our sandboxing via forking didn't work
      on JRuby since fork isn't available. On JRuby we just
      re-enable all syntaxes at the end of each sandboxed example.
    * Testing this revealed that the way I was restoring a disabled
      syntax didn't always work. Based on the random order, sometimes
      spec/rspec/matchers/be_spec.rb:427 would fail with
      "TypeError: bind argument must be an instance of Kernel".
    * Refactored main logic into new syntax module, that can add
      the syntaxes to any class or module. Kernel/RSpec::Matcher
      defaults are provided for convenience. This also fixes the
      bind failure, by redefining the methods anew rather than
      re-binding the old ones.
Something went wrong with that request. Please try again.