lib/view.rb in runeblog-0.1.5 vs lib/view.rb in runeblog-0.1.6

- old
+ new

@@ -32,12 +32,15 @@ end def files(recent = false) vdir = dir() files = [index()] +debug "Looking in #{vdir}" others = Dir.entries(vdir).grep(/^\d\d\d\d/) files += others.map {|x| "#{vdir}/#{x}" } - files.reject! {|f| recent?(f) } if recent +debug "Found #{files.inspect}" +# files.reject! {|f| recent?(f) } if recent +debug "Now files = #{files.inspect}" files end def can_publish? @can_publish