public
Description: Acts As Licensed is a plugin which provides a basic content licensing system to community centred Ruby On Rails applications. The plugin includes a set of Creative Commons New Zealand and Australian licenses, which can be imported (excluding the No Derivative Works variant).
Homepage:
Clone URL: git://github.com/kete/acts_as_licensed.git
KieranP (author)
Thu May 07 18:42:55 -0700 2009
commit  aa6639d7447e36d3f51eafe2f9ec34b068f46604
tree    d0216bf43a72a292d833e5e5da0d821fed205c4f
parent  6bfcd6e0fdfb2d08873fba11e3f7a3d6e4e48922
acts_as_licensed / Rakefile
100644 23 lines (19 sloc) 0.589 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_licenced_content 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_licenced_content plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsLicencedContent'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end