gma / nesta

File Based CMS and Static Site Generator
http://nestacms.com
MIT License
902 stars 122 forks source link

Plugin module naming is broken #76

Closed gma closed 12 years ago

gma commented 13 years ago

If you create a plugin called nesta-plugin-wheel-barrow the plugin's Ruby module is called Nesta::Plugin::Wheel::Barrow. That makes no sense; it should be Nesta::Plugin::WheelBarrow.

ms commented 12 years ago

We can fix that in init.rb but in version.rb, generated by bundle gem, we can't do it easily. But according to the bundle developers, it's not a bug: carlhuda/bundler#1255. Should we instead create gems like nesta-plugin-name_of_plugin?

gma commented 12 years ago

I'm not so keen on underscores. If that's the behaviour that the Rubygems manual advocates, I no longer consider it a bug, so I'll close it. Cheers for investigating…