[rspec-users] RSpec 2 Ruby 1.8.6 support (was Evaluating shared example customisation block before shared block)

David Chelimsky dchelimsky at gmail.com
Mon Aug 2 08:08:40 EDT 2010

On Aug 2, 2010, at 4:49 AM, Ashley Moran wrote:

> On Aug 01, 2010, at 11:52 pm, David Chelimsky wrote:
>> re: 1.8.6, we've got a home-grown implementation of instance_exec that runs in 1.8.6 (although I just discovered that it's broken - fix coming shortly). I could
>> a) add such a thing for module_exec as well, though I haven't quite figured out how that works yet. 
>> b) only support parameterized shared groups in ruby 1.8.7 or better
>> c). the most drastic option, would be to drop support for 1.8.6 entirely, but I don't think that's really feasible yet.
> Hmmm.  If you're working on a Rails project with RSpec 2 (which I'm not, but I'm guessing that will be a very common case), you need 1.8.7 anyway, as Rails 3 won't run on anything less.  If you're not using Rails, I can't imagine anyone starting a new project on 1.8.6 now.  (All my new stuff is on 1.9.2.)

But what about people who are, for what ever reasons, stuck with Ruby 1.8.6 and want to upgrade? Also, there are a few rspec-2 + rails-2 efforts in the works, and there will be a solution for this sometime this fall.

We need to support 1.8.6.

> Is 1.8.6 support in RSpec 2 *really* necessary?  Any thoughts from anyone?
> Cheers
> Ash
> -- 
> http://www.patchspace.co.uk/
> http://www.linkedin.com/in/ashleymoran
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list