Skip to content

Commit

Permalink
Merge pull request prawnpdf#38 from johnnyshields/fix-require
Browse files Browse the repository at this point in the history
Move require "prawn" into the main prawn-table file.
  • Loading branch information
practicingruby committed Jan 4, 2015
2 parents 63534f9 + bb1a70d commit 32cbbc1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/prawn/table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# This is free software. Please see the LICENSE and COPYING files for details.


require 'prawn'
require_relative 'table/column_width_calculator'
require_relative 'table/cell'
require_relative 'table/cells'
Expand Down
2 changes: 1 addition & 1 deletion prawn-table.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.rubyforge_project = "prawn"
spec.licenses = ['RUBY', 'GPL-2', 'GPL-3']

spec.add_development_dependency('prawn', '>= 1.3.0', '< 3.0.0')
spec.add_dependency('prawn', '>= 1.3.0', '< 3.0.0')
spec.add_development_dependency('pdf-inspector', '~> 1.1.0')
spec.add_development_dependency('yard')
spec.add_development_dependency('rspec', '2.14.1')
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
end
end

require "prawn"
require_relative "../lib/prawn/table"

Prawn.debug = true
Expand Down

0 comments on commit 32cbbc1

Please sign in to comment.