Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.0.2
Fetching contributors…

Cannot retrieve contributors at this time

file 64 lines (53 sloc) 1.572 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'

Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "email_manager"
  #gem.homepage = "http://github.com/jeremiahishere/email_manager"
  gem.license = "MIT"
  gem.summary = %Q{An email manager}
  gem.description = %Q{System for storing and managing emails sent by ActionMailer}
  gem.email = "jeremiah@cloudspace.com"
  gem.authors = ["Jeremiah Hemphill"]
  gem.homepage = 'https://github.com/jeremiahishere/email_manager'
  gem.source = 'https://github.com/jeremiahishere/email_manager'
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

# rspec tests
require 'rake/rdoctask'
require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'EmailManager'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
# end rspec tests

require 'yard'
YARD::Rake::YardocTask.new


# hudson ci
require 'ci/reporter/rake/rspec'
namespace :hudson do
  def report_path
    "spec/reports/"
  end

  task :report_setup do
    rm_rf report_path
    mkdir_p report_path
  end
end
Something went wrong with that request. Please try again.