Sha256: 99c9fde30f0bcd4967d99e67ca7b9e20fa5a989a43175e32e87467ff1eda0067
Contents?: true
Size: 725 Bytes
Versions: 7
Compression:
Stored size: 725 Bytes
Contents
require 'socket' require 'timeout' require 'riddle/client' require 'riddle/configuration' require 'riddle/controller' module Riddle #:nodoc: class ConnectionError < StandardError #:nodoc: end module Version #:nodoc: Major = 0 Minor = 9 Tiny = 8 # Revision number for RubyForge's sake, taken from what Sphinx # outputs to the command line. Rev = 1533 # Release number to mark my own fixes, beyond feature parity with # Sphinx itself. Release = 10 String = [Major, Minor, Tiny].join('.') GemVersion = [Major, Minor, Tiny, Rev, Release].join('.') end def self.escape(string) string.gsub(/[\(\)\|\-!@~"&\/]/) { |char| "\\#{char}" } end end
Version data entries
7 entries across 7 versions & 4 rubygems