public
Description: Rails gem/plugin that provides contextual access control to RESTful resources.
Homepage: http://matt-darby.com/search?term=restful_acl
Clone URL: git://github.com/mdarby/restful_acl.git
mdarby (author)
Sun Apr 05 18:01:47 -0700 2009
commit  bd2f317ee21fa7efbb5a90c851db828cd2d20698
tree    97fb0b060748db1aa618653e31f69b271cea5275
parent  d0a8dcfda3ec7ede3f560a62103f0dd250d34b50
restful_acl / Rakefile
100644 23 lines (19 sloc) 0.552 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 restful_acl plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the restful_acl plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'RestfulAcl'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end