Sha256: b6c565bb3d3f40f3faccae055a116b3e8437940d02fb4792cf6d9f675b545bad

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name    = 'pdf_filler'
    gem.version = '0.0.2'
    gem.date    = '2009-07-24'

    gem.summary = "A Rails plugin to fill a PDF form using RJB and iText."
    gem.description = "PDF Filler makes it easy to file your PDFs."

    gem.authors  = ['Wes Hays', 'Darrne Johnson']
    gem.email    = ['weshays@gbdev.com', 'djohnson@gbdev.com']
    gem.homepage = 'http://wiki.github.com/gbdev/pdf-filler'

    gem.has_rdoc = true
    gem.rdoc_options << '--title' << gem.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
    gem.extra_rdoc_files = ['README.rdoc']

    gem.files = ['LICENSE', 
                 'README.rdoc',
                 'Rakefile',
                 'init.rb',
                 'lib/iText-2.1.7.jar',
                 'lib/pdf_filler.rb',
                 'lib/pdf_filler/page.rb',
                 'lib/pdf_filler/book.rb',
                 'lib/pdf_filler/pdf_db_mapper',
                 'lib/pdf_filler/util_methods.rb',
                 'tasks/documentation.rake',
                 'tasks/build_gem.rake',
                 'spec/spec_helper.rb',
                 'spec/lib/pdf_page_spec.rb',
                 'spec/lib/pdf_book_spec.rb',
                 'spec/lib/pdf_db_mapper_spec.rb',
                 'spec/output',
                 'spec/templates/certificate_template.pdf']

    gem.test_files = ['spec/lib/pdf_page_spec.rb',
                      'spec/lib/pdf_book_spec.rb']    
    
    gem.add_dependency 'rjb', '>= 1.1.7'
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gbdev-pdf_filler-0.3.0 tasks/build_gem.rake
gbdev-pdf_filler-0.3.1 tasks/build_gem.rake