lib/caravan.rb in caravan-0.5.2 vs lib/caravan.rb in caravan-0.6.0

- old
+ new

@@ -31,11 +31,11 @@ end Caravan::Message.success("Starting to watch #{src_path}...") deployer.after_create if merged_conf["once"] - deploy_at_once(deployer) + deploy_once(deployer) exit(0) end listener.start trap("INT") do @@ -46,10 +46,10 @@ end sleep_forever end - def deploy_at_once(deployer) + def deploy_once(deployer) deployer.before_deploy deployer.run deployer.after_deploy end