Sha256: 63906cf8bbed766b57aa5d1a99ab2fdee9e477e1770577c65891f8f0cb2172c0

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

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

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

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

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

Echoe.new('cbac', '0.5.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.5.1 Rakefile