Skip to content
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

Revert regressions found in 0.18.0 #316

Merged
merged 2 commits into from Mar 26, 2013
Merged

Revert regressions found in 0.18.0 #316

merged 2 commits into from Mar 26, 2013

Conversation

josevalim
Copy link
Contributor

Revert regressions found in 0.18.0 as discussed here: 08265a3

José Valim added 2 commits March 26, 2013 13:59
Althugh there is an issue in here, the current implementation is
very brittle as looking into the stacktrace is not guaranteed to
stay the same across different ruby versions and ruby implementations.

This reverts commit fb149e3.
This is an expected feature from Thor. When rendering files,
Thor behaves like Sinatra. It works as if the file was embedded
in the current Thor class. Therefore, restricting the filename
to be just public methods is a wrong limitation that does not
fit with how Thor is meant to be used.
@coveralls
Copy link

Coverage increased (+0.02%) when pulling 3c5a459 on josevalim:thor-reverts into 08265a3 on wycats:master.

View Details

sferik added a commit that referenced this pull request Mar 26, 2013
Revert regressions found in 0.18.0
@sferik sferik merged commit dc96d00 into rails:master Mar 26, 2013
tricknotes pushed a commit to tricknotes/rails that referenced this pull request Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants