Module: Uberinstaller

Defined in:
lib/uberinstaller.rb,
lib/uberinstaller/cli.rb,
lib/uberinstaller/utils.rb,
lib/uberinstaller/config.rb,
lib/uberinstaller/logger.rb,
lib/uberinstaller/parser.rb,
lib/uberinstaller/runner.rb,
lib/uberinstaller/version.rb,
lib/uberinstaller/platform.rb,
lib/uberinstaller/commander.rb,
lib/uberinstaller/exception.rb,
lib/uberinstaller/installer.rb,
lib/uberinstaller/package_manager.rb,
lib/uberinstaller/package_managers/apt.rb,
lib/uberinstaller/package_managers/git.rb,
lib/uberinstaller/package_managers/base.rb,
lib/uberinstaller/package_managers/dpkg.rb,
lib/uberinstaller/exceptions/invalid_ppa.rb,
lib/uberinstaller/exceptions/invalid_url.rb,
lib/uberinstaller/exceptions/missing_url.rb,
lib/uberinstaller/exceptions/invalid_json.rb,
lib/uberinstaller/exceptions/wrong_version.rb,
lib/uberinstaller/exceptions/invalid_folder.rb,
lib/uberinstaller/exceptions/invalid_package.rb,
lib/uberinstaller/exceptions/json_parse_error.rb,
lib/uberinstaller/exceptions/wrong_architecture.rb,
lib/uberinstaller/exceptions/json_file_not_found.rb,
lib/uberinstaller/exceptions/invalid_local_package.rb,
lib/uberinstaller/exceptions/missing_local_package.rb,
lib/uberinstaller/exceptions/parser_argument_error.rb,
lib/uberinstaller/exceptions/command_not_processable.rb,
lib/uberinstaller/exceptions/no_preprocessor_exception.rb,
lib/uberinstaller/exceptions/multiple_local_files_not_supported.rb,
lib/uberinstaller/exceptions/multiple_repositories_not_supported.rb

Defined Under Namespace

Modules: Config, Exception, Loggable, PackageManager, Utils Classes: Cli, Commander, Installer, Parser, Platform, Runner

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.new(file) ⇒ Object

Create a new instance of the Runner class in an easy way

Parameters:

  • file (String)

    the path of the JSON configuration file



20
21
22
23
# File 'lib/uberinstaller.rb', line 20

def self.new(file)
  puts "#{Config.app_name} - v#{Config.app_version}"
  Uberinstaller::Runner.new file
end