Module: LgPodPlugin

Defined in:
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/request.rb,
lib/lg_pod_plugin/version.rb,
lib/lg_pod_plugin/git_util.rb,
lib/lg_pod_plugin/file_path.rb,
lib/lg_pod_plugin/downloader.rb

Defined Under Namespace

Classes: Command, Error, Installer, LCache, LDownloader, LFileManager, LGitUtil, LRequest, LUtils, String

Constant Summary collapse

VERSION =
"1.1.0"

Class Method Summary collapse

Class Method Details

.install(options = {}) ⇒ Object



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

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



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

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