Sha256: 54fea826a59a2aec8dc20bff2200f6dd368537167eb317418ebcad7489a7ff4b
Contents?: true
Size: 1.44 KB
Versions: 3
Compression:
Stored size: 1.44 KB
Contents
# encoding: UTF-8 require 'rubygems' begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end require 'rake' require 'rake/rdoctask' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Vigilante' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "vigilante" gem.summary = %Q{Context-based, db-backed authorisation for your rails3 apps} gem.description = %Q{Vigilante is a db-backed authorisation, completely configurable and dynamic; where permissions can be limited to extents.} gem.email = "nathan@dixis.com" gem.homepage = "http://github.com/vigilante" gem.authors = ["Nathan Van der Auwera"] gem.add_development_dependency "rails", ">= 3.0.0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) desc "Run all specs with rcov" RSpec::Core::RakeTask.new("test_cov") do |t| t.rcov = true t.rcov_opts = %w{--rails --include views -Ispec --exclude gems\/,spec\/,features\/,seeds\/} end task :default => :spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vigilante-1.0.2 | Rakefile |
vigilante-1.0.1 | Rakefile |
vigilante-1.0.0 | Rakefile |