lib/docman/commands/ssh_target_checker.rb in docman-0.0.14 vs lib/docman/commands/ssh_target_checker.rb in docman-0.0.15

- old
+ new

@@ -1,9 +1,10 @@ require 'net/sftp' module Docman class SSHTargetChecker < Docman::TargetChecker + register_checker :ssh def execute filename = File.join(self['file_path'], self['filename']) Net::SFTP.start(self['ssh_host'], self['ssh_user']) do |sftp|