middleman/middleman-core/lib
Tim Bates d30f883e48 Regenerate @_lookup_cache after each manipulation
Trying to call Resource#metadata from within
MyExtension#manipulate_resource_list generates an exception in
Proxies::ResourceInstanceMethods#get_source_file because @_lookup_cache
is empty. Moving the recalculation inside the loop means regenerating
the cache after each manipulation but allows extensions to examine the
page metadata when manipulating proxied resources.
2012-07-11 15:16:18 +09:30
..
middleman-core Regenerate @_lookup_cache after each manipulation 2012-07-11 15:16:18 +09:30
middleman-core.rb Remove usage of autoload statement in favor of require 2012-05-07 14:41:39 -07:00