Sha256: c009fab4484aa26a7d934b48a9a5253d865902736d508a61c5851dd8ede65033

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

module RedCloth
  module VERSION
    MAJOR = 4
    MINOR = 0
    TINY  = 4
    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 = "#{NAME}-#{VERSION::FULL_VERSION} - Textile parser for Ruby.\n#{URL}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RedCloth-4.0.4 lib/redcloth/version.rb
RedCloth-4.0.4-x86-mswin32-60 lib/redcloth/version.rb