Sha256: ec73a7124b91eca22935839c4915e092f7db550473fec82d1d30531c81798e5a
Contents?: true
Size: 570 Bytes
Versions: 33
Compression:
Stored size: 570 Bytes
Contents
module Fulmar module Domain module Service module Helper # Provides access helper to the database service from within a task module VhostHelper def vhost_name branch = git.current_branch match = branch.match(/f\d+_([a-zA-Z0-9\_\-]+)/) if match match[1] else error "Cannot deploy branch '#{branch}'" fail 'Branch must match specification for feature branches (f1234_name)' end end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems