Sha256: 144c1d1bc4744a67164864ab3eb18d0c63db9abd16b9bf84d111a43f1857890a

Contents?: true

Size: 851 Bytes

Versions: 4

Compression:

Stored size: 851 Bytes

Contents

module RedCloth
  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 5
    RELEASE_CANDIDATE = nil

    STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('.')
    TAG = "REL_#{[MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('_')}".upcase.gsub(/\.|-/, '_')
    FULL_VERSION = "#{[MAJOR, MINOR, TINY, RELEASE_CANDIDATE].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

4 entries across 4 versions & 1 rubygems

Version Path
RedCloth-4.2.5-x86-mswin32-60 lib/redcloth/version.rb
RedCloth-4.2.5-x86-mingw32 lib/redcloth/version.rb
RedCloth-4.2.5-java lib/redcloth/version.rb
RedCloth-4.2.5 lib/redcloth/version.rb