Change the auto activated extension feature to allow specifying different lifecycle events to activate at, allowing more extensions to auto activate.

This commit is contained in:
Ben Hollis 2014-05-25 21:06:25 -07:00
parent 70b3b87905
commit 6561fea296
5 changed files with 48 additions and 38 deletions

View file

@ -86,7 +86,7 @@ module Middleman
::Middleman::Extension.clear_after_extension_callbacks
::Middleman::Extensions.auto_activate_before_configuration.each do |ext_name|
::Middleman::Extensions.auto_activate[:before_configuration].each do |ext_name|
activate ext_name
end