aprescott/serif — pull request #54 by aprescott (2013-04-08 15:19:28+00:00)
Title: More robust publishing of drafts

This fixes #53. (More discussion available on that issue.)

Two principal changes:

1. `Draft#publish!` now calls `mkdir _posts` before `rename`ing drafts to the `_posts` directory.
2. `serif new` explicitly calls `mkdir _posts`, due to `Dir["statics/**/*"]` omitting empty directories, thus breaking any user relying on a gem install.