Sha256: 2d41956b991de232a74cacb95333abe974d84072658909fb368269c62f3138c1

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "zuul"
    gem.summary = %Q{Simple Rails Authorization}
    gem.description = %Q{A simple authorization solution for Rails apps.}
    gem.email = "wes@hashrocket.com"
    gem.homepage = "http://github.com/wgibbs/zuul"
    gem.authors = ["Wes Gibbs"]
    gem.add_development_dependency "rspec", ">= 1.2.9"
    gem.test_files = ["spec/**/*"]
    gem.files.exclude "spec/rails_root/**/*"
    # 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: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'teset/rails_root/test/**/test_*.rb'
  test.verbose = true
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/rails_root/spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "zuul #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zuul-0.1.1 Rakefile
zuul-0.1.0 Rakefile