Sha256: 88b7257ba2d022c4e2519c706c7a91cb84e65398d018beb5e723aa25640e9a15

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

require 'rake'
require 'spec/rake/spectask'

desc 'Default: run specs.'
task :default => :spec

desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
  t.spec_files = FileList['spec/**/*_spec.rb']
end

namespace :spec do
  desc 'Run the specs with Rcov output'
  Spec::Rake::SpecTask.new(:rcov) do |t|
    t.spec_files = FileList['spec/**/*.rb']
    t.rcov = true
    t.rcov_opts = ['--exclude', 'examples']
  end
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "permissive"
    gemspec.summary = "Permissive gives your ActiveRecord models granular permission support"
    gemspec.description = %{Permissive combines a model-based permissions system with bitmasking to
    create a flexible approach to maintaining permissions on your ActiveRecord
    models. It supports an easy-to-use set of methods for accessing and
    determining permissions, including some fun metaprogramming.}
    gemspec.email = "flip@x451.com"
    gemspec.homepage = "http://github.com/flipsasser/permissive"
    gemspec.authors = ["Flip Sasser", "Simon Parsons"]
  end
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
permissive-0.0.1 Rakefile