[rspec-users] rspec-2.1 is released!

David Chelimsky dchelimsky at gmail.com
Sun Nov 7 12:36:48 EST 2010

### rspec-core-2.1.0 / 2010-11-07

[Cucumber features](http://relishapp.com/rspec/rspec-core/v/2-1)
[RDoc](http://rdoc.info/gems/rspec-core/2.1.0/frames) # will be generated by 2010-11-08
[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)

* Enhancments
  * Add skip_bundler option to rake task to tell rake task to ignore the
    presence of a Gemfile (jfelchner)
  * Add gemfile option to rake task to tell rake task what Gemfile to look
    for (defaults to 'Gemfile')
  * Allow passing caller trace into Metadata to support extensions (Glenn
  * Add deprecation warning for Spec::Runner.configure to aid upgrade from
  * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
  * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
  * Add support for filtering with tags on CLI (Lailson Bandeira)
  * Add a helpful message about RUBYOPT when require fails in bin/rspec
  * Add "-Ilib" to the default rcov options (Tianyi Cui)
  * Make the expectation framework configurable (default rspec, of course)
    (Justin Ko)
  * Add 'pending' to be conditional (Myron Marston)
  * Add explicit support for :if and :unless as metadata keys for conditional run
    of examples (Myron Marston)
  * Add --fail-fast command line option (Jeff Kreeftmeijer)

* Bug fixes
  * Eliminate stack overflow with "subject { self }"
  * Require 'rspec/core' in the Raketask (ensures it required when running rcov)

### rspec-expectations-2.1.0 / 2010-11-07

[Cucumber features](http://relishapp.com/rspec/rspec-expectations/v/2-1)
[RDoc](http://rdoc.info/gems/rspec-expectations/2.1.0/frames) # will be generated by 2010-11-08
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.1...v2.1.0)

* Enhancements
  * be_within(delta).of(expected) matcher (Myron Marston)
  * Lots of new Cucumber features (Myron Marston)
  * Raise error if you try "should != expected" on Ruby-1.9 (Myron Marston)
  * Improved failure messages from throw_symbol (Myron Marston)

* Bug fixes
  * Eliminate hard dependency on RSpec::Core (Myron Marston)
  * have_matcher - use pluralize only when ActiveSupport inflections are indeed
    defined (Josep M Bach)
  * throw_symbol matcher no longer swallows exceptions (Myron Marston)
  * fix matcher chaining to avoid name collisions (Myron Marston)

### rspec-mocks-2.1.0 / 2010-11-07

[Cucumber features](http://relishapp.com/rspec/rspec-mocks/v/2-1)
[RDoc](http://rdoc.info/gems/rspec-mocks/2.1.0/frames) # will be generated by 2010-11-08
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.1...v2.1.0)

* Bug fixes
  * Fix serialization of stubbed object (Josep M Bach)

### rspec-rails-2.1.0 / 2010-11-07

[Cucumber features](http://relishapp.com/rspec/rspec-rails/v/2-1)
[RDoc](http://rdoc.info/gems/rspec-rails/2.1.0/frames) # will be generated by 2010-11-08
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)

* Enhancements
  * Move errors_on to ActiveModel to support other AM-compliant ORMs

* Bug fixes
  * Check for presence of ActiveRecord instead of checking Rails config
    (gets rspec out of the way of multiple ORMs in the same app)

More information about the rspec-users mailing list