lib/devinstall/provider/provider_ssh.rb in devinstall-1.2.2 vs lib/devinstall/provider/provider_ssh.rb in devinstall-1.2.3

- old
+ new

@@ -11,9 +11,13 @@ tests: [:user, :host], repos: [:user, :host], ssh: [:ssh, :scp, :rsync, :sudo] } + def provider_init;end + + def profider_final;end + def upload_sources(cfg, src, dst) config =Devinstall::Settings.instance rsync = config.ssh(:rsync) source = src[-1]=='/' ? src : "#{src}/" # source folder(we add / because we are using rsync) dest = "#{cfg[:user]}@#{cfg[:host]}:#{dst}" # cfg should provide user and host