Sha256: 23db6cdf5cf66024ce104da585264fdb2d6aa26c01669cbec00350af0c7313e1

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# Rakefile
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'echoe'

# Setting default task
desc 'Default: run unit tests.'
task :default => :test

# Test task
#desc 'Test CBAC plugin.'
#Rake::TestTask.new(:test) do |t|
#  t.libs << 'lib'
#  t.pattern = 'test/**/test_*.rb'
#  t.verbose = true
#end

# Documentation task
desc 'Generate documentation for CBAC plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Cbac'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

# Echo information for packaging
Echoe.new('cbac', '0.6.1') do |p|
  p.summary        = "CBAC - Simple authorization system for Rails applications."
  p.description    = "Simple authorization system for Rails applications. Allows you to develop applications with a mixed role based authorization and a context based authorization model. Does not supply authentication."
  p.url            = "http://cbac.rubyforge.org"
  p.author         = "Bert Meerman"
  p.email          = "bertm@rubyforge.org"
  p.ignore_pattern = []
  p.development_dependencies = []
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cbac-0.6.1 Rakefile