[rspec-devel] [Proposal] change 'spec' to 'rspec'

aslak hellesoy aslak.hellesoy at gmail.com
Tue Sep 30 03:47:19 EDT 2008


On Tue, Sep 30, 2008 at 6:53 AM, Scott Taylor
<mailing_lists at railsnewbie.com> wrote:
>
> On Sep 29, 2008, at 11:35 PM, Pat Maddox wrote:
>
>> "David Chelimsky" <dchelimsky at gmail.com> writes:
>>
>>> The convention for gems is that the top level module shares a name
>>> with the gem, but rspec uses 'spec' instead, resulting in things like
>>> this:
>>>
>>> require 'rubygems'
>>> gem 'rspec'
>>> require 'spec'
>>>
>>> I'd like to propose that we change the 'spec' namespace to 'rspec'.
>>> We'd have to continue to support 'spec' for backwards compatibility
>>> for a long time, but we can do that with a few extra files that just
>>> require other files.
>>>
>>> Thoughts?
>>
>> I nearly always write
>> require 'rspec'
>>
>> when I start a new app, and am confused for a bit before I remember that
>> it's just spec.  It was kind of funny when I was pairing one time:
>> me: *types require 'rspec'*
>> pair: "Isn't it just require 'spec'?"
>> me: "oh right"
>> pair: "aren't you on the rspec team?"
>>
>> :)
>
> Haha.
>
> Is the top level constant going to be Rspec, or RSpec?
>

Like the name of the project - RSpec

Aslak

> Scott
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list