Sha256: ca5a5b2c73f2a60fedb9ffb3acd26c00189496c4f4e308ee14ad37f9d9a0d089
Contents?: true
Size: 648 Bytes
Versions: 5
Compression:
Stored size: 648 Bytes
Contents
# Copyright (c) 2012 National ICT Australia Limited (NICTA). # This software may be used and distributed solely under the terms of the MIT license (License). # You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT. # By downloading or using this software you accept the terms and the liability disclaimer in the License. module OmfCommon PROTOCOL_VERSION = "6.0" def self.version_of(name) git_tag = `git describe --tags 2> /dev/null` gem_v = Gem.loaded_specs[name].version.to_s rescue '0.0.0' git_tag.empty? ? gem_v : git_tag.gsub(/-/, '.') end VERSION = version_of('omf_common') end
Version data entries
5 entries across 5 versions & 1 rubygems