2019-01-05 00:43:11 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module ActionText
|
|
|
|
# Returns the currently-loaded version of Action Text as a <tt>Gem::Version</tt>.
|
|
|
|
def self.gem_version
|
|
|
|
Gem::Version.new VERSION::STRING
|
|
|
|
end
|
|
|
|
|
|
|
|
module VERSION
|
|
|
|
MAJOR = 6
|
2019-04-24 19:57:14 +00:00
|
|
|
MINOR = 1
|
2019-01-05 00:43:11 +00:00
|
|
|
TINY = 0
|
2019-04-24 19:57:14 +00:00
|
|
|
PRE = "alpha"
|
2019-01-05 00:43:11 +00:00
|
|
|
|
|
|
|
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
|
|
|
|
end
|
|
|
|
end
|