lib/middleman-deploy/extension.rb in middleman-deploy-0.0.5 vs lib/middleman-deploy/extension.rb in middleman-deploy-0.0.6
- old
+ new
@@ -3,11 +3,11 @@
# Extension namespace
module Middleman
module Deploy
- class Options < Struct.new(:whatisthis, :method, :host, :port, :user, :path, :clean); end
+ class Options < Struct.new(:whatisthis, :method, :host, :port, :user, :path, :clean, :remote, :branch); end
class << self
def options
@@options
@@ -17,9 +17,11 @@
options = Options.new(options_hash)
yield options if block_given?
options.port ||= 22
options.clean ||= false
+ options.remote ||= "origin"
+ options.branch ||= "gh-pages"
@@options = options
app.send :include, Helpers
end