Sha256: dc22f6453ced9670231f21bc61188a0cd26f5c8059aa4b6a27eae9026d3db8ec
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
require 'net/scp' module SpecInfra module Backend class Exec def copy_file(src, dst) FileUtils.cp(src, dst) end end class Ssh def copy_file(src, dst) scp = Net::SCP.new(SpecInfra.configuration.ssh) scp.upload!(src, dst) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lightchef-0.0.2 | lib/lightchef/monkey_patch.rb |
lightchef-0.0.1 | lib/lightchef/monkey_patch.rb |