Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

support generators from gems named like _generators, -generators, etc

#530

Currently, generators can only be used from gems named like *_generator.

It would be very nice to be able to have a little more flexibility to name something like foo-generator, bar_generators, baz-generators, etc.

I have one named shoulda-generators, which is the primary motivator for me filing this.

Reported by Josh Nichols · July 1st, 2008 @ 09:44 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Josh Nichols
    Josh Nichols
    • Tag changed from generators to generators, patch

    Here's a patch allowing my proprosed change.

    I didn't see any tests for the existing behavior, but if someone were to point me in the right direction, I'd be more than happen to update them.

    July 1st, 2008 @ 09:48 PM

  2. Pratik
    Pratik
    • State changed from new to wontfix

    I think you should just rename your gem to should_generator.

    July 2nd, 2008 @ 02:56 PM