Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rspec/rspec-core
base: v2.0.0
head fork: rspec/rspec-core
compare: v2.1.0
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Oct 11, 2010
@dchelimsky dchelimsky Pass --autotest over drb to get color to work w/ autotest+spork.
- Closes #184.
@dchelimsky dchelimsky history 10d9377
Commits on Oct 12, 2010
@dchelimsky dchelimsky upgrade cucumber 988b345
@dchelimsky dchelimsky Perf: get the right collection the first time
- turns out it is faster to inject over an array than to collection a
  bunch of arrays and flatten them
Commits on Oct 13, 2010
@txus txus Pending examples without docstring should not autogenerate descriptio…
…ns from previous examples

- Closes #186.
@dchelimsky dchelimsky back to cucumber 0.8.5 again (too many files bug) aa75bfe
@dchelimsky dchelimsky history 7e40fb8
Commits on Oct 14, 2010
@dchelimsky dchelimsky need to remove relish from Gemfile until it is released 03ee841
@dchelimsky dchelimsky Determine example and group location without restricting to a file

- Closes #190.
@dchelimsky dchelimsky Perf: simplify calculation of location
- caller is only used to determine file and line number as metadata is
  initialized. There is no need to store it.
- Also, the previous commit reduces the need for analysis of the caller
  stack. We therefore don't need to sling it around within the rspec
- Running the following 5000 times took 2.77 seconds before these last
  two commits, 1:58 after:

    describe "something" do
      it "does something" do
        1.should eq(1)

Please enter the commit message for your changes. Lines starting
Commits on Oct 15, 2010
@alexcrichton alexcrichton Added tests for making sure erb files/evaluations don't drop out of t…
…he textmate formatter
@alexcrichton alexcrichton Support stack traces with erb files in them and also show all lines f…
…rom stack trace even when it's not a ruby file. Just don't link files which aren't ruby files.

- Closes #155.
@dchelimsky dchelimsky Update generated html for textmate and html formatter specs. 4ce4e5f
Commits on Oct 16, 2010
@dchelimsky dchelimsky remove deprecation notices for items to be removed from 2.1 b66cc11
Commits on Oct 17, 2010
@dchelimsky dchelimsky bump version to 2.1.0.pre
- this supports building and installing from the latest source without
  over-writing released gems
Commits on Oct 18, 2010
@dchelimsky dchelimsky update dependency versions 88f3c21
@jfelchner jfelchner Add an 'bundler' option to the rake task. 34260d9
@dchelimsky dchelimsky words 1e71ba3
Commits on Oct 22, 2010
@dchelimsky dchelimsky update dependencies across development repos 62f1bde
Commits on Oct 23, 2010
@dchelimsky dchelimsky links to docs 4c5e75d
@glv glv Allow passing caller trace into Metadata to support extensions
- Closes #198.
Commits on Oct 24, 2010
@dchelimsky dchelimsky Properly deprecate Spec::Runner.configure
- also reinstate deprecation warning for Spec
- will remove both from rspec-3
@dchelimsky dchelimsky tweak words 54f8e2b
@dchelimsky dchelimsky Add deprecated Spec::Rake::SpecTask from rspec-1 with deprecation
warning and delegation to RSpec::Core::RakeTask
@dchelimsky dchelimsky don't forget to add the deprecated methods (ported from 2-0-stable br…
Commits on Oct 26, 2010
@dchelimsky dchelimsky words 302e77c
Commits on Oct 27, 2010
@dchelimsky dchelimsky add relish again 1531ec0
@dchelimsky dchelimsky words 73c15a1
@dchelimsky dchelimsky Add 'autospec' command to alert user that it has been removed. 56b0b11
Commits on Oct 29, 2010
@luislavena luislavena Use a link for upgrade instructions
Users report that after installing RSpec they cannot find any
documentation about upgrading from version 1.x to 2.x

