Sha256: 98734c8df1c179e011900ed90dc4f38d8f669f096296176a14bad6c06d613a57

Contents?: true

Size: 793 Bytes

Versions: 2

Compression:

Stored size: 793 Bytes

Contents

module RedCloth
  module VERSION
    MAJOR = 4
    MINOR = 3
    TINY  = 2
#    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  = "http://redcloth.org/"
  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

2 entries across 2 versions & 2 rubygems

Version Path
gv-RedCloth-4.3.2 lib/redcloth/version.rb
RedCloth-4.3.2 lib/redcloth/version.rb