From 0bd94419eafdc1a7dc0bf2779e3d3f836b995eba Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Mon, 24 Feb 2014 00:44:11 +0800 Subject: [PATCH] add port reader for ftp method --- lib/middleman-deploy/methods/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman-deploy/methods/ftp.rb b/lib/middleman-deploy/methods/ftp.rb index 09e21d8..0d91fd9 100644 --- a/lib/middleman-deploy/methods/ftp.rb +++ b/lib/middleman-deploy/methods/ftp.rb @@ -6,7 +6,7 @@ module Middleman module Methods class Ftp < Base - attr_reader :host, :pass, :path,:user + attr_reader :host, :port, :pass, :path, :user def initialize(server_instance, options={}) super(server_instance, options)