File: version.rb

package info (click to toggle)
ruby-mail 2.5.4-3~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 4,688 kB
  • sloc: ruby: 27,377; makefile: 7
file content (24 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# encoding: utf-8
module Mail
  module VERSION
    
    version = {}

    version['major'] = "2"
    version['minor'] = "5"
    version['patch'] = "4"
    version['build'] = nil
    
    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