Sha256: 0f87a7a69f4bb1fd342fbb3a8f679861566b4d8364c7c9ef0b50a296509f6515

Contents?: true

Size: 828 Bytes

Versions: 3

Compression:

Stored size: 828 Bytes

Contents

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

    STRING = [MAJOR, MINOR, TINY].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)
    DESCRIPTION = "#{NAME}-#{VERSION::FULL_VERSION}-#{EXTENSION_LANGUAGE} - #{description}\n#{URL}"
  else
    DESCRIPTION = "#{NAME}-#{VERSION::FULL_VERSION} - #{description}\n#{URL}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
RedCloth-4.2.0-x86-mswin32-60 lib/redcloth/version.rb
RedCloth-4.2.0 lib/redcloth/version.rb
RedCloth-4.2.0-universal-java lib/redcloth/version.rb