Sha256: 915060f62e45bb3764468ffef62232bd3deec1cbbc797ac7e3873d32eb3752ab

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ezprint"
    gem.summary = %Q{A Rails wrapper for the PDFkit library. Meant to be a drop in replacement for princely.}
    gem.description = %Q{A Rails wrapper for the PDFkit library. Meant to be a drop in replacement for princely.}
    gem.email = "jstewart@fusionary.com"
    gem.homepage = "http://github.com/jstewart/ezprint"
    gem.authors = ["Jason Stewart"]
    gem.add_dependency 'pdfkit', '>=0.4.1'
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "ezprint #{version}"
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ezprint-0.2.2 Rakefile
ezprint-0.2.1 Rakefile
ezprint-0.2.0 Rakefile
ezprint-0.1.2 Rakefile
ezprint-0.1.1 Rakefile