Sha256: 369683b1dde5c4be42222676cd13f582ea6dcd119428445571fc453a723b899a

Contents?: true

Size: 1.02 KB

Versions: 3

Compression:

Stored size: 1.02 KB

Contents

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

task :default => :spec

Spec::Rake::SpecTask.new() do |t|
  t.spec_opts = ['--options', "\"spec/spec.opts\""]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

desc 'Generate documentation for the consul gem'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'consul'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "consul"
    gemspec.summary = "Scope-based authorization solution for Rails"
    gemspec.email = "henning.koch@makandra.de"
    gemspec.homepage = "http://github.com/makandra/consul"
    gemspec.description = "Consul is a scope-based authorization solution for Ruby on Rails."
    gemspec.authors = ["Henning Koch"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
consul-0.1.2 Rakefile
consul-0.1.1 Rakefile
consul-0.1.0 Rakefile