spree/spree — pull request #943 by dnordstrom (2012-01-05 21:33:41+00:00)
Title: Using "spree_" prefix in extension generator

As discussed on IRC earlier today, doing some changes to add the "spree_" prefix to file names etc when using extension generator, as according to the edge documentation. See output at section "5.1 Getting Started" in the [Extension Tutorial](http://edgeguides.spreecommerce.com/creating_extensions.html).

Didn't really want to touch the inherited file_name and singular_name read-only attributes of [the generator](http://api.rubyonrails.org/classes/Rails/Generators/NamedBase.html) but if we define new methods/instance variables, we'd need to edit many of the template files as well. So this makes it a lot simpler, isolating the change to a single file.

Later, guys!