Sha256: 4adea6e005a64534aa6bafcaf29fbf1412b8151865d593300596ac4f003c157a

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 Bytes

Contents

module RedCloth
  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 7
    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

5 entries across 5 versions & 2 rubygems

Version Path
vanity-1.7.1 vendor/ruby/1.9.1/gems/RedCloth-4.2.7/lib/redcloth/version.rb
RedCloth-4.2.7-x86-mswin32-60 lib/redcloth/version.rb
RedCloth-4.2.7-x86-mingw32 lib/redcloth/version.rb
RedCloth-4.2.7-java lib/redcloth/version.rb
RedCloth-4.2.7 lib/redcloth/version.rb