File: version.rb

package info (click to toggle)
ruby-rodauth 2.42.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 812 kB
  • sloc: ruby: 7,524; javascript: 100; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (2)
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