Sha256: 895f8c9cd6a63cc78da45fd8c6b539bd4b8d2f3775812ed5ea9872fe7e6ec120

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "ktopping_acl9"
    s.summary = "Yet another role-based authorization system for Rails"
    s.email = "kieran@getcontentment.com"
    s.homepage = "http://github.com/ktopping/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
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ktopping_acl9-0.13.0 Rakefile
ktopping_acl9-0.12.0 Rakefile