[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] rspec 1.2.4 Released

David Chelimsky

4/15/2009 2:19:00 PM

rspec version 1.2.4 has been released!

Be sure to check History.rdoc and Updgrade.rdoc at
http://rspec.rubyforge.org/rs... before upgrading.

* <http://rspe...
* <http://rubyforge.org/projects...
* <http://github.com/dchelimsky/rspec...
* <rspec-devel@rubyforge.org>

Behaviour Driven Development for Ruby.

Changes:

### Version 1.2.4

* bug fix
* just one - update the manifest

### Version 1.2.3

* enhancements
* support for specifying single examples with colon syntax. Closes #712.
(Ben Mabey)
* you can now say "spec some_spec.rb:12" in addition to "spec some_spec.rb
--line 12"
* run specs locally with --drb if no drb server is running. Closes #780.
* still prints "No server running" to stderr

* bug fixes
* support expectations on DelegateClass (Clifford T. Matthews). Closes #48.
* Fixed match_array blows up if elements can't be sorted (Jeff
Dean). Closes #779.

* deprecations
* BaseFormatter#add_example_group (use #example_group_started instead)
* ExampleGroupProxy#backtrace (use #location instead)
* ExampleProxy#backtrace (use #location instead)
* BaseFormatter#example_pending now expects two arguments. The third
argument is deprecated.
* ExampleGroupProxy#filtered_description. This was only used in one place
internally, and was a confusing solution to the problem. If you've got a
custom formatter that uses it, you can just use
ExampleGroupProxy#description and modify it directly.
* predicate_matchers (use the new Matcher DSL instead)
* Spec::Matchers.create (use Spec::Matchers.define instead)

* <http://rspe...
* <http://rubyforge.org/projects...
* <http://github.com/dchelimsky/rspec...
* <rspec-devel@rubyforge.org>