Sha256: 02d05fa0c045a323295b7e3cc7b442c2a10464490b48c59abb5382ef90239260

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

require "caravan/deploy"

module Caravan
  module DeployMethods
    class Scp < Deploy::Base
      def run(src, dst)
        super(src, dst) do |s, d|
          Caravan::Command.run("scp -r #{s} #{d}", @debug)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
caravan-0.4.0 lib/caravan/deploy_methods/scp.rb
caravan-0.4.0.beta lib/caravan/deploy_methods/scp.rb
caravan-0.3.1 lib/caravan/deploy_methods/scp.rb