Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

More robust publishing of drafts #54

Merged
merged 3 commits into from
Apr 8, 2013
Merged

More robust publishing of drafts #54

merged 3 commits into from
Apr 8, 2013

Conversation

aprescott
Copy link
Owner

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

Two principal changes:

  1. Draft#publish! now calls mkdir _posts before renameing 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.

aprescott added a commit that referenced this pull request Apr 8, 2013
@aprescott aprescott merged commit 462e1d3 into master Apr 8, 2013
@aprescott aprescott deleted the new-draft-publishing branch April 8, 2013 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoMethodError when updating published draft.
1 participant