Changes to rspec-core listed below. There are no functional changes to
rspec-mocks or rspec-expectations for this release.
Happy New Year!
Cheers,
David
rspec-core-2.4.0 / 2011-01-02
-
Enhancements
- start the debugger on -d so the stack trace is visible when it stops
(Clifford H.) - apply hook filtering to examples as well as groups (Myron M.)
- support multiple formatters, each with their own output
- show exception classes in failure messages unless they come from
RSpec
matchers or message expectations - before(:all) { pending } sets all examples to pending
- start the debugger on -d so the stack trace is visible when it stops
-
Bug fixes
- fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota
Fukumori) - fix bug when running in jruby: be explicit about passing block to
super
(John Firebaugh) - rake task doesn’t choke on paths with quotes (Janmejay Singh)
- restore --options option from rspec-1
- require ‘ostruct’ to fix bug with its([key]) (Kim Burgestrand)
- –configure option generates .rspec file instead of
autotest/discover.rb
- fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota