Class: Redmine::Installer::Upgrade
- Defined in:
- lib/redmine-installer/upgrade.rb
Constant Summary collapse
- STEPS =
[ step::EnvCheck, step::RedmineRoot, step::LoadPackage, step::Validation, step::Backup, step::Upgrade, step::MoveRedmine ]
Instance Attribute Summary collapse
-
#package ⇒ Object
Returns the value of attribute package.
Attributes inherited from Task
#env, #options, #redmine_root, #settings, #steps, #tmp_redmine_root
Instance Method Summary collapse
-
#initialize(package, options = {}) ⇒ Upgrade
constructor
A new instance of Upgrade.
- #run ⇒ Object
Methods inherited from Task
#check_package, inherited, step
Constructor Details
#initialize(package, options = {}) ⇒ Upgrade
Returns a new instance of Upgrade.
55 56 57 58 59 60 |
# File 'lib/redmine-installer/upgrade.rb', line 55 def initialize(package, ={}) self.package = package super() check_package if [:source] == 'file' end |
Instance Attribute Details
#package ⇒ Object
Returns the value of attribute package.
53 54 55 |
# File 'lib/redmine-installer/upgrade.rb', line 53 def package @package end |