theSteveMitchell / after_party

Automated post-deploy tasks for Ruby/Rails. Your deployment is the party. This is the after party
MIT License
241 stars 50 forks source link

Move requires_version_tag? to private #58

Open asgerb opened 3 years ago

asgerb commented 3 years ago

As Thor automatically makes all public methods of the generator into commands, mongoid projects, which don't have ActiveRecord defined, get the following error when running the install generator:

'requires_version_tag?': uninitialized constant AfterParty::Generators::InstallGenerator::ActiveRecord (NameError)

It does create the initializer, so nothing is really broken, but it's confusing and feels like a bug 🙂