public
Description: a better version of this functionality is in rails 2.3. use that!
Homepage: http://jamesgolick.com/attribute_fu
Clone URL: git://github.com/giraffesoft/attribute_fu.git
giraffesoft (author)
Thu Nov 13 08:51:42 -0800 2008
commit  2184928876b6a99cf2aeab6f1f20caafef7975da
tree    fc2fab70f66af9e65a1ae08d0708a96973e2859c
parent  682d1e104ac93d1b79de5e1baac86ed225e6938d
attribute_fu / Rakefile
100644 24 lines (20 sloc) 0.594 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
require 'rake'
require "load_multi_rails_rake_tasks"
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the attribute_fu plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the attribute_fu plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'AttributeFu'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end