Sha256: 05e88be8a6f305bb69f81c14a9399a2c990f8de5670ac5d9d977ae3733119781

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module ActiveJob
  # Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt>
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 5
    MINOR = 0
    TINY  = 0
    PRE   = nil

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/activejob-5.0.0/lib/active_job/gem_version.rb
activejob-5.0.0 lib/active_job/gem_version.rb