Sha256: a21218e5ef53ff56e2006b78e200d2abc6cfda514e1d8870f9adefaf47e84167

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
RedCloth-4.3.4 lib/redcloth/version.rb