Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Commit

Permalink
Bump to 0.0.10. Fix pdf-reader version to 1.0.0.rc1.
Browse files Browse the repository at this point in the history
Fix pdf-reader version to avoid API mismatch.
  • Loading branch information
kjw committed Dec 28, 2011
1 parent 1245311 commit 08d513d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/model/characters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def self.make_text_runs text, tj, state, render_state, page, page_number
def self.build_fonts page
fonts = {}
font_metrics = {}
page.fonts.each do |label, ref|
font = PDF::Reader::Font.new(page.objects, page.objects[ref])
page.fonts.each do |label, font_obj|
font = PDF::Reader::Font.new(page.objects, font_obj)
fonts[label] = font
font_metrics[label] = FontMetrics.new font
end
Expand Down
4 changes: 2 additions & 2 deletions pdf-extract.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Gem spec for pdf-extract.
Gem::Specification.new do |s|
s.name = "pdf-extract"
s.version = "0.0.9"
s.version = "0.0.10"
s.summary = "PDF content extraction tool and library."
s.files = Dir.glob("{bin,lib,data}/**/**/*")
s.executables << "pdf-extract"
Expand All @@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/CrossRef/pdfextract"
s.required_ruby_version = ">=1.9.1"

s.add_dependency 'pdf-reader', '>= 0.10.1'
s.add_dependency 'pdf-reader', '~> 1.0.0.rc1'
s.add_dependency 'nokogiri', '>= 1.5.0'
s.add_dependency 'rmagick', '>= 2.13.1'
s.add_dependency 'prawn', '>= 0.11.1'
Expand Down

0 comments on commit 08d513d

Please sign in to comment.