lib/docman/deployers/deployer.rb in docman-0.0.3 vs lib/docman/deployers/deployer.rb in docman-0.0.4

- old
+ new

@@ -2,13 +2,13 @@ module Deployers class Deployer attr_reader :deploy_target - def build(root, state, info) + def build(root, info) return if @deployed.include? info['name'] build_type = build_type(info['type']) - Docman::Builders::Builder.create(build_type['handler'], root, build_type, state, info).do() + Docman::Builders::Builder.create(build_type['handler'], root, build_type, info).do() @deployed << info['name'] end def initialize(deploy_target) @deployed = [] \ No newline at end of file