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

Use call rather than instance_eval for configuration blocks #31

Merged
merged 2 commits into from Jan 16, 2017

Conversation

nbibler
Copy link
Contributor

@nbibler nbibler commented Jan 15, 2017

This removes some of the surprising context changes within the configuration blocks. Specifically, self is no longer the caller instance. This was an undocumented and surprising side effect of using instance_eval to execute blocks.

@toupeira toupeira merged commit 5364662 into doorkeeper-gem:master Jan 16, 2017
@toupeira
Copy link
Member

Thanks again :)

@nbibler nbibler deleted the use-call branch January 16, 2017 19:30
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

2 participants