- closes #204.
Commits on Oct 30, 2010
@dchelimsky dchelimsky specify version of relish 4a9378c
@dchelimsky dchelimsky tweak subject features f210eb1
@dchelimsky dchelimsky update some features 7cae0be
Commits on Nov 01, 2010
@dchelimsky dchelimsky don't use tap in feature (no tap in 1.8.6) 506441b
@myronmarston myronmarston Remove gemspec call from Gemfile.
- closes #200.
Commits on Nov 06, 2010
@lailsonbm lailsonbm Added support for filtering with tags on CLI.
Simple support for tags, as described in

- Closes #37.
@dchelimsky dchelimsky Fix bug where "subject { self }" caused a stack overflow.
- Closes #217.
@slyphon slyphon add a helpful message about RUBYOPT when require fails in bin/rspec
- Closes #211.
@dchelimsky dchelimsky exit with a non-zero status if rspec/autorun is not found 10bfa67
@dchelimsky dchelimsky get the rcov task (internal) working right again b91baa4
@dchelimsky dchelimsky require 'rspec/core' in the rake task
- Closes #215.
@tianyicui tianyicui Add -Ilib to default rcov_opts
- Closes #203.
@dchelimsky dchelimsky Explicitly register an example group from describe() 3b016d2
@justinko justinko Make rspec/expectations configurable.
rspec-core currently only supports using rspec-expectations to set
expectations and define matchers, but this opens the door for new
expectation frameworks and/or using assertion frameworks like that in
test/unit or minitest without having to load rspec's expectation

- Closes #118.
@myronmarston myronmarston Allow `pending` to be conditional.
This is handy for cases where an example gets run in multiple environments (say, multiple versions of ruby) and passes in one and fails in another.  This allows you to use the block pending form for only one of the environments.
Commits on Nov 07, 2010
@dchelimsky dchelimsky add deprecation warning for rake task warning=(true_or_false) aa0656d
@myronmarston myronmarston Add implicit :if and :unless filters.
* These are built in exclusion filters that can be overriden.
* When you configure a filter, it now merges with existing filters rather than completely overriding them.
* A spec/group is now filtered if ANY of the filter conditions apply; before it required ALL to apply.
* Filter lambdas can now accept a 2nd argument that is the metadata hash--this allows checking to see if the key is even in the hash (necessary for the :if filter).
@myronmarston myronmarston Fix example formatter output.
My changes (particularly the pending changes) have changed the backtraces a bit and forced me to re-generate these.  I'm having issues running the specs on JRuby so I wasn't able to re-gen those.
@myronmarston myronmarston Fix failing cuke.
There are now additional exclusion filters (:if and :unless).
@dchelimsky dchelimsky eliminate some warnings 7019ec4
@dchelimsky dchelimsky Merge remote branch 'myronmarston/if_and_unless_metadata' f8beca6
@dchelimsky dchelimsky restructure spec to get it to work on multiple ruby versions (was fai…
…ling on 1.9.2, but failure was not about spec'd behavior)
@dchelimsky dchelimsky change bundler rake task option to skip_bundler
- by default, include 'bundle exec' in the shell command generated by
  the rake task if a Gemfile is present
- this is overridable with task.skip_bundler = true
@dchelimsky dchelimsky History 59c7272
@dchelimsky dchelimsky more history 5ed55e4
@jeffkreeftmeijer jeffkreeftmeijer Add the --fail-fast command line option
- Closes #219.
@dchelimsky dchelimsky words 1a2f899
@dchelimsky dchelimsky configure guard-rspec adc3fe4
@dchelimsky dchelimsky Add gemfile option to rake task
- supports using alternate Gemfiles
@dchelimsky dchelimsky autoload RSpec::Matchers e4b44cf
@dchelimsky dchelimsky use regexp instead of start_with to support Ruby 1.8.6 6f08117
@myronmarston myronmarston Improve explanation of new conditionally pending feature. 3f9ed75
@myronmarston myronmarston Add description of implicit filtering to cuke.
- Closes #220.
@dchelimsky dchelimsky bump to 2.1.0 06d7b39