lib/upgrade.rb in dev_tasks-0.0.45 vs lib/upgrade.rb in dev_tasks-0.0.46

- old
+ new

@@ -13,10 +13,10 @@ if(File.exist?(src) && File.mtime(src) > File.mtime(f)) self.add "<%FileUtils.cp('#{src}','#{f}')%>" end } if(defined?(DEV_TASKS)) - if(DEV_TASKS[:dependencies].hash_key?(:source)) + if(DEV_TASKS[:dependencies].has_key?(:source)) DEV_TASKS[:dependencies][:source].each{|source_dep| dest = "./dep/#{File.basename(source_dep)}" self.add "<%Environment.copy_if_newer('#{source}','#{dest}')%>" } end \ No newline at end of file