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

Do not include Default plugin by default #223

Merged
merged 5 commits into from
May 9, 2018
Merged

Conversation

shioyama
Copy link
Owner

@shioyama shioyama commented May 9, 2018

Currently, the Default plugin is included in every backend. We can avoid this using the trick of a constant pointing to Object.new to signify an unset option key.

Also, I converted the plugin into a normal module rather than a module builder. Doesn't seem to affect performance but all else equal, normal modules are preferred.

@shioyama shioyama merged commit da31515 into master May 9, 2018
@shioyama shioyama deleted the default_plugin_keys branch May 9, 2018 13:05
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