# Rspec-2.0.0.rc is released

**URL:** <https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002>\
**Category:** Ruby\
**Created:** [October 5, 2010, 6:48am UTC](https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002 "2010-10-05T06:48:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [October 5, 2010, 6:48am UTC](https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002/1 "2010-10-05T06:48:13Z")

</div>

rspec-2.0.0.rc is released!

See [http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/](http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/) for  
links to all sorts of documentation on rspec-2.

Plan is to release rspec-2.0.0 (final) within the next week, so please  
install, upgrade, etc, and report issues to:

> **[Issues · rspec/rspec-core](https://github.com/rspec/rspec-core/issues)**
>
> RSpec runner and formatters. Contribute to rspec/rspec-core development by creating an account on GitHub.

> **[Issues · rspec/rspec-expectations](https://github.com/rspec/rspec-expectations/issues)**
>
> Provides a readable API to express expected outcomes of a code example - Issues · rspec/rspec-expectations

> **[Issues · rspec/rspec-mocks](https://github.com/rspec/rspec-mocks/issues)**
>
> RSpec's 'test double' framework, with support for stubbing and mocking - Issues · rspec/rspec-mocks

> **[Issues · rspec/rspec-rails](https://github.com/rspec/rspec-rails/issues)**
>
> RSpec for Rails 5+. Contribute to rspec/rspec-rails development by creating an account on GitHub.

Many thinks to all of the contributors who got us here!

==================================================================

### rspec-core-2.0.0.rc / 2010-10-05

[full  
changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)

- Enhancements

- Bug fixes

### rspec-expectations-2.0.0.rc / 2010-10-05

[full  
changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.22...v2.0.0.rc)

- Enhancements

- Bug fixes

### rspec-mocks-2.0.0.rc / 2010-10-05

[full  
changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0.rc)

- Enhancements

- Bug fixes

### rspec-rails-2.0.0.rc / 2010-10-05

[full  
changelog](http://github.com/rspec/rspec-rails/compare/v2.0.0.beta.22...v2.0.0.rc)

- Enhancements
  - add --webrat-matchers flag to scaffold generator (for view specs)
  - separate ActiveModel and ActiveRecord APIs in mock\_model and  
stub\_model
  - ControllerExampleGroup uses controller as the implicit subject by  
default (Paul Rosania)

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [October 5, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002/2 "2010-10-05T17:48:29Z")

</div>

On Oct 4, 2010, at 11:47 PM, David C. wrote:

> rspec-2.0.0.rc is released!
> 
> See [http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/](http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/) for links to all sorts of documentation on rspec-2.
> 
> Plan is to release rspec-2.0.0 (final) within the next week, so please install, upgrade, etc, and report issues to:
> 
> [Issues · rspec/rspec-core · GitHub](http://github.com/rspec/rspec-core/issues)  
> [Issues · rspec/rspec-expectations · GitHub](http://github.com/rspec/rspec-expectations/issues)  
> [Issues · rspec/rspec-mocks · GitHub](http://github.com/rspec/rspec-mocks/issues)  
> [Issues · rspec/rspec-rails · GitHub](http://github.com/rspec/rspec-rails/issues)

Is there any coordination with the authors of jeweler, bones, etc. so  
that the Rake files those tools generate can be updated to rspec2  
compatibility?

Speaking of which, the Upgrade.markdown didn’t include enough  
information to get my existing Rakefile (created by bones) working. I’m  
including the changes I had to make in this email so other folks  
searching the ML will find it.

Original:

require ‘spec/rake/spectask’

Spec::Rake::SpecTask.new do |t|  
t.spec\_opts = [‘–options’, “"spec/spec.opts"”]  
t.spec\_files = FileList[‘spec/\*\*/\*.rb’]  
end

For rspec2 compatibility:

require ‘rspec/core/rake\_task’

RSpec::Core::RakeTask.new do |t|  
t.rspec\_opts = [“-c”, “-f progress”, “-r ./spec/spec\_helper.rb”]  
t.pattern = ‘spec/\*\*/\*\_spec.rb’  
end

Also, as mentioned in the Upgrade.markdown file, I had to modify my  
spec\_helper.rb to use Rspec.configure instead of the original  
Spec::Runner.configure syntax.

cr

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [October 5, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002/3 "2010-10-05T18:20:42Z")

</div>

On Oct 5, 2010, at 9:34 AM, Chuck R. wrote:

> > [Issues · rspec/rspec-expectations · GitHub](http://github.com/rspec/rspec-expectations/issues)  
> > [Issues · rspec/rspec-mocks · GitHub](http://github.com/rspec/rspec-mocks/issues)  
> > [Issues · rspec/rspec-rails · GitHub](http://github.com/rspec/rspec-rails/issues)
> 
> Is there any coordination with the authors of jeweler, bones, etc. so that the Rake files those tools generate can be updated to rspec2 compatibility?

Not yet. If any of them reach out to me I’ll be glad to do what I can.

> For rspec2 compatibility:
> 
> require ‘rspec/core/rake\_task’
> 
> RSpec::Core::RakeTask.new do |t|  
> t.rspec\_opts = [“-c”, “-f progress”, “-r ./spec/spec\_helper.rb”]  
> t.pattern = ‘spec/\*\*/\*\_spec.rb’  
> end

I’ll update the upgrade file. Thx.

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [October 5, 2010, 6:21pm UTC](https://www.ruby-forum.com/t/rspec-2-0-0-rc-is-released/196002/4 "2010-10-05T18:21:17Z")

</div>

On Oct 5, 2010, at 10:59 AM, David C. wrote:

> > > Plan is to release rspec-2.0.0 (final) within the next week, so please install, upgrade, etc, and report issues to:
> 
> > 
> 
> I’ll update the upgrade file. Thx.  
> I added an issue to track this:  
> [Add info about upgrading rake task to Upgrade.markdown · Issue #173 · rspec/rspec-core · GitHub](http://github.com/rspec/rspec-core/issues/issue/173). Please feel free to  
> submit a patch 🙂
