namespaced_engine icon indicating copy to clipboard operation
namespaced_engine copied to clipboard

Capitalized acronyms in namespace not handled

Open mooreds opened this issue 8 years ago • 0 comments

Running this:

rails g modular:engine engines/testtfc --namespace=TestTFC

Leads to this error:

[!] There was an error parsing `Gemfile`: There was a NameError while loading test_tfc_testtfc.gemspec: 
uninitialized constant TestTfc from
  /Users/path/apps/sample_app/engines/testtfc/test_tfc_testtfc.gemspec:9:in `block in <main>'
. Bundler cannot continue.

 #  from /Users/path/apps/sample_app/engines/testtfc/Gemfile:6
 #  -------------------------------------------
 #  # development dependencies will be added by default to the :development group.
 >  gemspec
 #  
 #  -------------------------------------------

Whereas

rails g modular:engine engines/testtfc --namespace=TestTfc works fine.

Not a big issue, just filing to let you know.

mooreds avatar Mar 18 '16 18:03 mooreds