lib/verify.rb in dev_tasks-0.0.155 vs lib/verify.rb in dev_tasks-0.0.156
- old
+ new
@@ -1,14 +1,11 @@
+require_relative('./commandarray.rb')
require_relative('./environment.rb')
require_relative('./console.rb')
-class Verify < Array
+class Verify < CommandArray
- def initialize
- update
- end
-
def update
if(defined?(DEV_TASKS))
svn_publish_uri=""
if(DEV_TASKS).has_key?(:publish_path)
@@ -33,11 +30,7 @@
add "<%Environment.rake('#{dep_dir}','build',true)%>"
add "<%DEV_TASKS[:commands][:publish].update%>"
end
end
end
- end
-
- def add command
- self << command if(!include?(command))
end
end
\ No newline at end of file