tdreyno/middleman — pull request #131 by arronmabrey (2011-10-13 02:34:54+00:00)
Title: Build handels files prefixed with 2 consecutive underscores

Hi Thomas,

I fixed a issue I had where middleman skipped some required files durring the build phase.

The server I'm using requires some special files that are prefixed with 2 underscores "__" so middleman skipped right over them thinking there where partials. I don't have the ability to rename or move them, wish I did.

I just tweaked your array select to match anything starting with a underscore followed by anything other then another underscore.

```select { |p| p[0,1] == '_' }.empty?
select { |p| p[/^_[^_]/] }.empty?```

Thanks and keep up the good work.

Arron