lib/repl.rb in runeblog-0.1.55 vs lib/repl.rb in runeblog-0.1.56
- old
+ new
@@ -171,12 +171,18 @@
end
def cmd_new_view(arg, testing = false)
reset_output
@blog.create_view(arg)
+ @blog.change_view(arg)
resp = yesno("Add publishing info now? ")
@blog.view.publisher = ask_publishing_info
- write_config(@blog.view.publisher, @blog.view.dir + "/publish") # change this?
+ out = @blog.view.dir + "/publish"
+ print "pub = "
+ p @blog.view.publisher
+ print "out = "
+ p out
+ write_config(@blog.view.publisher, out)
@out
end
def cmd_new_post(arg, testing = false)
reset_output