Sha256: f3dc297daa95ae67fbf99636cca00585cacf04141acb8492492535ba9e97d6f6
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
require 'rubygems' require 'net/http' require 'json' require 'logger' require 'activesupport' $:.unshift(File.dirname(__FILE__)) require 'core_ext' require 'class_to_proc' require 'endeca/logging' require 'endeca/benchmarking' require 'endeca/readers' require 'endeca/map' require 'endeca/transformer' require 'endeca/dimension' require 'endeca/refinement_dimension' require 'endeca/refinement' require 'endeca/breadcrumbs' require 'endeca/breadcrumb' require 'endeca/request' require 'endeca/document_collection' require 'endeca/document' module Endeca extend Benchmarking extend Logging # :stopdoc: VERSION = '0.11.0' # :startdoc: # Returns the version string for the library. def self.version VERSION end # Set Endeca.debug = true to turn on query logging # Set Endeca.benchmark = true to turn on query benchmarking class << self attr_accessor :logger attr_accessor :debug attr_accessor :benchmark end self.logger = Logger.new(STDOUT) self.debug = false self.benchmark = false # Endeca URIs require colons to be escaped def self.escape(str) URI.escape(str, /[^-_.!~*'()a-zA-Z\d;\/?@&=+$,\[\]]/n) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
primedia-endeca-0.11.0 | lib/endeca.rb |
primedia-endeca-0.14.0 | lib/endeca.rb |