public
Description: Yet another role-based authorization system for Rails
Homepage:
Clone URL: git://github.com/be9/acl9.git
acl9 / Rakefile
100644 40 lines (34 sloc) 1.129 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require 'rubygems'
require 'rake'
require 'rake/testtask'
 
desc 'Default: run tests.'
task :default => :test
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "acl9"
    s.summary = "Yet another role-based authorization system for Rails"
    s.email = "olegdashevskii@gmail.com"
    s.homepage = "http://github.com/be9/acl9"
    s.description = "Role-based authorization system for Rails with a nice DSL for access control lists"
    s.authors = ["oleg dashevskii"]
    s.files = FileList["[A-Z]*", "{lib,test}/**/*.rb"]
    s.add_development_dependency "jeremymcanally-context", ">= 0.5.5"
    s.add_development_dependency "jnunemaker-matchy", ">= 0.4.0"
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
 
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = false
end
 
begin
  require 'yard'
 
  YARD::Rake::YardocTask.new do |t|
    t.files = ['lib/**/*.rb']
    #t.options = ['--any', '--extra', '--opts'] # optional
  end
rescue LoadError
end