lib/application.rb in docman-0.0.103 vs lib/application.rb in docman-0.0.104
- old
+ new
@@ -92,10 +92,10 @@
def deploy(deploy_target_name, name, type, version, options = false)
result = nil
with_rescue do
@options = options
- @docroot_config = DocrootConfig.new(@workspace_dir, deploy_target_name, options, state)
+ @docroot_config = DocrootConfig.new(@workspace_dir, deploy_target_name, options)
@deploy_target = @docroot_config.deploy_target
@docroot_config.states_dependin_on(name, version).keys.each do |state|
execute('deploy', state, name)
write_environment(@deploy_target['states'][state], name)
write_state state