Skip to content
Commits on Nov 12, 2015
  1. @myronmarston
  2. @myronmarston

    Release v3.4.0

    myronmarston committed
  3. @myronmarston
Commits on Nov 3, 2015
  1. @JonRowe

    Merge pull request #1032 from georgeu2000/master

    JonRowe committed
    Fix typo.
  2. @georgeu2000

    Fix typo.

    georgeu2000 committed
Commits on Oct 27, 2015
  1. @JonRowe

    Merge pull request #1027 from alexdowad/style_fixup

    JonRowe committed
    Make RuboCop happy when run on rspec-mock test suite
Commits on Oct 26, 2015
  1. @JonRowe
  2. @JonRowe

    changelog for #1026

    JonRowe committed
    [skip ci]
  3. @JonRowe

    Merge pull request #1026 from alexdowad/more_receive_specs

    JonRowe committed
    Fix problem with 'receive' on MRI 1.8.7 (when used on singleton methods in superclass and subclass)
  4. @alexdowad
  5. @alexdowad

    Avoid exception when class method is stubbed in subclass on MRI 1.8.7

    alexdowad committed
    Singleton methods cannot be rebound in MRI 1.8.7, even to a subclass. This means
    that when a singleton method is defined on a superclass, and then stubbed out on
    a subclass, the code used to cache the original method (so it can be used by
    'and_call_original', etc) doesn't work. Actually, it doesn't just 'not work' --
    it raises a TypeError which causes the example to fail, *even if* the original
    method would never have been used.
    
    Catch this exception, and use an alternate implementation instead which works
    even on MRI 1.8.7. Unfortunately, this requires us to expose some implementation
    details of MethodDouble.
    
    Also add detailed specs which codify the expected behavior of 'receive' when used
    on the same class method in both a superclass and subclass.
  6. @alexdowad

    Make RuboCop happy when run on rspec-mock test suite

    alexdowad committed
    Fix more than 100 style warnings from RuboCop.
Commits on Oct 20, 2015
  1. @JonRowe
  2. @JonRowe
  3. @JonRowe

    Merge pull request #1024 from rspec/fix_warning

    JonRowe committed
    Supress warnings from not specifying error
  4. @JonRowe

    cleanup and changelog for #1022

    JonRowe committed
  5. @JonRowe

    Merge pull request #1022 from alexdowad/avoid_stack_overflow

    JonRowe committed
    Avoid stack overflow when #respond_to? expectation fails
  6. @JonRowe
  7. @alexdowad
  8. @alexdowad

    Don't overflow stack if method expectation for #respond_to? fails

    alexdowad committed
    In the process of generating the error message for a failed method expectation,
    ErrorGenerator would call Array#join on an array which contained the receiver.
    Internally, Array#join calls #respond_to?(:to_str) on the objects which are being
    joined into a string.
    
    If the method expectation was for #respond_to?, the internal call to #respond_to?
    could cause the expectation to fail again, causing an infinite loop and resulting
    stack overflow.
    
    Avoid this by not using Array#join to generate the error message. Fixes #1020.
Commits on Oct 14, 2015
  1. @JonRowe

    Merge pull request #1018 from rspec/update-travis-build-scripts-2015-…

    JonRowe committed
    …10-13-for-master
    
    Updates from rspec-dev (2015-10-13)
  2. @myronmarston
Commits on Oct 7, 2015
  1. @JonRowe

    Merge pull request #1017 from rspec/fix_license

    JonRowe committed
    Fixup license file for build
Commits on Oct 6, 2015
  1. @JonRowe

    update yard

    JonRowe committed
  2. @JonRowe

    list copyrights

    JonRowe committed
  3. @JonRowe

    fixup license file for build

    JonRowe committed
  4. @JonRowe

    Unify style

    JonRowe committed
    [skip ci]
  5. @JonRowe

    Convert to markdown

    JonRowe committed
    [skip ci]
Commits on Sep 30, 2015
  1. @JonRowe

    Merge pull request #1015 from maclover7/patch-1

    JonRowe committed
    Sync up Readme footer with other repos
  2. @maclover7
Commits on Sep 15, 2015
  1. @JonRowe

    Merge pull request #1012 from f1sherman/fix-code-of-conduct-link

    JonRowe committed
    fix link to the Code of Conduct from the Contributing guide
  2. @f1sherman
Commits on Aug 26, 2015
  1. @JonRowe

    Merge pull request #1009 from rspec/doc-improvements

    JonRowe committed
    Docs: add missing nav item and link to configuring responses.
Commits on Aug 22, 2015
  1. @myronmarston
Commits on Aug 21, 2015
  1. @myronmarston

    Merge pull request #1007 from rwz/master

    myronmarston committed
    Fix typo: expecation -> expectation
Something went wrong with that request. Please try again.