lib/repl.rb in runeblog-0.1.26 vs lib/repl.rb in runeblog-0.1.27
- old
+ new
@@ -133,11 +133,11 @@
puts "\n ", fx(name, :bold), "\n" unless testing
return [false, @out]
else
if @blog.view?(arg)
@blog.view = arg # reads config
- output red("View: ") + bold(@blog.view.name.to_s) # FIXME?
+ output "View: " + @blog.view.name.to_s
puts "\n ", fx(arg, :bold), "\n" unless testing
end
end
return [true, @out]
end
@@ -237,10 +237,10 @@
str = @blog.view.name + ":\n"
output str
puts unless testing
puts " ", fx(str, :bold) unless testing
if posts.empty?
- output! bold("No posts")
+ output! "No posts"
puts fx(" No posts", :bold) unless testing
else
posts.each do |post|
outstr " #{colored_slug(post)}\n"
base = post.sub(/.lt3$/, "")