Sha256: abb3f02d50bc7af1604fa602f6e10226a23ca3eb687fb1d705d59309054f90e7
Contents?: true
Size: 1.16 KB
Versions: 17
Compression:
Stored size: 1.16 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:create_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
17 entries across 17 versions & 2 rubygems