public
Description: Rails plugin for generating role- and association-based permission checks on controllers and ActiveRecord models.
Homepage:
Clone URL: git://github.com/blangenfeld/acts_as_checkpoint.git
blangenfeld (author)
Thu Aug 14 00:22:06 -0700 2008
commit  ff6180dc00afc474fa1d54965c50ef046325aa6b
tree    54f56bae66c94efde5d6f1a765fe232aa0ef6f6a
parent  e698c571450ce3e9c0a50f6cd7079f850836e45f
acts_as_checkpoint / 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 acts_as_checkpoint 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_checkpoint plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsCheckpoint'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end