Sha256: ee917b5c9bf051e77e9008bb32eabf582fd96b51d87bb467e1c4f51d0fdb957c

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'
require 'spec/rake/spectask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ruby-efax"
    gem.summary = 'Ruby library for accessing the eFax Developer service'
    gem.authors = ["Szymon Nowak", "Pawel Kozlowski"]
    gem.email = "szimek@gmail.com"
    gem.homepage = "http://github.com/szimek/ruby-efax"
    gem.rubyforge_project = "ruby-efax"
    
    gem.add_dependency('hpricot', '>= 0.8.1')
    gem.add_development_dependency('mocha', '>= 0.9')
  end
  
  Jeweler::RubyforgeTasks.new do |rubyforge|
    rubyforge.doc_task = "rdoc"
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

Rake::RDocTask.new do |rdoc|
  files =['README', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = 'ruby-efax: Ruby library for accessing the eFax Developer service'
  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
  rdoc.options << '--line-numbers'
end

Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*.rb']
end

Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*.rb']
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
drnic-ruby-efax-1.0.1 Rakefile
drnic-ruby-efax-1.1.0 Rakefile
drnic-ruby-efax-1.1.1 Rakefile
szimek-ruby-efax-1.1.1 Rakefile