d62b880e3f
Added the action_cache plugin http://agilewebdevelopment.com/plugins/action_cache which does action-caching with ETags support. The built-in Rails ETags "solution" sucks, because it forces a page-rerender, even when the content is unchanged.
23 lines
597 B
Plaintext
23 lines
597 B
Plaintext
require 'rake'
|
|
require 'rake/testtask'
|
|
require 'rake/rdoctask'
|
|
|
|
desc 'Default: run unit tests.'
|
|
task :default => :test
|
|
|
|
desc 'Test the Action Cache Upgrade plugin.'
|
|
Rake::TestTask.new(:test) do |t|
|
|
t.libs << 'lib'
|
|
t.pattern = 'test/**/*_test.rb'
|
|
t.verbose = true
|
|
end
|
|
|
|
desc 'Generate documentation for the Action Cache Upgrade plugin.'
|
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
rdoc.rdoc_dir = 'rdoc'
|
|
rdoc.title = 'Action Cache Upgrade'
|
|
rdoc.options << '--line-numbers --inline-source'
|
|
rdoc.rdoc_files.include('README')
|
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
end
|