<div dir="ltr">+1. consistency and predictability++<br><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 3:47 AM, aslak hellesoy <span dir="ltr"><<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Tue, Sep 30, 2008 at 6:53 AM, Scott Taylor<br>
<<a href="mailto:mailing_lists@railsnewbie.com">mailing_lists@railsnewbie.com</a>> wrote:<br>
><br>
> On Sep 29, 2008, at 11:35 PM, Pat Maddox wrote:<br>
><br>
>> "David Chelimsky" <<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> writes:<br>
>><br>
>>> The convention for gems is that the top level module shares a name<br>
>>> with the gem, but rspec uses 'spec' instead, resulting in things like<br>
>>> this:<br>
>>><br>
>>> require 'rubygems'<br>
>>> gem 'rspec'<br>
>>> require 'spec'<br>
>>><br>
>>> I'd like to propose that we change the 'spec' namespace to 'rspec'.<br>
>>> We'd have to continue to support 'spec' for backwards compatibility<br>
>>> for a long time, but we can do that with a few extra files that just<br>
>>> require other files.<br>
>>><br>
>>> Thoughts?<br>
>><br>
>> I nearly always write<br>
>> require 'rspec'<br>
>><br>
>> when I start a new app, and am confused for a bit before I remember that<br>
>> it's just spec. It was kind of funny when I was pairing one time:<br>
>> me: *types require 'rspec'*<br>
>> pair: "Isn't it just require 'spec'?"<br>
>> me: "oh right"<br>
>> pair: "aren't you on the rspec team?"<br>
>><br>
>> :)<br>
><br>
> Haha.<br>
><br>
> Is the top level constant going to be Rspec, or RSpec?<br>
><br>
<br>
</div></div>Like the name of the project - RSpec<br>
<font color="#888888"><br>
Aslak<br>
</font><div><div></div><div class="Wj3C7c"><br>
> Scott<br>
><br>
> _______________________________________________<br>
> rspec-devel mailing list<br>
> <a href="mailto:rspec-devel@rubyforge.org">rspec-devel@rubyforge.org</a><br>
> <a href="http://rubyforge.org/mailman/listinfo/rspec-devel" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-devel</a><br>
><br>
_______________________________________________<br>
rspec-devel mailing list<br>
<a href="mailto:rspec-devel@rubyforge.org">rspec-devel@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/rspec-devel" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-devel</a><br>
</div></div></blockquote></div><br></div>