Module: RedmineInstaller

Defined in:
lib/redmine-installer.rb,
lib/redmine-installer/cli.rb,
lib/redmine-installer/task.rb,
lib/redmine-installer/utils.rb,
lib/redmine-installer/backup.rb,
lib/redmine-installer/errors.rb,
lib/redmine-installer/logger.rb,
lib/redmine-installer/command.rb,
lib/redmine-installer/install.rb,
lib/redmine-installer/package.rb,
lib/redmine-installer/profile.rb,
lib/redmine-installer/redmine.rb,
lib/redmine-installer/upgrade.rb,
lib/redmine-installer/version.rb,
lib/redmine-installer/database.rb,
lib/redmine-installer/easycheck.rb,
lib/redmine-installer/restore_db.rb,
lib/redmine-installer/environment.rb,
lib/redmine-installer/task_module.rb,
lib/redmine-installer/configuration.rb,
lib/redmine-installer/package_config.rb

Defined Under Namespace

Modules: Utils Classes: Backup, CLI, Command, Configuration, Database, Easycheck, Environment, Error, Install, Logger, Package, PackageConfig, Profile, ProfileError, Redmine, RestoreDB, Task, TaskModule, Upgrade

Constant Summary collapse

MIN_SUPPORTED_RUBY =

Settings

'3.1.2'
VERSION =
'3.0.4'

Class Method Summary collapse

Class Method Details

.loggerObject



37
38
39
# File 'lib/redmine-installer.rb', line 37

def self.logger
  @logger ||= RedmineInstaller::Logger.new
end

.pastelObject



45
46
47
# File 'lib/redmine-installer.rb', line 45

def self.pastel
  @pastel ||= Pastel.new
end


49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/redmine-installer.rb', line 49

def self.
  puts <<-PRINT
              __      _
  _______ ___/ /_ _  (_)__  ___
 / __/ -_) _  /  ' \\/ / _ \\/ -_)
/_/  \\__/\\_,_/_/_/_/_/_//_/\\__/


Powered by EasySoftware

  PRINT
end

.promptObject



41
42
43
# File 'lib/redmine-installer.rb', line 41

def self.prompt
  @prompt ||= TTY::Prompt.new
end