Sha256: d3b7984b29c5cd778c8ccb362125cf3698f7846d4c9711e1820f16fa6861b620
Contents?: true
Size: 760 Bytes
Versions: 3
Compression:
Stored size: 760 Bytes
Contents
require 'socket' require 'timeout' require 'riddle/client' require 'riddle/client/filter' require 'riddle/client/message' require 'riddle/client/response' 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 = 1371 # Release number to mark my own fixes, beyond feature parity with # Sphinx itself. Release = 2 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
freelancing-god-riddle-0.9.8.1371.2 | lib/riddle.rb |
freelancing-god-thinking-sphinx-0.9.11 | vendor/riddle/lib/riddle.rb |
freelancing-god-thinking-sphinx-0.9.12 | vendor/riddle/lib/riddle.rb |