module Capistrano::SqliteReuse::Paths

Public Instance Methods

database_yml_local_path() click to toggle source
# File lib/capistrano/sqlite-reuse/paths.rb, line 6
def database_yml_local_path
  Pathname.new(fetch(:database_yml_local_path))
end
db_current_path() click to toggle source
# File lib/capistrano/sqlite-reuse/paths.rb, line 22
def db_current_path
  return current_path.join(db_path)
end
db_linked_dir() click to toggle source
# File lib/capistrano/sqlite-reuse/paths.rb, line 18
def db_linked_dir
  return db_linked_path.join('..')
end
db_linked_path() click to toggle source
# File lib/capistrano/sqlite-reuse/paths.rb, line 14
def db_linked_path
  return shared_path.join(db_path)
end
db_path() click to toggle source
# File lib/capistrano/sqlite-reuse/paths.rb, line 10
def db_path
  return Pathname.new(database_location())
end