lib/bones/main.rb in bones-1.1.1 vs lib/bones/main.rb in bones-1.1.2
- old
+ new
@@ -1,6 +1,6 @@
-# $Id: main.rb 423 2007-12-29 18:32:34Z tim_pease $
+# $Id: main.rb 428 2007-12-31 17:55:51Z tim_pease $
require 'fileutils'
require 'optparse'
require 'erb'
@@ -106,10 +106,10 @@
# Archive any existing tasks in the project's tasks folder, and then
# copy in new tasks from the bones/data directory.
#
def update
- abort "'#{name}' does no exist" unless test ?e, name
+ abort "'#{name}' does not exist" unless test ?e, name
task_dir = File.join(name, 'tasks')
abort "no tasks directory found in '#{name}'" unless test ?d, task_dir
archive_dir = File.join(task_dir, 'archive')