middleman/middleman-blog — pull request #170 by exploid (2013-10-26 20:58:25+00:00)
Title: Add public_draft option for peer reviews.

Adds a `public_draft: true` option for your YAML frontmatter so that your articles are always built but not available for listings in `blog.articles`

This is especially useful when you want to share an article for peer review while not listing it publicly on your index page or RSS feed, etc

Notes:

* I will gladly open another pull request to update [draft articles section](https://github.com/middleman/middleman-guides/blob/master/source/blogging.html.markdown#draft-articles) of the guide if needed (uncertain about how you guys keep the docs and releases in sync though)
* It is the first time that I write cucumber features and it was heavily cargo culted from the published-app features. Do let me know if you have any feedback about that.
* Features are still all passing for me, but the 2 Gemfiles are a bit confusing. I only got them to pass if I point to Gemfile-3.0 like so: `BUNDLE_GEMFILE=/Users/vincentroy8/code/middleman-blog/Gemfile-3.0 bundle exec rake test`