andrusha/middleman-cloudfront — pull request #8 by samlevy (2014-04-26 20:37:48+00:00)
Title: Add root path invalidation if build/index.html is present

I found that the gem doesn't invalidate the root URL on CloudFront. For example, `http://example.com/index.html` would be invalidated but `http://example.com` would not.

So I updated the `#list_files` method to add the root path to the list of files to invalidate if the build/index.html file is present.