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

Blake Watters blake at near-time.com
Tue Sep 30 09:05:57 EDT 2008


+1. consistency and predictability++

On Tue, Sep 30, 2008 at 3:47 AM, aslak hellesoy <aslak.hellesoy at gmail.com>wrote:

> 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
> >
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-devel/attachments/20080930/b82cefa2/attachment-0001.html>


More information about the rspec-devel mailing list