Sha256: 96baee360911c7d76832f911deb558b693f1e0d65c5ce7e67112622a4ec83823
Contents?: true
Size: 535 Bytes
Versions: 3
Compression:
Stored size: 535 Bytes
Contents
require 'capistrano/bundler' require 'capistrano/plugin' module Capistrano class Racecar < Capistrano::Plugin def define_tasks eval_rakefile File.expand_path('../tasks/racecar.rake', __FILE__) end def set_defaults set_if_empty :racecar_task_path, 'config/racecar_task.yml' set_if_empty :racecar_role, :app set_if_empty :racecar_user, :system set_if_empty :racecar_ctl, 'bundle exec racecarctl' set_if_empty :racecar_pid_path, "#{fetch(:deploy_to)}/shared/tmp/pids" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-racecar-1.0.2 | lib/capistrano/racecar.rb |
capistrano-racecar-1.0.1 | lib/capistrano/racecar.rb |
capistrano-racecar-1.0.0 | lib/capistrano/racecar.rb |