Add -N or --no-default-middleware option.
commitecaa8be47db5bc9cd1da445836f889acc0b1f660
authorLin Jen-Shin <godfat@godfat.org>
Tue, 29 Jan 2013 04:06:00 +0000 (29 12:06 +0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 29 Jan 2013 04:17:37 +0000 (29 04:17 +0000)
tree93eef36b5f0177a47ddf8a54f4f4af506c70a34d
parent329f878276ec90c6edfd2d6a07ab6d67835e0e2f
Add -N or --no-default-middleware option.

This would prevent Unicorn (Zbatery) from adding default middleware,
as if RACK_ENV were always none. (not development nor deployment)

This is implemented in Unicorn, so we only need to update
the option parser here.

Discussion thread on Unicorn mailing list:
http://rubyforge.org/pipermail/mongrel-unicorn/2013-January/001675.html
bin/zbatery