Module: LgPodPlugin

Defined in:
lib/command/init.rb,
lib/command/cache.rb,
lib/lg_pod_plugin.rb,
lib/command/update.rb,
lib/command/command.rb,
lib/command/install.rb,
lib/lg_pod_plugin/log.rb,
lib/lg_pod_plugin/l_util.rb,
lib/lg_pod_plugin/string.rb,
lib/lg_pod_plugin/install.rb,
lib/lg_pod_plugin/l_cache.rb,
lib/lg_pod_plugin/podspec.rb,
lib/lg_pod_plugin/request.rb,
lib/lg_pod_plugin/version.rb,
lib/lg_pod_plugin/database.rb,
lib/lg_pod_plugin/l_config.rb,
lib/lg_pod_plugin/net-ping.rb,
lib/lg_pod_plugin/file_path.rb,
lib/lg_pod_plugin/downloader.rb,
lib/lg_pod_plugin/gitlab_api.rb,
lib/lg_pod_plugin/gitlab_archive.rb,
lib/lg_pod_plugin/gitlab_download.rb

Defined Under Namespace

Classes: Command, Error, GitLabAPI, GitLabArchive, Installer, LCache, LConfig, LDownloader, LFileManager, LGitUtil, LPodLatestRefs, LRequest, LSqliteDb, LUserAuthInfo, LUtils, Ping, PodSpec, ProjectModel, String

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.install(options = {}) ⇒ Object



18
19
20
# File 'lib/lg_pod_plugin.rb', line 18

def self.install(options = {})
  LgPodPlugin::Installer.run("install", options)
end

.log(msg) ⇒ Object



23
24
25
# File 'lib/lg_pod_plugin/log.rb', line 23

def self.log(msg)
  Pod::CoreUI.puts msg
end

.log_blue(msg) ⇒ Object



11
12
13
# File 'lib/lg_pod_plugin/log.rb', line 11

def self.log_blue(msg)
  Pod::CoreUI.puts msg.blue
end

.log_green(msg) ⇒ Object



15
16
17
# File 'lib/lg_pod_plugin/log.rb', line 15

def self.log_green(msg)
  Pod::CoreUI.puts msg.green
end

.log_red(msg) ⇒ Object



7
8
9
# File 'lib/lg_pod_plugin/log.rb', line 7

def self.log_red(msg)
  Pod::CoreUI.puts msg.red
end

.log_yellow(msg) ⇒ Object



19
20
21
# File 'lib/lg_pod_plugin/log.rb', line 19

def self.log_yellow(msg)
  Pod::CoreUI.puts msg.yellow
end

.update(options = {}) ⇒ Object



22
23
24
# File 'lib/lg_pod_plugin.rb', line 22

def self.update(options = {})
  LgPodPlugin::Installer.run("update", options)
end