module RestClient
  VERSION = '2.0.0.alpha' unless defined?(self::VERSION)

  def self.version
    VERSION
  end
end

module RestClient
  VERSION_INFO = [2, 0, 0, 'alpha'] unless defined?(self::VERSION_INFO)
  VERSION = VERSION_INFO.map(&:to_s).join('.') unless defined?(self::VERSION)

  def self.version
    VERSION
  end
end

Add VERSION_INFO for easier machine parsing.
Add VERSION_INFO for easier machine parsing.
