public
Description: Tiny plugin to mark any rails model instance as an abuse or site's community guideline violation.
Homepage:
Clone URL: git://github.com/linkingpaths/acts_as_abusable.git
Click here to lend your support to: acts_as_abusable and make a donation at www.pledgie.com !
aitor (author)
Thu Oct 16 08:46:04 -0700 2008
commit  ba6a0d2b0133674da939eaad467d538e06fef429
tree    61bff747d2997dd1ecd0dfbd10fd6ff73bef1453
parent  b14f0b33a0b7e265a253fc78500d29a9ec4f0383
acts_as_abusable / Rakefile
100644 23 lines (19 sloc) 0.566 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_abusable 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_abusable plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsAbusable'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end