public
Description: Implements ActiveRecord::Base.each instance method
Homepage: http://github.com/guillermo/active_record_each/wikis
Clone URL: git://github.com/guillermo/active_record_each.git
guillermo (author)
Mon Jul 07 07:13:45 -0700 2008
commit  fd9e7f13af3444caa69872248c2fc00cde507a46
tree    14dc464895726a9c1c5e5c2f18c5cfc62ee7272e
parent  74c4b7ee6f51945d86741046323dbc68d87758bc
active_record_each / Rakefile
100644 23 lines (19 sloc) 0.572 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 active_record_each plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the active_record_each plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActiveRecordEach'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end