norbert / has_uuid

A Rails plugin that makes assigning a UUID to your models a breeze.

This URL has Read+Write access

norbert (author)
Wed Mar 19 07:34:42 -0700 2008
commit  5c4ca3e4c69a890873a27bcc8ebf10e5668e4429
tree    49827ae0af86f5af6456a9d2d0db8f121a8cdc3d
has_uuid / Rakefile
5c4ca3e4 » norbert 2008-03-19 Import existing files. 1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
8 desc 'Test the has_uuid plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
11 t.pattern = 'test/**/*_test.rb'
12 t.verbose = true
13 end
14
15 desc 'Generate documentation for the has_uuid plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'has_uuid'
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end