Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change require for helper scripts

The 'prawn' gem isn't actually needed.  If prawn-core and
prawn-layout are both present, everything works fine...except
that the helper files insist on loading prawn-core via prawn.
  • Loading branch information...
commit d279b5523706d4dbedb0d6751227bd11a936ceb9 1 parent 45331b4
Brett Neumeier authored

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  examples/example_helper.rb
  2. +1 1  spec/spec_helper.rb
2  examples/example_helper.rb
... ... @@ -1,6 +1,6 @@
1 1 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2 2 require "rubygems"
3   -require "prawn"
  3 +require "prawn/core"
4 4 require "prawn/layout"
5 5
6 6 Prawn.debug = true
2  spec/spec_helper.rb
@@ -7,7 +7,7 @@
7 7 require "mocha"
8 8 $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
9 9
10   -require "prawn"
  10 +require "prawn/core"
11 11 require "prawn/layout"
12 12 $LOAD_PATH << File.join(Prawn::BASEDIR, 'vendor','pdf-inspector','lib')
13 13

0 comments on commit d279b55

Please sign in to comment.
Something went wrong with that request. Please try again.