thechrisoshow / what_column

A Rails plugin that adds comments to your active record objects listing the columns

thechrisoshow (author)
Tue Apr 07 13:17:13 -0700 2009
commit  1572a413cf5e81ccb9b3ef6eb87ba3bc927b97db
tree    2852762c4460248aa96b2548e0b5dacd0a5caf51
parent  ee8d90d19d9fbc4f35145635386ffbd7271a8f7e
what_column / Rakefile
100644 24 lines (20 sloc) 0.571 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 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the what_column plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the what_column plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'WhatColumn'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end