d30f883e48
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. |
||
---|---|---|
.. | ||
bin | ||
features | ||
fixtures | ||
lib | ||
.gemtest | ||
middleman-core.gemspec | ||
Rakefile |