Rspec-2.1 is released!

rspec-core-2.1.0 / 2010-11-07

Cucumber features
RDoc # will be
generated by 2010-11-08
full
changelog

  • 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
      Vanderburg)
    • Add deprecation warning for Spec::Runner.configure to aid upgrade
      from
      RSpec-1
    • 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 B.)
    • Add a helpful message about RUBYOPT when require fails in bin/rspec
      (slyphon)
    • 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 M.)
    • Add explicit support for :if and :unless as metadata keys for
      conditional run
      of examples (Myron M.)
    • 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
RDoc # will be
generated by 2010-11-08
full
changelog

  • Enhancements

    • be_within(delta).of(expected) matcher (Myron M.)
    • Lots of new Cucumber features (Myron M.)
    • Raise error if you try “should != expected” on Ruby-1.9 (Myron
      Marston)
    • Improved failure messages from throw_symbol (Myron M.)
  • Bug fixes

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

rspec-mocks-2.1.0 / 2010-11-07

Cucumber features
RDoc # will be
generated by 2010-11-08
full
changelog

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

rspec-rails-2.1.0 / 2010-11-07

Cucumber features
RDoc # will be
generated by 2010-11-08
full
changelog

  • 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)