middleman/middleman — pull request #489 by bhollis (2012-06-17 03:31:34+00:00)
Title: Add a Middleman::Util.path_match function and use it

Got a `Regexp`? `path_match`'ll match it. Got a string with glob expressions? Oh yeah, `path_match`'ll match it. Heck, all you got is a `Proc`? `path_match` don't care, it's gonna match it.

I applied `path_match` to the `asset_hash`, `minify_javascript`, and `minify_css` extensions, so that whatever type of object people think the `:ignore` options take, they're right.