New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

padrino-gen --app does not accept UPCASED names #1761

Closed
postmodern opened this Issue Sep 11, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@postmodern
Contributor

postmodern commented Sep 11, 2014

I noticed that even though I was running padrino-gen controller foo --app=API, padrino-gen insisted on trying to find the Api app.

Steps to reproduce

$ padrino-gen app API
$ git sed 's/Api/API/g'
$ padrino-gen controller foo --app=API
=================================================================
Unable to locate 'Api' application        =================================================================
@postmodern

This comment has been minimized.

Show comment
Hide comment
@postmodern

postmodern Sep 11, 2014

Contributor

Hmm, after renaming the app back to Api, the problem continues.

Contributor

postmodern commented Sep 11, 2014

Hmm, after renaming the app back to Api, the problem continues.

@postmodern

This comment has been minimized.

Show comment
Hide comment
@postmodern

postmodern Sep 11, 2014

Contributor

padrino-gen controller foo --app=api worked though? It should accept ClassName or dirname.

Contributor

postmodern commented Sep 11, 2014

padrino-gen controller foo --app=api worked though? It should accept ClassName or dirname.

@namusyaka

This comment has been minimized.

Show comment
Hide comment
@namusyaka

namusyaka Sep 11, 2014

Member

I agree with you. I think The UPCASED string should be allowed to pass as the app name.

Member

namusyaka commented Sep 11, 2014

I agree with you. I think The UPCASED string should be allowed to pass as the app name.

@namusyaka namusyaka closed this in 532f4a7 Sep 18, 2014

ujifgc added a commit that referenced this issue Sep 18, 2014

Merge pull request #1762 from padrino/allow-to-pass-upcased-string
Allow to pass upcased string as the app name, closes #1761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment