lib/buildboard.rb in buildboard-0.1.1 vs lib/buildboard.rb in buildboard-0.1.2

- old
+ new

@@ -36,10 +36,10 @@ def projects Dir[File.join(build_dir, '*')].map{|project| project_name = project.gsub("#{build_dir}/", '') last_build = Dir[File.join(project, '*')].last Build.load_file(last_build) - } + }.sort{|a, b| b.finished_at <=> a.finished_at } end def find(projectname, filename) Build.load_file(File.join(build_dir, sanitize_filename(projectname), sanitize_filename(filename))) end