lib/kharites/mixins/generate.rb in Kharites-tools-0.1.1 vs lib/kharites/mixins/generate.rb in Kharites-tools-0.2.0

- old
+ new

@@ -8,10 +8,10 @@ FileUtils.cp_r(template, @base_dir) rescue Errno::EEXIST end end - FileUtils.cd(@base_dir) {|dir| FileUtils.mv("article.kharites", "#{dir}.kharites") unless "#{dir}.kharites" == "article.kharites"} + FileUtils.cd(@base_dir) {|dir| FileUtils.mv("article.yml", "#{dir}.yml") unless "#{dir}.yml" == "article.yml"} puts "Done" end end