Module: Ploy::Util
- Defined in:
- lib/ploy/common.rb
Class Method Summary collapse
Class Method Details
.remote_name(deploy, branch, rev, blessed = false) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/ploy/common.rb', line 4 def Util.remote_name(deploy,branch,rev, blessed = false) r = [ deploy, branch, "#{deploy}_#{rev}.deb" ] if (blessed) then r.unshift('blessed') end return r.join('/') end |