Module: CapistranoCopyBundle

Defined in:
lib/capistrano-copy-bundle.rb,
lib/capistrano-copy-bundle/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.local_tarfileObject



8
9
10
# File 'lib/capistrano-copy-bundle.rb', line 8

def local_tarfile
  "#{fetch(:tmp_dir)}/#{tarfile_name}"
end

.remote_tarfileObject



12
13
14
# File 'lib/capistrano-copy-bundle.rb', line 12

def remote_tarfile
  "#{fetch(:tmp_dir_remote, fetch(:tmp_dir))}/#{tarfile_name}"
end

.tarfile_nameObject



4
5
6
# File 'lib/capistrano-copy-bundle.rb', line 4

def tarfile_name
  "#{fetch(:application)}-bundle.tar.gz"
end