Sha256: 54992f2a715527213acffc2e8356487ac910f20d4d1bfd72d16a6585fddbc1f9
Contents?: true
Size: 724 Bytes
Versions: 6
Compression:
Stored size: 724 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 = 3 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
6 entries across 6 versions & 2 rubygems