lib/application.rb in docman-0.0.4 vs lib/application.rb in docman-0.0.5

- old
+ new

@@ -26,13 +26,14 @@ `mkdir #{name} && cd #{name} && git clone #{repo} config` end def build(deploy_target, state, options = false) @options = options - DocrootController.new(@workspace_dir, deploy_target, options).build(state) + DocrootController.new(@workspace_dir, deploy_target).build(state) end - def deploy(deploy_target, name, type, version) + def deploy(deploy_target, name, type, version, options = false) + @options = options DocrootController.new(@workspace_dir, deploy_target).deploy(name, type, version) end def state(name, type, version) DocrootController.new(@workspace_dir, deploy_target).state(name, type, version)