lib/middleman-deploy/extension.rb in middleman-deploy-0.2.3 vs lib/middleman-deploy/extension.rb in middleman-deploy-0.2.4
- old
+ new
@@ -3,11 +3,11 @@
# Extension namespace
module Middleman
module Deploy
- class Options < Struct.new(:whatisthis, :method, :host, :port, :user, :password, :path, :clean, :remote, :branch, :strategy, :build_before, :flags); end
+ class Options < Struct.new(:whatisthis, :method, :host, :port, :user, :password, :path, :clean, :remote, :branch, :strategy, :build_before, :flags, :commit_message); end
class << self
def options
@@options
@@ -23,9 +23,10 @@
# Default options for the git method.
options.remote ||= "origin"
options.branch ||= "gh-pages"
options.strategy ||= :force_push
+ options.commit_message ||= nil
options.build_before ||= false
@@options = options