public
Fork of technoweenie/restful-authentication
Description: Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite built-in.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/danielharan/restful-authentication.git
gramos (author)
Thu Jul 03 04:58:01 -0700 2008
Daniel Haran (committer)
Thu Jul 03 15:32:16 -0700 2008
commit  2afa8c6cf8797eadaa9d6a0f10ce8da42336e8b4
tree    5eef8c9b80e52e01910728459587593b2b682c6b
parent  a11553aa665ec158097e648bf5fdfd570c076662
100644 23 lines (19 sloc) 0.585 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_authentication 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_authentication plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'RestfulAuthentication'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end