Sha256: 1d5ca303a5196ae3e87181786b91039dd24f0716f745bc9d8a4086ed4f27b01a

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "tartarus"
    gem.summary = %Q{Exception Logging for Rails}
    gem.description = %Q{Provides exception logging and a generator for creating a clean interface to manage exceptions.}
    gem.email = "dinsley@gmail.com"
    gem.homepage = "http://github.com/dinsley/tartarus"
    gem.authors = ["Daniel Insley"]
    gem.add_dependency "will_paginate"
    gem.add_development_dependency "rails"
    gem.add_development_dependency "rspec"
    gem.add_development_dependency "rspec-rails"
    # Gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'

Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.spec_opts = ['--options', "spec/spec.opts"]
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
  spec.rcov = true
  spec.rcov_opts = lambda do
    IO.readlines("spec/rcov.opts").map { |l| l.chomp.split " " }.flatten
  end
end

task :spec => :check_dependencies
task :default => :spec

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tartarus-1.0.3 Rakefile
tartarus-1.0.1 Rakefile
tartarus-1.0.0 Rakefile