lib/middleman-deploy/extension.rb in middleman-deploy-0.1.1 vs lib/middleman-deploy/extension.rb in middleman-deploy-0.1.2
- old
+ new
@@ -15,11 +15,14 @@
def registered(app, options_hash={}, &block)
options = Options.new(options_hash)
yield options if block_given?
+ # Default options for the rsync method.
options.port ||= 22
options.clean ||= false
+
+ # Default options for the git method.
options.remote ||= "origin"
options.branch ||= "gh-pages"
options.build_before ||= false