Sha256: 1f229fad289d2d4ee0d2d6ee6a74badc7c194dade9eace604df91872a3603e9e
Contents?: true
Size: 1.08 KB
Versions: 7
Compression:
Stored size: 1.08 KB
Contents
require 'echoe' Echoe.new("memcached") do |p| p.author = "Evan Weaver" p.project = "fauna" p.summary = "An interface to the libmemcached C client." p.rdoc_pattern = /README|TODO|LICENSE|CHANGELOG|BENCH|COMPAT|exceptions|experimental.rb|behaviors|rails.rb|memcached.rb/ p.clean_pattern += ["ext/lib", "ext/include", "ext/share", "ext/libmemcached-?.??", "ext/bin", "ext/conftest.dSYM"] end task :exceptions do $LOAD_PATH << "lib" require 'memcached' Memcached.constants.sort.each do |const_name| const = Memcached.send(:const_get, const_name) next if const == Memcached::Success or const == Memcached::Stored if const.is_a? Class and const < Memcached::Error puts "* Memcached::#{const_name}" end end end task :benchmark do exec("ruby #{File.dirname(__FILE__)}/test/profile/benchmark.rb") end task :rb_profile do exec("ruby #{File.dirname(__FILE__)}/test/profile/rb_profiler.rb") end task :c_profile do exec("ruby #{File.dirname(__FILE__)}/test/profile/c_profiler.rb") end task :valgrind do exec("ruby #{File.dirname(__FILE__)}/test/profile/valgrind.rb") end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
memcached-1.2.3 | Rakefile |
memcached-1.2.2 | Rakefile |
memcached-1.2.1 | Rakefile |
memcached-1.2 | Rakefile |
memcached-1.1.3 | Rakefile |
memcached-1.1.2 | Rakefile |
memcached-1.1.1 | Rakefile |