From 2d4d9c7c12beab838e9e07859f8bf3dac0ebfa64 Mon Sep 17 00:00:00 2001 From: Brad Ediger Date: Thu, 5 Nov 2009 15:19:58 -0600 Subject: [PATCH] Added gemspec for prawn-security 0.1.1 --- Rakefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Rakefile b/Rakefile index 071bc01..31be37b 100644 --- a/Rakefile +++ b/Rakefile @@ -4,6 +4,9 @@ require 'rake/testtask' require "rake/rdoctask" require "rake/gempackagetask" +# Version numbering: http://wiki.github.com/sandal/prawn/development-roadmap +PRAWN_SECURITY_VERSION = "0.1.1" + task :default => [:test] desc "Run all tests, test-spec and mocha required" @@ -32,3 +35,31 @@ task :examples do `mv *.pdf output` end +spec = Gem::Specification.new do |spec| + spec.name = "prawn-security" + spec.version = PRAWN_SECURITY_VERSION + spec.platform = Gem::Platform::RUBY + spec.summary = "Popular Password Protection & Permissions for Prawn PDFs" + spec.files = Dir.glob("{examples,lib,spec}/**/*") + + ["Rakefile"] + spec.require_path = "lib" + + spec.test_files = Dir[ "spec/*_spec.rb" ] + spec.has_rdoc = true + spec.extra_rdoc_files = %w{README LICENSE COPYING} + spec.rdoc_options << '--title' << 'Prawn/Security Documentation' << + '--main' << 'README' << '-q' + spec.author = "Brad Ediger" + spec.email = "brad.ediger@madriska.com" + spec.rubyforge_project = "prawn-security" + spec.homepage = "http://github.com/madriska/prawn-security/" + spec.description = <