middleman/middleman — pull request #479 by rolftimmermans (2012-06-14 11:56:10+00:00)
Title: Use method should accept a block when adding Rack middleware.

When using Rack middleware, the `use` method should accept a block. This allows certain middleware that uses blocks to be configured properly. An example of such middleware is `rack-rewrite` (https://github.com/jtrupiano/rack-rewrite). E.g.:

```
use Rack::Rewrite do
rewrite '/wiki/John_Trupiano', '/john'
end
```