public
Fork of caring/acts_as_url_param
Description: Pretty url support for Ruby on Rails applications
Homepage: http://www.caring.com
Clone URL: git://github.com/joshuabates/acts_as_url_param.git
dustin (author)
Tue Feb 05 13:36:02 -0800 2008
commit  917a24365a3935446f9e26f1eea9e01a85208e4c
tree    6f4de9ffa55c59fa5e9f68ee2d6848d981fb8e47
parent  2cb2a5fddd9bd299e244cbcc6c923ee336b8e6f5 parent  257b6fb209bcf9104531b244961e6746debfad1f
acts_as_url_param / Rakefile
100644 23 lines (19 sloc) 0.568 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_url_param 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_url_param plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsUrlParam'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end