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

Fallback to autoload resource plugin #179

Merged
merged 1 commit into from
Dec 6, 2015

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Dec 6, 2015

Like recipe plugin, I want to use resource plugin without calling require. If the resource plugin follows bundle gem's naming convention, require path of foo resource should be itamae/plugin/resource/#{foo}.

This autoload does not happen if it is explicitly required, so this change is backword-compatible.

@ryotarai
Copy link
Member

ryotarai commented Dec 6, 2015

Good catch! Thank you.

ryotarai added a commit that referenced this pull request Dec 6, 2015
Fallback to autoload resource plugin
@ryotarai ryotarai merged commit 52878a5 into itamae-kitchen:master Dec 6, 2015
@k0kubun k0kubun deleted the autoload-plugin branch December 6, 2015 14:51
@ryotarai
Copy link
Member

ryotarai commented Dec 7, 2015

released in v1.8.0

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.

2 participants