From fcbab9a3ca8c8bfd5b381806dc856b955e6c50e6 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 26 Apr 2013 21:00:47 +0200 Subject: [PATCH] Post#is_published ~> Post#published? --- lib/jekyll/post.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index f75c6186..0b2d6330 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -45,13 +45,13 @@ module Jekyll self.date = Time.parse(self.data["date"].to_s) end - self.published = self.is_published + self.published = self.published? self.populate_categories self.populate_tags end - def is_published + def published? if self.data.has_key?('published') && self.data['published'] == false false else