middleman/middleman — pull request #363 by bhollis (2012-04-17 08:07:52+00:00)
Title: Fix asset hash with new sitemap

Get `asset_hash` working after the sitemap refactor. Part of this required changing the behavior of the `OnDisk` Sitemap extension to rebuild the sitemap every time a file is touched, instead of just when files are added (even if the file being touched is ignored by the sitemap, like a partial!). This is because `asset_hash` needs to recalculate hashes whenever any file changes, since partials can affect the output of other files. I'll need this behavior anyway when I redo the blog extension so that editing a blog article re-generates the list of tags.

Also, I made some stuff use `Set` because `Set` is awesome.