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

Namespace oops helper methods #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sinetheta
Copy link
Member

Rake methods like namespace and task don't actually scope down the context on which methods are described. s3_url for instance is creating a top level method that I once actually bumped into in a project (was doing some imgix work).

This is the laziest possible way to fix that problem. Sorry, busy ;)

The rake namespace DSL does nothing to excanpsulate defined methods. So
we can either refactor oops tasks into modules or simply rename the
private helpers to lower the chance of collisions on the global scope.
I'm not as concerned with the accuracy of these descriptions as I am
with their existance, so that oops tasks will be listed by rake -T
@Sinetheta Sinetheta mentioned this pull request Oct 18, 2017
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.

1 participant