Sha256: faee9fbbc61a6b7013eebb28c1f32b992e8759ed494a675258fedab304c1cc87
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 = 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
freelancing-god-riddle-0.9.8.1533.2 | lib/riddle.rb |