Sha256: a691d538b01d8dbeff529c491da07a059e96eb13b75b461c7b94be6b2acfe937

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'

begin
  require 'rcov/rcovtask'
rescue LoadError
end

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "lib")
require 'mms2r'

Hoe.spec('mms2r') do |p|
  p.version        = MMS2R::Media::VERSION
  p.rubyforge_name = 'mms2r'
  p.author         = ['Mike Mondragon']
  p.email          = ['mikemondragon@gmail.com']
  p.summary        = 'Extract user media from MMS (and not carrier cruft)'
  p.description    = p.paragraphs_of('README.txt', 2..5).join("\n\n")
  p.url            = p.paragraphs_of('README.txt', 1).first.strip
  p.changes        = p.paragraphs_of('History.txt', 0..1).join("\n\n")
  p.extra_deps << ['nokogiri', '>= 1.4.0']
  p.extra_deps << ['mail', '>= 2.2.5']
  p.extra_deps << ['uuidtools', '>= 2.1.1']
  p.extra_deps << ['exifr', '>= 1.0.1']
  p.clean_globs << 'coverage'
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |rcov|
    rcov.pattern = 'test/**/test_*.rb'
    rcov.verbose = true
    rcov.rcov_opts << "--exclude rcov.rb"
  end
rescue
  task :rcov => :check_dependencies
end


# vim: syntax=Ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mms2r-3.1.0 Rakefile