[rspec-devel] [Proposal] change 'spec' to 'rspec'
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
>>> 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.
>> 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?"
> Is the top level constant going to be Rspec, or RSpec?
Like the name of the project - RSpec
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel