Class: Capistrano::SCM::Plugin

Inherits:
Plugin
  • Object
show all
Defined in:
lib/capistrano/scm/plugin.rb

Overview

Base class for all built-in and third-party SCM plugins. Notice that this class doesn’t really do anything other than provide an ‘scm?` predicate. This tells Capistrano that the plugin provides SCM functionality. All other plugin features are inherited from Capistrano::Plugin.

Direct Known Subclasses

Git, Hg, Svn

Instance Method Summary collapse

Methods inherited from Plugin

#define_tasks, #register_hooks, #set_defaults

Methods included from DSL

#execute, #invoke, #invoke!, #local_user, #lock, #on, #revision_log_message, #rollback_log_message, #run_locally, #scm, #sudo, #t

Methods included from DSL::Stages

#stage_definitions, #stage_set?, #stages

Methods included from DSL::Paths

#asset_timestamp, #current_path, #deploy_config_path, #deploy_path, #deploy_to, #join_paths, #linked_dir_parents, #linked_dirs, #linked_file_dirs, #linked_files, #map_dirnames, #now, #release_path, #releases_path, #repo_path, #repo_url, #revision_log, #set_release_path, #shared_path, #stage_config_path

Methods included from DSL::Env

#asset_timestamp, #env, #release_roles, #release_timestamp, #role_properties, #roles

Methods included from TaskEnhancements

#after, #before, #default_tasks, #define_remote_file_task, #deploying?, #ensure_stage, #exit_deploy_because_of_exception, #tasks_without_stage_dependency

Instance Method Details

#scm?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/capistrano/scm/plugin.rb', line 10

def scm?
  true
end