2017-08-12 08:32:15 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-07-24 15:20:55 -04:00
|
|
|
module ActiveStorage
|
2017-08-15 12:48:19 -04:00
|
|
|
# Returns the version of the currently loaded Active Storage as a <tt>Gem::Version</tt>.
|
2017-07-24 15:20:55 -04:00
|
|
|
def self.gem_version
|
|
|
|
Gem::Version.new VERSION::STRING
|
|
|
|
end
|
|
|
|
|
|
|
|
module VERSION
|
2018-01-30 18:51:17 -05:00
|
|
|
MAJOR = 6
|
2019-04-24 15:57:14 -04:00
|
|
|
MINOR = 1
|
2017-07-24 15:20:55 -04:00
|
|
|
TINY = 0
|
2019-04-24 15:57:14 -04:00
|
|
|
PRE = "alpha"
|
2017-07-24 15:20:55 -04:00
|
|
|
|
|
|
|
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
|
|
|
|
end
|
|
|
|
end
|