Sha256: ce58750f09e4cd9cf05902e615a442522d81a8672ec5aa4046499c15a8906635

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rdoc/task'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "capistrano_mailer"
    gemspec.summary = "Capistrano Deployment Email Notification"
    gemspec.description = %q{Capistrano Deployment Email Notification.  Keep the whole team informed of each release!}
    gemspec.email = ["peter.boling@gmail.com", "dave@textgoeshere.org.uk", "jason@rustedcode.com"]
    gemspec.homepage = "http://github.com/pboling/capistrano_mailer"
    gemspec.authors = ["Peter Boling", "Dave Nolan", "Jason Rust"]
    gemspec.add_dependency 'actionmailer'
    gemspec.files = `git ls-files`.split("\n")
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the capistrano_mailer gem.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano_mailer-4.0.2 Rakefile