Sha256: c57eb19df16056d50033dd25f980549b2cda991f60be39832b0bb2b7757dc8c8
Contents?: true
Size: 724 Bytes
Versions: 1
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 = 6 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pixeltrix-thinking-sphinx-1.2.1 | vendor/riddle/lib/riddle.rb |