Sha256: 3087dcb74f790150d31dc74e64cb003f72618b8cdd23f1d242a64af0d1dda820
Contents?: true
Size: 529 Bytes
Versions: 154
Compression:
Stored size: 529 Bytes
Contents
# encoding: utf-8 module Mail module VERSION version = {} File.read(File.join(File.dirname(__FILE__), '../', 'VERSION')).each_line do |line| type, value = line.chomp.split(":") next if type =~ /^\s+$/ || value =~ /^\s+$/ version[type] = value end MAJOR = version['major'] MINOR = version['minor'] PATCH = version['patch'] BUILD = version['build'] STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.') def self.version STRING end end end
Version data entries
154 entries across 142 versions & 15 rubygems