Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v2.11.1
Commits on Jul 19, 2012
  1. @myronmarston

    2.11.1 release.

    myronmarston authored
Commits on Jul 18, 2012
  1. @myronmarston

    Ignore mock expectation failures when the example has already failed.

    myronmarston authored
    Mock expectation failures have always been ignored in this situation,
    but due to my changes in 27059bf it was printing a confusing message.
    
    Closes #651.
  2. @myronmarston

    Update change log.

    myronmarston authored
  3. @myronmarston

    Fix the way we autoload RSpec::Matchers.

    myronmarston authored
    `autoload`, besides being deprecated by Matz, does not work to require files
    that are in unactivated gems--it only works with ruby's built in require, for
    files that are available relative to a directory on the load path. Instead,
    we use `const_missing` to make it work.
    
    Closes #647.
  4. @joliss @myronmarston

    Fix typo

    joliss authored myronmarston committed
    This used to be a multi-line string with "',\n    '" in it.
  5. @myronmarston

    Fix ruby warnings.

    myronmarston authored
    - lib/rspec/core/shared_example_group.rb:41: warning: `&' interpreted as argument prefix
    - spec/rspec/core/configuration_spec.rb:86: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/configuration_spec.rb:182: warning: ambiguous first argument; put parentheses or even spaces
    - spec/rspec/core/option_parser_spec.rb:71: warning: possibly useless use of == in void context
    
    Closes #645.
Commits on Jul 7, 2012
  1. @dchelimsky

    bump to 2.11.0

    dchelimsky authored
  2. @dchelimsky

    update Changelog

    dchelimsky authored
  3. @dchelimsky

    refactor: rename method

    dchelimsky authored
Commits on Jul 4, 2012
  1. @dchelimsky
Commits on Jun 29, 2012
  1. @dchelimsky
  2. @dchelimsky
Commits on Jun 21, 2012
  1. @dchelimsky

    Revert "Merge pull request #609 from alexch/json-formatter"

    dchelimsky authored
    This reverts commit 8e41f1a, reversing
    changes made to 076d683.
  2. @dchelimsky
  3. @dchelimsky

    Revert "formatters run better when $SAFE mode is on"

    dchelimsky authored
    This is causing failures in Ruby 1.8.7, jruby, and ree
    
    This reverts commit 576b82d.
  4. @dchelimsky

    Restore "Merge pull request #609 from alexch/json-formatter""

    dchelimsky authored
    Most of the commits with this merge are fine - only one is causing failures
    in some rubies - we can deal with that issue separately.
    
    This reverts commit 359cd38.
  5. @dchelimsky

    Revert "Merge pull request #609 from alexch/json-formatter"

    dchelimsky authored
    Failed in ci build for 1.8.7, jruby, ree
    
    This reverts commit 8e41f1a, reversing
    changes made to 076d683.
  6. @dchelimsky

    Changelog for #609 [ci skip]

    dchelimsky authored
  7. @dchelimsky

    Merge pull request #609 from alexch/json-formatter

    dchelimsky authored
    JSON formatter
  8. @dchelimsky

    refactoring: alias prepend and append on HookCollection

    dchelimsky authored
    - a bit more OO
    - one less conditional per hook registration
Commits on Jun 16, 2012
  1. @myronmarston

    Don't add `describe` to every object.

    myronmarston authored
    Instead, make it only available on:
      - The main object--so it can be used at the top level.
      - Modules--so example groups can be declared nested
        within modules, as is the common practice.
    
    Besides this, the only other place we need describe is from within
    example groups (so we can nest them), and this is taken care of by
    RSpec::Core::ExampleGroup.describe.
    
    I got the idea for this from a recent change in Sinatra that similarly
    limits the DSL to just the main object rather than all objects:
    
    sinatra/sinatra@46bdb7d
Commits on Jun 15, 2012
  1. @dchelimsky

    remove dead code

    dchelimsky authored
Commits on Jun 11, 2012
  1. @alindeman
  2. @myronmarston

    Merge pull request #629 from rspec/delay-drb-loading

    myronmarston authored
    Delay the loading of DRB.
Commits on Jun 9, 2012
  1. @alindeman

    Changelog for #594 [ci skip]

    alindeman authored
  2. @alindeman

    `--require` is merged among different configuration sources

    alindeman authored
    * e.g., `--require` specified in SPEC_OPTS will be merged with
      `--require` specified in `.rspec`
    * Fixes #594
  3. @dchelimsky

    Bump version to 2.10.1

    dchelimsky authored
    This was done already before the 2.10.1 release, but only on the 2-10
    maintenance branch.
Commits on Jun 6, 2012
  1. @justinko

    Merge pull request #630 from hynkle/typo

    justinko authored
    fix typo
  2. @hynkle

    fix typo

    hynkle authored
  3. @myronmarston

    Delay the loading of DRB.

    myronmarston authored
    - Most of the time users don't use DRB. This'll speed up the start time a bit
      by not unnecessarily loading it when it's not used.
    - Apparently jruby 1.7.0-preview1 loads the delegate library when DRB is loaded [1][2].
      This causes expectations on delegate objects to fail because `should` never gets added
      to them. By delaying when delegate gets loaded, it allows a user to load
      `rspec/expectations` and then `delegate` and ensure it works.
    
    [1] rspec/rspec-expectations#148 (comment)
    [2] The backtrace at the point delegate is loaded:
    /Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:1:in `require'
    /Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:1:in `(root)'
    /Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:57:in `require'
    /Users/myron/.rvm/rubies/jruby-head/lib/ruby/1.9/drb/drb.rb:57:in `(root)'
    /Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `require'
    /Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `(root)'
    /Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:1:in `(root)'
    file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:1:in `(root)'
    file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:19:in `require'
    file:/Users/myron/.rvm/rubies/jruby-head/lib/jruby.jar!/jruby/kernel19/kernel.rb:19:in `require_relative'
    /Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core.rb:4:in `require'
    /Users/myron/.rvm/gems/jruby-head/gems/rspec-core-2.10.1/lib/rspec/core.rb:4:in `require_rspec'
    /Users/myron/.rvm/gems/jruby-head/bin/rspec:23:in `load'
    /Users/myron/.rvm/gems/jruby-head/bin/rspec:23:in `(root)'
Commits on Jun 4, 2012
  1. @dchelimsky
  2. @dchelimsky
  3. @dchelimsky

    use `define_method` instead of `let` for named subject

    dchelimsky authored
    `subject` already memoizes the value
Commits on May 31, 2012
  1. @dchelimsky
Commits on May 27, 2012
  1. @dchelimsky

    README tweaks

    dchelimsky authored
Something went wrong with that request. Please try again.