Sha256: 4208ef6e963720c5173621fb9db12ee97fa34dac439e41ef04651d67994599c6
Contents?: true
Size: 731 Bytes
Versions: 2
Compression:
Stored size: 731 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 = 9 # Revision number for RubyForge's sake, taken from what Sphinx # outputs to the command line. Rev = 1785 # Release number to mark my own fixes, beyond feature parity with # Sphinx itself. Release = 7 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinking-sphinx-099-1.3.2 | vendor/riddle/lib/riddle.rb |
thinking-sphinx-099-1.3.1 | vendor/riddle/lib/riddle.rb |