public
Description: Allows Rails controllers to use HTTP cache specifications easily by declaring which resources should be cached at the class level
Homepage: http://blog.plataformatec.com.br/
Clone URL: git://github.com/josevalim/easy_http_cache.git
Click here to lend your support to: easy_http_cache and make a donation at www.pledgie.com !
easy_http_cache / Rakefile
100644 20 lines (17 sloc) 0.519 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Run tests for Easy HTTP Cache.'
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for Easy HTTP Cache.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Easy HTTP Cache'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('MIT-LICENSE')
  rdoc.rdoc_files.include('lib/**/*.rb')
end