Class: Luban::Deployment::Packages::Gem::Installer
- Inherits:
-
Luban::Deployment::Package::Installer
- Object
- Worker::Base
- Luban::Deployment::Package::Worker
- Luban::Deployment::Package::Installer
- Luban::Deployment::Packages::Gem::Installer
- Defined in:
- lib/luban/deployment/packages/gem.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Luban::Deployment::Package::Installer
Luban::Deployment::Package::Installer::DefaultLibExtension, Luban::Deployment::Package::Installer::DefaultSrcFileExtName, Luban::Deployment::Package::Installer::LibExtensions
Constants included from Luban::Deployment::Parameters::Application
Luban::Deployment::Parameters::Application::DefaultLogrotateInterval, Luban::Deployment::Parameters::Application::DefaultLogrotateMaxAge
Constants included from Luban::Deployment::Parameters::General
Luban::Deployment::Parameters::General::DefaultLubanRootPath
Constants included from Helpers::Utils
Instance Attribute Summary
Attributes inherited from Luban::Deployment::Package::Installer
#build_env_vars, #configure_opts
Attributes inherited from Worker::Base
Attributes included from Helpers::Utils
Attributes included from Helpers::Configuration
Instance Method Summary collapse
- #gem_executable ⇒ Object
- #install_doc? ⇒ Boolean
- #install_path ⇒ Object
- #package_path ⇒ Object
- #source_repo ⇒ Object
- #source_url_root ⇒ Object
- #src_file_extname ⇒ Object
Methods inherited from Luban::Deployment::Package::Installer
#build_path, #cached?, #cleanup_all, #configure_executable, #current_configured?, #current_package_version, #current_symlinked?, #currently_used_by, #default_configure_opts, #deprecated?, #download, #download_url, #downloaded?, #get_summary, #include_path, #install, #install_log_file_name, #install_log_file_path, #install_log_path, #installed?, #lib_path, #required_packages, #src_cache_path, #src_file_md5, #src_file_name, #src_file_path, #src_md5_file_path, #uninstall, #validate_download_url, #whence_origin, #which_current
Methods inherited from Luban::Deployment::Package::Worker
#bin_path, #child?, #current_bin_path, #current_path, define_executable, package_class, #package_downloads_path, #package_tmp_path, #package_versions_path, #parent, worker_class
Methods included from Luban::Deployment::Package::Worker::Base
#package_bin_path, #package_install_path, #packages_path
Methods included from Worker::Paths::Remote
#app_archives_path, #app_bin_path, #app_path, #app_tmp_path, #archived_logs_path, #archives_path, #current_app_path, #deployment_projects_path, #docker_root_path, #downloads_path, #env_path, #envrc_file, #packages_root_path, #project_path, #releases_root_path, #shared_path, #tmp_path, #unset_envrc_file
Methods inherited from Worker::Base
#dry_run?, #force?, #initialize, #linux?, #method_missing, #osx?, #packages, #run, #target_full_name, #target_major_version, #target_name, #target_patch_level, #target_version
Methods included from Luban::Deployment::Parameters::Application
#dockerize, #dockerized?, #env_name, #logrotate_count, #monitor_itself?, #monitorable?
Methods included from Luban::Deployment::Parameters::Base
Methods included from Luban::Deployment::Parameters::Docker
#validate_for_docker_cert_path
Methods included from Luban::Deployment::Parameters::Project
#monitor_defined?, #process_monitor_via
Methods included from Luban::Deployment::Parameters::General
#current_uid, #current_user, included
Methods included from Helpers::Utils
#assure, #assure_dirs, #assure_symlink, #capture, #check_pass?, #chmod, #cp, #directory?, #exists?, #file?, #hardware_name, #host, #hostname, #ln, #match?, #md5_for, #md5_for_dir, #md5_for_file, #md5_matched?, #mkdir, #mv, #now, #os_name, #os_release, #readlink, #render_template, #revision_match?, #rm, #rmdir, #sudo, #symlink?, #touch, #truncate, #upload_by_template, #url_exists?, #user_home, #with_clean_env
Methods included from Helpers::Configuration
#ask, #fetch, #find_template_file, #load_configuration_file, #primary, #release_roles, #role, #roles, #server, #set, #set_default, #syntax_error?
Constructor Details
This class inherits a constructor from Luban::Deployment::Worker::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Luban::Deployment::Worker::Base
Instance Method Details
#gem_executable ⇒ Object
31 |
# File 'lib/luban/deployment/packages/gem.rb', line 31 def gem_executable; parent.gem_executable; end |
#install_doc? ⇒ Boolean
28 |
# File 'lib/luban/deployment/packages/gem.rb', line 28 def install_doc?; task.opts.install_doc; end |
#install_path ⇒ Object
30 |
# File 'lib/luban/deployment/packages/gem.rb', line 30 def install_path; parent.install_path; end |
#package_path ⇒ Object
29 |
# File 'lib/luban/deployment/packages/gem.rb', line 29 def package_path; parent.package_path; end |
#source_repo ⇒ Object
33 |
# File 'lib/luban/deployment/packages/gem.rb', line 33 def source_repo; @source_repo ||= "https://rubygems.org"; end |
#source_url_root ⇒ Object
34 |
# File 'lib/luban/deployment/packages/gem.rb', line 34 def source_url_root; @source_url_root ||= "downloads"; end |
#src_file_extname ⇒ Object
32 |
# File 'lib/luban/deployment/packages/gem.rb', line 32 def src_file_extname; @src_file_extname ||= 'gem'; end |