Permalink
Commits on Apr 4, 2012
  1. @dchelimsky
Commits on Apr 3, 2012
  1. @dchelimsky

    fix changelog

    dchelimsky committed Apr 3, 2012
  2. @dchelimsky

    bump to 2.9.1

    dchelimsky committed Apr 3, 2012
Commits on Apr 2, 2012
  1. @dchelimsky

    Change the be_within matcher to be inclusive of the delta.

    - Fixes #131.
    - This changes the way the matcher behaves, which is something we would
      generally avoid in anything but a major release, however we believe
      that this is the correct behavior and that this change is very unlikely
      to impact anybody negatively. Specifically:
    
      1. 17.4.should be_within(0.5).of(17) # used to pass and continues to pass
      2. 17.5.should be_within(0.5).of(17) # used to fail due to lack of inclusivity, but passes after this change
      3. 17.6.should be_within(0.5).of(17) # used to fail and continues to fail
      4. 17.4.should_not be_within(0.5).of(17) # used to fail and continues to fail
      5. 17.5.should_not be_within(0.5).of(17) # used to pass due to lack of inclusivity, but fails after this change
      6. 17.6.should_not be_within(0.5).of(17) # used to fail and continues to fail
    
      Scenario 2 used to fail, so it's unlikely to be present.
      Scenario 5 will result in new failures, but we believe that it is very unlikely to be used.
    dchelimsky committed Apr 2, 2012
  2. @dchelimsky

    Changelog for #128

    [ci skip]
    dchelimsky committed Apr 2, 2012
Commits on Apr 1, 2012
  1. @justinko

    Merge pull request #128 from mirasrael/master

    Fix using execution context methods in nested DSL matchers
    justinko committed Apr 1, 2012
  2. @myronmarston

    Add API docs for yield matchers.

    Cukes are still to come.
    myronmarston committed Apr 1, 2012
Commits on Mar 31, 2012
  1. @myronmarston
  2. @myronmarston

    Raise an error if a yield matcher is used w/ an expect block that acc…

    …epts no args.
    
    The expect block must accept an arg, and pass it on to the method-under-test as a block, in order for these yield matchers to work properly.  Since this is atypical for an expect block, this error will help guide people when they use these matchers incorrectly.
    myronmarston committed Mar 31, 2012
  3. @myronmarston

    Fix yield matchers to handle instance_eval.

    It's debatable if instance_eval'ing a block can be considered yielding, but it's important that we use local variables in the lambdas rather than instance variables, because we don't want to modify the state of the receiver of #instance_eval.
    myronmarston committed Mar 31, 2012
  4. @myronmarston

    Remove diffability from yield matchers for now.

    I'm not sure it makes sense given that they don't match strictly but instead match using === or ==.
    myronmarston committed Mar 31, 2012
  5. @myronmarston
  6. Fix naming

    mirasrael committed Mar 31, 2012
  7. @myronmarston
Commits on Mar 30, 2012
  1. Fix using execution context methods in nested DSL matchers

    - Fixes #127.
    mirasrael committed Mar 30, 2012
  2. @myronmarston
  3. @myronmarston
  4. @myronmarston

    Match yielded args with == or ===.

    Previously, this expectation failed:
    
      expect { |b| _yield_with_args(String, Fixnum, &b) }.to yield_with_args(String, Fixnum)
    
    ...because Class=== returns false when given itself.
    myronmarston committed Mar 30, 2012
Commits on Mar 29, 2012
  1. @dchelimsky

    tweak docstring #126 [ci skip]

    dchelimsky committed Mar 29, 2012
  2. @dchelimsky

    changelog for #126

    dchelimsky committed Mar 29, 2012
  3. @dchelimsky

    Merge pull request #126 from mirasrael/master

    Fix for error with using custom matchers inside other custom matchers
    dchelimsky committed Mar 29, 2012
  4. @myronmarston
Commits on Mar 27, 2012
  1. @myronmarston
Commits on Mar 25, 2012
  1. @dchelimsky

    Changelog for #125 [ci skip]

    dchelimsky committed Mar 25, 2012
Commits on Mar 23, 2012
  1. @justinko
Commits on Mar 22, 2012
  1. @justinko
Commits on Mar 17, 2012
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky
  4. @dchelimsky
  5. @dchelimsky
  6. @dchelimsky

    dev: add a script to download ruby-debug-base19-0.11.26.gem and linec…

    …ache19-0.5.13.gem to a local cache
    
    [ci skip]
    dchelimsky committed Mar 17, 2012
  7. @dchelimsky

    bump to 2.9.0

    dchelimsky committed Mar 17, 2012