Sha256: fb9a9439d90864e3c827778fcd0bd6b2f1e18c951360aba6aaacb2d1e6621288
Contents?: true
Size: 831 Bytes
Versions: 8
Compression:
Stored size: 831 Bytes
Contents
## ---------------------------------------------------------------------- ## ## Ruby client for algolia.com ## A quick library for playing with algolia.com's REST API for object storage. ## Thanks to Sylvain Utard for the initial version of the library ## ---------------------------------------------------------------------- require 'json' if !defined?(RUBY_ENGINE) && defined?(RUBY_VERSION) && RUBY_VERSION == '1.8.7' # work-around a limitation from nahi/httpclient, using the undefined RUBY_ENGINE constant RUBY_ENGINE = 'ruby1.8' require 'httpclient' Object.send(:remove_const, :RUBY_ENGINE) else require 'httpclient' end require 'date' require 'cgi' require 'pathname' cwd = Pathname(__FILE__).dirname $:.unshift(cwd.to_s) unless $:.include?(cwd.to_s) || $:.include?(cwd.expand_path.to_s) require 'algolia/index'
Version data entries
8 entries across 8 versions & 1 rubygems