[ANN] rspec and rspec-rails 1.2.9.rc1 Released

Discussion in 'Ruby' started by David Chelimsky, Sep 15, 2009.

  1. rspec and rspec-rails version 1.2.9.rc1 have been released!
    ===========================================================

    We're using the new rubygems prerelease feature to do proper release
    candidates. This feature was introduced to rubygems a couple of versions back,
    but I'd recommend updating to rubygems-1.3.5 before installing the rspec
    prerelease gems.

    For those unfamiliar with this new rubygems feature, you have to add the
    --prerelease flat in order to see and install these gems:

    $ gem search --remote --prerelease rspec

    *** REMOTE GEMS ***

    rspec (1.2.9.rc1)
    rspec-rails (1.2.9.rc1)

    $ [sudo] gem install --prerelease rspec
    $ [sudo] gem install --prerelease rspec-rails

    This way only those who choose to install the prerelease gems will get them,
    while those who exclude the --prerelease flag will get the previous final
    release (rspec-1.2.8, rspec-rails-1.2.7.1).

    Once you install the prerelease gems, Rubygems will treat 1.2.9.rc1 as a
    higher version than 1.2.8, but a lower version than 1.2.9. That way when we do
    the final release you'll be able to just install 1.2.9 and it will take its
    rightful place ahead of 1.2.9.rc1 without you having to uninstall rc1.

    I invite you to install these prerelease gems and report any issues you run
    into to http://rspec.lighthouseapp.com/rspec. Advanced thanks to those who
    help the rest by breaking these in.

    Cheers,
    David

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

    Behaviour Driven Development for Ruby and Ruby on Rails

    ### rspec-1.2.9-rc1

    * enhancements
    * manage backtrace-ignore patterns with Spec::Runner.configure
    (Martin Emde). Closes #870.
    * friendly mock argument expectation failure message (Tim Harper).
    Closes #868.
    * added double() as alias for stub() and mock()
    * failure messages for doubles, mocks and stubs use the right name
    * add let() method to assign memoized attributes (suggestion from
    Stuart Halloway). Closes #857.
    * add its method so you can say:
    describe Array do
    its:)length) { should == 0 }
    (Stephen Touset). Closes #833
    * spec command automatically uses spec/spec.opts if it is present
    (suggestion from Yehuda Katz)
    * rspec now adds PROJECT_ROOT/lib and PROJECT_ROOT/spec to the load path
    * determines PROJECT_ROOT by recursing up until it finds a directory
    that has a ./spec directory (thanks to Scott Taylor)
    * supports require 'spec_helper'
    * supports running specs from the PROJECT_ROOT or any directory
    below it
    * closes #733

    * not really a bug fix or enhancement
    * temporarily moved heckle feature to features-pending (waiting to see what
    happens with
    http://rubyforge.org/tracker/index.php?func=detail&aid=26786&group_id=1513&atid=5921)

    ### rspec-rails-1.2.9-rc1

    * enhancements
    * added route_to and be_routable matchers (Randy Harmon). Closes #843.
    * Provide better failure message for render_template when redirected
    (Josh Nichols). Closes #885.
    * generated specs require 'spec_helper'

    * bug fixes
    * pass the correct args to super in controller#render depending on
    the rails version (Lucas Carlson). Closes #865.
    * use Rack::Utils.parse_query to convert query strings to hashes. Closes #872.
    * errors correctly bubble up when a controller spec in isolation
    mode requests a non-existent action/template
    * no error if either action or template exist
    * error if neither exist
    * Closes #888.

    * removals
    * spec_server has been removed in favor of spork.
    * You can still use the --drb flag, but you've got to install the spork gem.
    * Windows users who cannot use the spork gem can install the
    spec_server from
    * http://github.com/dchelimsky/spec_server

    * <http://rspec.info>
    * <http://rubyforge.org/projects/rspec>
    * <http://github.com/dchelimsky/rspec>
    * <http://github.com/dchelimsky/rspec-rails>
    * <http://wiki.github.com/dchelimsky/rspec>
    * <>
    * <>
     
    David Chelimsky, Sep 15, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Chelimsky

    [ANN] RSpec 0.8.0-RC1

    David Chelimsky, Feb 17, 2007, in forum: Ruby
    Replies:
    0
    Views:
    100
    David Chelimsky
    Feb 17, 2007
  2. David Chelimsky

    [ANN] rspec-rails 1.1.9 Released

    David Chelimsky, Oct 21, 2008, in forum: Ruby
    Replies:
    0
    Views:
    86
    David Chelimsky
    Oct 21, 2008
  3. David Chelimsky
    Replies:
    0
    Views:
    113
    David Chelimsky
    Oct 3, 2010
  4. David Chelimsky
    Replies:
    0
    Views:
    108
    David Chelimsky
    Oct 10, 2010
  5. Santiago Pastorino

    [ANN] Rails 3.0.7.rc1

    Santiago Pastorino, Apr 14, 2011, in forum: Ruby
    Replies:
    0
    Views:
    99
    Santiago Pastorino
    Apr 14, 2011
Loading...

Share This Page