public
Description: This rails plugin works as a LRU(Least Recently Used) cache algorithm , it discarts the least rencently used item and store the new one.
Homepage:
Clone URL: git://github.com/mabj/acts_as_lru.git
Marcos Alvares (author)
Sun Sep 07 07:31:54 -0700 2008
commit  69b439c9344ea0352e2ac56fbdd312cb097f43c0
tree    066ce3c5f61167adf2d2c8704de8a7eb3d98ec85
parent  31c4842845c4268450fa5cf82a7ea3ef739e4099
acts_as_lru / Rakefile
100644 23 lines (19 sloc) 0.551 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the acts_as_lru plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the acts_as_lru plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsLru'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end