Sha256: a20fa9436f2459071d7a39fec35b5c3f316380969919ec3c837a0038a5aae4f0

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'
$LOAD_PATH.unshift 'lib'
require 'blackbook'

begin
  require 'rcov/rcovtask'
rescue LoadError
end

Hoe.new('blackbook', Blackbook::VERSION) do |p|
  p.rubyforge_name = 'contentfree'
  p.author         = 'Contentfree'
  p.email          = 'dave.myron@contentfree.com'
  p.summary        = 'Blackbook handles the nitty-gritty of importing contacts from various service providers and contact lists and exporting them in a useful format.'
  # FIX these were broken with the switch from README.txt to README.markdown  
  # p.description    = p.paragraphs_of('README.txt', 1).join("\n\n")
  # p.url            = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
  # p.changes        = p.paragraphs_of('History.txt', 0..1).join("\n\n")
  p.extra_deps    << [ "mechanize", ">= 0.7.0" ]
  p.extra_deps    << [ "fastercsv", ">= 1.2.0" ]
  p.clean_globs << 'coverage'
  p.clean_globs << 'pkg'
  p.clean_globs << 'doc'
  p.clean_globs << 'ri'
end

task :release_and_publish => [:release, :publish_docs]

begin
  Rcov::RcovTask.new do |t|
    t.test_files = FileList['test/test*.rb']
    t.verbose = true
    #t.rcov_opts << "--exclude rcov.rb,hpricot.rb,hpricot/.*\.rb"
  end
rescue NameError
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alexjp-blackbook_csv-1.0.5 Rakefile
alexjp-blackbook_csv-3.0.1 Rakefile
alexjp-blackbook_csv-3.0.2 Rakefile