lib/runeblog.rb in runeblog-0.1.30 vs lib/runeblog.rb in runeblog-0.1.31
- old
+ new
@@ -129,13 +129,13 @@
up = Dir.pwd
Dir.chdir(dir)
x = RuneBlog::Default
create_dir('custom')
create_dir('assets')
- # FIXME dump method??
pub = "user: xxx\nserver: xxx\ndocroot: xxx\npath: xxx\nproto: xxx\n"
- dump(pub, "publish") # FIXME publish
+ dump(pub, "publish")
+ dump("", "tagpool")
dump(x::BlogHeader, "custom/blog_header.html")
dump(x::BlogTrailer, "custom/blog_trailer.html")
dump("Initial creation", "last_published")
Dir.chdir(up)
@views << RuneBlog::View.new(arg)
@@ -292,11 +292,11 @@
debug "Called rebuild_post(#{file.inspect})"
raise ArgumentError unless file.is_a?(String)
process_post(file)
# FIXME this is broken now
self.views.each do |view|
- p view.inspect
- getch
+# p view.inspect
+# getch
generate_index(view)
end
rescue => err
error(err)
getch