Sha256: f2654c96d822d6ec7f29ae58a169118d335b09b01ffee3c7f96e7e37ec7ec107

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

# vim: syntax=Ruby
require 'rubygems'
require 'rake/rdoctask'
require 'rake/testtask'

require File.dirname(__FILE__) + "/lib/memcache/version.rb"
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "memcache-client"
    s.version = MemCache::VERSION
    s.summary = s.description = "A Ruby library for accessing memcached."
    s.email = "mperham@gmail.com"
    s.homepage = "http://github.com/mperham/memcache-client"
    s.authors = ['Eric Hodel', 'Robert Cottrell', 'Mike Perham']
    s.has_rdoc = true
    s.files = FileList["[A-Z]*", "{lib,test}/**/*", 'performance.txt']
    s.test_files = FileList["test/test_*.rb"]
    s.executables = ['memcached_top']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install jeweler"
end


Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "FAQ.rdoc", "History.rdoc", "lib/memcache.rb")
  rd.rdoc_dir = 'doc'
end

Rake::TestTask.new do |t|
  t.warning = true
  t.libs = ['lib', 'test']
end

task :default => :test

task :rcov do
  `rcov -Ilib test/*.rb`
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
jjp-memcache-client-1.8.7 Rakefile
memcache-client-1.8.5 Rakefile
memcache-client-1.8.4 Rakefile
memcache-client-1.8.3 Rakefile
memcache-client-1.8.2 Rakefile
memcache-client-1.8.1 Rakefile