Sha256: f2a3c248405f079d464f9f491cf1fe14174b1d468172083335701912707f23c6

Contents?: true

Size: 851 Bytes

Versions: 9

Compression:

Stored size: 851 Bytes

Contents

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

9 entries across 9 versions & 6 rubygems

Version Path
parity-RedCloth-4.2.9 lib/redcloth/version.rb
gv-RedCloth-4.2.9 lib/redcloth/version.rb
YSRedCloth-4.2.9 lib/redcloth/version.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/RedCloth-4.2.9/lib/redcloth/version.rb
assplecake-RedCloth-4.2.9 lib/redcloth/version.rb
RedCloth-4.2.9 lib/redcloth/version.rb
RedCloth-4.2.9-x86-mswin32-60 lib/redcloth/version.rb
RedCloth-4.2.9-x86-mingw32 lib/redcloth/version.rb
RedCloth-4.2.9-java lib/redcloth/version.rb