Sha256: e93a990a8079f4636b79cc825a09a59414955ad4a1eb76f46630b70f02b9ab7f
Contents?: true
Size: 757 Bytes
Versions: 6
Compression:
Stored size: 757 Bytes
Contents
# encoding: utf-8 puts "Prawn specs: Running on Ruby Version: #{RUBY_VERSION}" require "rubygems" require "test/spec" require "mocha" $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') $LOAD_PATH << File.join(File.dirname(__FILE__), %w[.. vendor prawn-core lib]) require "prawn/core" require "prawn/layout" $LOAD_PATH << File.join(Prawn::BASEDIR, 'vendor','pdf-inspector','lib') Prawn.debug = true gem 'pdf-reader', ">=0.7.3" require "pdf/reader" require "pdf/inspector" def create_pdf(klass=Prawn::Document) @pdf = klass.new(:left_margin => 0, :right_margin => 0, :top_margin => 0, :bottom_margin => 0) end
Version data entries
6 entries across 6 versions & 2 rubygems