Sha256: b57bd436a710c974ec060111a05deacb23d3186f70b7218f7ad47ca5bb26ef83
Contents?: true
Size: 1.15 KB
Versions: 82
Compression:
Stored size: 1.15 KB
Contents
# A collection of compatibility scripts, to ease the transition between # Capistrano 1.x and Capistrano 2.x. # Depends on the deployment system load 'deploy' map = { "diff_from_last_deploy" => "deploy:pending:diff", "update" => "deploy:update", "update_code" => "deploy:update_code", "symlink" => "deploy:symlink", "restart" => "deploy:restart", "rollback" => "deploy:rollback", "cleanup" => "deploy:cleanup", "disable_web" => "deploy:web:disable", "enable_web" => "deploy:web:enable", "cold_deploy" => "deploy:cold", "deploy_with_migrations" => "deploy:migrations" } map.each do |old, new| desc "DEPRECATED: See #{new}." eval "task(#{old.inspect}) do warn \"[DEPRECATED] `#{old}' is deprecated. Use `#{new}' instead.\" find_and_execute_task(#{new.inspect}) end" end desc "DEPRECATED: See deploy:start." task :spinner do warn "[DEPRECATED] `spinner' is deprecated. Use `deploy:start' instead." set :runner, fetch(:spinner_user, "app") deploy.start end
Version data entries
82 entries across 82 versions & 10 rubygems