Sha256: aed02e59df4478f1d6cf14e4e9e486d02bf3ddedb08bb8c0a91d0a0d5c6b508b
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 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.url = "http://blog.evanweaver.com/files/doc/fauna/memcached/" # p.docs_host = "blog.evanweaver.com:~/www/bax/public/files/doc/" # p.rdoc_pattern = /README|TODO|LICENSE|CHANGELOG|BENCH|COMPAT|exceptions|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 :valgrind do exec("valgrind --tool=memcheck --leak-check=yes --show-reachable=no --num-callers=15 --track-fds=yes ruby #{File.dirname(__FILE__)}/test/profile/valgrind.rb") end task :profile do exec("ruby #{File.dirname(__FILE__)}/test/profile/profile.rb") end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "memcached-uv" gemspec.summary = "fork of fauna's memcached gem with modications to work with Rails 2.3.2" gemspec.description = "fork of fauna's memcached gem with modications to work with Rails 2.3.2" gemspec.email = "ian@uservoice.com" gemspec.homepage = "http://github.com/uservoice/memcached" gemspec.authors = ["Ian Fung"] #gemspec.extensions = ['ext/extconf.rb'] end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
memcached-uv-0.17.7 | Rakefile |