lib/upgrade.rb in dev_tasks-0.0.81 vs lib/upgrade.rb in dev_tasks-0.0.82
- old
+ new
@@ -23,10 +23,10 @@
newest_file_rake_dir=nil
Dir.chdir(rake_dir) do
newest_file_rake_dir=Dir.glob("**/*").max_by {|f| File.mtime(f)}
end
- self.add "<%Environment.rake('#{rake_dir}','default')%>" if(File.mtime(newest_file_rake_dir) > File.mtime(DEV_TASKS[:newest_src_file]))
+ self.add "<%Environment.rake('#{rake_dir}','default')%>" if(File.mtime(newest_file_rake_dir) > File.mtime(DEV_TASKS[:newest_artifact]))
end
}
end
if(DEV_TASKS[:dependencies].has_key?(:source))
DEV_TASKS[:dependencies][:source].each{|source_dep|
\ No newline at end of file