lib/capistrano_extensions/files/local.rb in joekhoobyar-capistrano-extensions-0.0.3 vs lib/capistrano_extensions/files/local.rb in joekhoobyar-capistrano-extensions-0.0.5

- old
+ new

@@ -4,14 +4,14 @@ module Files module Local include FileUtils::Verbose - public *COMMANDS + public *COMMANDS.flatten public :pwd FILE_TESTS.each do |m,t| - class_eval <<-EODEF + class_eval <<-EODEF, __FILE__, __LINE__ def #{m}(a, options={}) logger.trace "test #{t} \#{a.gsub ' ', '\\ '}" if logger File.#{m} a end EODEF