2017-07-09 13:49:52 -04:00
|
|
|
# frozen_string_literal: true
|
2017-07-10 09:40:03 -04:00
|
|
|
|
2014-05-18 05:44:28 -04:00
|
|
|
module ActiveJob
|
2014-08-30 05:58:23 -04:00
|
|
|
# Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt>
|
2014-05-18 05:44:28 -04:00
|
|
|
def self.gem_version
|
|
|
|
Gem::Version.new VERSION::STRING
|
|
|
|
end
|
|
|
|
|
|
|
|
module VERSION
|
2014-11-28 12:00:06 -05:00
|
|
|
MAJOR = 5
|
2017-03-21 19:41:39 -04:00
|
|
|
MINOR = 2
|
2014-05-18 05:44:28 -04:00
|
|
|
TINY = 0
|
2017-11-28 00:01:45 -05:00
|
|
|
PRE = "beta2"
|
2014-05-18 05:44:28 -04:00
|
|
|
|
|
|
|
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
|
|
|
|
end
|
|
|
|
end
|