Sha256: 8847b36209d5e437ea1a5ac3c004af06bb5cbef26957774a321c381aca297019

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

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

# 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', Cbac::VERSION) 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.retain_gemspec = true
  p.development_dependencies = []
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cbac-0.6.10 Rakefile
cbac-0.6.9 Rakefile
cbac-0.6.8 Rakefile
cbac-0.6.7 Rakefile
cbac-0.6.5 Rakefile