Sha256: 2c2bbacf2f48341818c733398455b1ce519b5b5ef345d571c9b711207d9cbb98

Contents?: true

Size: 846 Bytes

Versions: 4

Compression:

Stored size: 846 Bytes

Contents

module RedCloth
  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 4
    RELEASE_CANDIDATE = "pre3"

    STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].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.4.pre3-x86-mswin32-60 lib/redcloth/version.rb
RedCloth-4.2.4.pre3-x86-mingw32 lib/redcloth/version.rb
RedCloth-4.2.4.pre3-java lib/redcloth/version.rb
RedCloth-4.2.4.pre3 lib/redcloth/version.rb