public
Description: This plugin protect your memcached to never try to use a key greater than 250 characters(memcached limitation). It is very usefull when your key is dynamically defined.
Homepage: http://tapajos.me
Clone URL: git://github.com/tapajos/memcached_protected.git
memcached_protected / Rakefile
100644 25 lines (20 sloc) 0.571 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
end
 
task :test do
  system("rake spec")
end
 
desc 'Generate documentation for the memcached_protected plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'MemcachedProtected'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end