Sha256: 09345df514dce50699fb049456d667a2c87b27b24ec543b4459360d6181576df

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

# frozen_string_literal: true
# Returns the version of the gem  as a <tt>Gem::Version</tt>
module AsanaExceptionNotifier
  #  it prints the gem version as a string
  #
  # @return [String]
  #
  # @api public
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  # module used to generate the version string
  # provides a easy way of getting the major, minor and tiny
  module VERSION
    # major release version
    MAJOR = 2
    # minor release version
    MINOR = 0
    # tiny release version
    TINY = 2
    # prelease version ( set this only if it is a prelease)
    PRE = nil

    # generates the version string
    STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asana_exception_notifier-2.0.2 lib/asana_exception_notifier/version.rb