1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# frozen-string-literal: true
module Rodauth
# The major version of Rodauth, updated only for major changes that are
# likely to require modification to apps using Rodauth.
MAJOR = 2
# The minor version of Rodauth, updated for new feature releases of Rodauth.
MINOR = 42
# The patch version of Rodauth, updated only for bug fixes from the last
# feature release.
TINY = 0
# The full version of Rodauth as a string
VERSION = "#{MAJOR}.#{MINOR}.#{TINY}".freeze
# The full version of Rodauth as a number (1.17.0 => 11700)
VERSION_NUMBER = MAJOR*10000 + MINOR*100 + TINY
def self.version
VERSION
end
end
|