1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
module RedCloth
module VERSION
MAJOR = 4
MINOR = 3
TINY = 4
# RELEASE_CANDIDATE = 0
STRING = [MAJOR, MINOR, TINY].compact.join('.')
TAG = "REL_#{[MAJOR, MINOR, TINY].compact.join('_')}".upcase.gsub(/\.|-/, '_')
FULL_VERSION = "#{[MAJOR, MINOR, TINY].compact.join('.')}"
class << self
def to_s
STRING
end
def ==(arg)
STRING == arg
end
end
end
NAME = "RedCloth"
GEM_NAME = NAME
URL = "https://github.com/jgarber/redcloth"
description = "Textile parser for Ruby."
if RedCloth.const_defined?(:EXTENSION_LANGUAGE)
SUMMARY = "#{NAME}-#{VERSION::FULL_VERSION}-#{EXTENSION_LANGUAGE}"
else
SUMMARY = "#{NAME}-#{VERSION::FULL_VERSION}"
end
DESCRIPTION = SUMMARY + " - #{description}\n#{URL}"
end
|