Sha256: 58118a89529d0ac7f6bd91417f214f216859fea3daeea26a3dc6aba7870ac77a

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

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

desc 'Test the aegis gem.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "thelinuxlich-aegis"
    gemspec.summary = "Role-based permissions for your user models."
    gemspec.email = "thelinuxlich@gmail.com"
    gemspec.homepage = "http://github.com/thelinuxlich/aegis"
    gemspec.description = "Aegis is a role-based permission system, where all users are given a role. It is possible to define detailed and complex permissions for each role very easily."
    gemspec.authors = ["thelinuxlich"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thelinuxlich-aegis-1.1.9 Rakefile
thelinuxlich-aegis-1.1.8 Rakefile
thelinuxlich-aegis-1.1.7 Rakefile