bloggy 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/lib/bloggy/version.rb
CHANGED
@@ -8,7 +8,7 @@ task :np do
|
|
8
8
|
ARGV.shift
|
9
9
|
title = ARGV.join(' ')
|
10
10
|
|
11
|
-
path = "
|
11
|
+
path = "config/jekyll/_posts/#{Date.today}-#{title.downcase.gsub(/[^[:alnum:]]+/, '-')}.markdown"
|
12
12
|
|
13
13
|
if File.exist?(path)
|
14
14
|
puts "[WARN] File exists - skipping create"
|