require "rubygems" require "rake" require "rake/gempackagetask" # This is to be used to generate the prawn meta-gem only. You probably want to # build prawn-core unless you know exactly what you are doing, so do rake gem # instead. spec = Gem::Specification.new do |spec| spec.name = "prawn" <<<<<<< HEAD:meta/Rakefile spec.version = "0.5.1" spec.platform = Gem::Platform::RUBY spec.summary = "A fast and nimble PDF generator for Ruby" spec.add_dependency('prawn-core', '>= 0.5.1', '< 0.6') spec.add_dependency('prawn-layout', '>= 0.2.1') spec.add_dependency('prawn-format', '>= 0.2.1') ======= spec.version = "0.6.0.0" spec.platform = Gem::Platform::RUBY spec.summary = "A fast and nimble PDF generator for Ruby" spec.add_dependency('prawn-core', '>= 0.6.0.0', '< 0.7') spec.add_dependency('prawn-layout', '~> 0.2.0') spec.add_dependency('prawn-format', '~> 0.2.0') >>>>>>> dc2eb2adab2fe9f354c243ee57f6179f50decbde:meta/Rakefile spec.files = Dir.glob("lib/*") spec.require_path = "lib" spec.author = "Gregory Brown" spec.email = " gregory.t.brown@gmail.com" spec.rubyforge_project = "prawn" spec.homepage = "http://prawn.majesticseacreature.com" spec.description = "Prawn is a fast, tiny, and nimble PDF generator for Ruby" spec.post_install_message = %{ Welcome to Prawn, the best pure-Ruby PDF solution ever! This is version 0.5.1 For those coming from Prawn 0.4.x or earlier, note that this release has several API breaking changes as well as many new features. For details on what has changed, see: http://wiki.github.com/sandal/prawn/changelog If you have questions, contact us at: http://groups.google.com/group/prawn-ruby To submit a patch or report a bug: http://github.com/sandal/prawn Prawn is meant for experienced Ruby hackers, so if you are new to Ruby, you might want to wait until you've had some practice with the language before expecting Prawn to work for you. Things may change after 1.0, but for now if you're not ready to read source code and patch bugs or missing features yourself (with our help), Prawn might not be the right fit. But if you know what you're getting yourself into, enjoy! } end Rake::GemPackageTask.new(spec) do |pkg| pkg.need_zip = true pkg.need_tar = true end