Sha256: a23eb034b7b30f42f047e9d98a2574ba174743b1bf920c0e574db502f06f23a2

Contents?: true

Size: 1.04 KB

Versions: 7

Compression:

Stored size: 1.04 KB

Contents

=begin rdoc
The generated SWIG module for accessing libmemcached's C API.

Includes the full set of libmemcached static methods (as defined in <tt>$INCLUDE_PATH/libmemcached/memcached.h</tt>), and classes for the available structs:

* <b>Rlibmemcached::MemcachedResultSt</b>
* <b>Rlibmemcached::MemcachedServerSt</b>
* <b>Rlibmemcached::MemcachedSt</b>
* <b>Rlibmemcached::MemcachedStatSt</b>
* <b>Rlibmemcached::MemcachedStringSt</b>

A number of SWIG typemaps and C helper methods are also defined in <tt>ext/libmemcached.i</tt>.

=end
module Rlibmemcached
end

require 'rlibmemcached'

class Memcached
  Lib = Rlibmemcached
  REQUIRED_VERSION = File.read("#{File.dirname(__FILE__)}/../COMPATIBILITY")[/:: ([\d\.]+)/, 1]
  RECEIVED_VERSION = Lib.memcached_lib_version
  raise "libmemcached #{REQUIRED_VERSION} required; you somehow linked to #{RECEIVED_VERSION}." unless REQUIRED_VERSION == RECEIVED_VERSION
end

require 'memcached/integer'
require 'memcached/exceptions'
require 'memcached/behaviors'
require 'memcached/memcached'
require 'memcached/rails'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
memcached-0.16.3 lib/memcached.rb
memcached-0.16.2 lib/memcached.rb
memcached-0.16.1 lib/memcached.rb
memcached-0.16 lib/memcached.rb
memcached-0.15.3 lib/memcached.rb
memcached-0.15.2 lib/memcached.rb
memcached-0.15.1 lib/memcached.rb