Sha256: 79bf1872f8022147e7d92b8f3d806c6cd3d68b6f578a58de93451e50180733ee

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

# -*- ruby -*-

begin
  require 'hoe'
rescue LoadError
  require 'rubygems'
  require 'hoe'
end

begin
  require 'rcov/rcovtask'
rescue LoadError
end

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

Hoe.plugin :bundler
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.readme_file    = 'README.txt'
  p.history_file   = 'History.txt'
  p.extra_deps << ['nokogiri', '>= 1.4.4']
  p.extra_deps << ['mail', '>= 2.2.10']
  p.extra_deps << ['uuidtools', '>= 2.1.1']
  p.extra_deps << ['exifr', '>= 1.0.3']
  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

5 entries across 5 versions & 1 rubygems

Version Path
mms2r-3.5.0 Rakefile
mms2r-3.4.1 Rakefile
mms2r-3.4.0 Rakefile
mms2r-3.3.1 Rakefile
mms2r-3.3.0 Rakefile