Module: UcbDeployer
- Defined in:
- lib/ucb_deployer.rb,
lib/ucb_deployer/version.rb,
lib/ucb_deployer/deployer.rb,
lib/ucb_deployer/jira_deployer.rb,
lib/ucb_deployer/confluence_deployer.rb
Defined Under Namespace
Classes: ConfigError, ConfluenceDeployer, Deployer, JiraDeployer
Constant Summary
collapse
- DEPLOYER_HOME =
File.expand_path(File.dirname(__FILE__) + '/..')
- RESOURCES_DIR =
File.expand_path("#{DEPLOYER_HOME}/resources")
- VERSION =
"1.0.1"
Class Method Summary
collapse
Class Method Details
.debug(str) ⇒ Object
37
38
39
40
41
|
# File 'lib/ucb_deployer.rb', line 37
def self.debug(str)
if debug_mode
$stdout.puts(str)
end
end
|
.debug_mode ⇒ Object
47
48
49
|
# File 'lib/ucb_deployer.rb', line 47
def self.debug_mode
@debug_mode || false
end
|
.debug_mode=(bool) ⇒ Object
51
52
53
|
# File 'lib/ucb_deployer.rb', line 51
def self.debug_mode=(bool)
@debug_mode = bool
end
|
.info(str) ⇒ Object
43
44
45
|
# File 'lib/ucb_deployer.rb', line 43
def self.info(str)
$stdout.puts(str)
end
|