pdf-reader 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +8 -4
  2. data/Rakefile +1 -1
  3. data/lib/pdf/reader/content.rb +1 -1
  4. metadata +19 -9
data/CHANGELOG CHANGED
@@ -1,4 +1,8 @@
1
- v0.8.4 (XXX)
1
+ v0.8.5 (11th April 2010)
2
+ - fix a regression introduced in 0.8.4.
3
+ - Parameters passed to resource_font callback were inadvertently changed
4
+
5
+ v0.8.4 (30th March 2010)
2
6
  - fix parsing of files that use Form XObjects
3
7
  - thanks to Andrea Barisani for reporting the issue
4
8
  - fix two issues that caused a small number of characters to convert to Unicode
@@ -85,10 +89,10 @@ v0.7 (6th May 2008)
85
89
  - Added an option to PDF::Reader#file and PDF::Reader#string to enable parsing of only parts of a PDF file(ie. only metadata, etc)
86
90
 
87
91
  v0.6.2 (22nd March 2008)
88
- - Catch low level errors when applying filters to a content stream and raise a MalformedPDFError instead.
92
+ - Catch low level errors when applying filters to a content stream and raise a MalformedPDFError instead.
89
93
  - Added support for processing inline images
90
94
  - Support for parsing XRef tables that have multiple subsections
91
- - Added a few callbacks to improve the way we supply information on page resources
95
+ - Added a few callbacks to improve the way we supply information on page resources
92
96
  - Ignore whitespace in hex strings, as required by the spec (section 3.2.3)
93
97
  - Use our "unknown character box" when a single character in an Identity-H string fails to decode
94
98
  - Support ToUnicode CMaps that use the bfrange operator
@@ -97,7 +101,7 @@ v0.6.2 (22nd March 2008)
97
101
  v0.6.1 (12th March 2008)
98
102
  - Tweaked behaviour when we encounter Identity-H encoded text that doesn't have a ToUnicode mapping. We
99
103
  just replace each character with a little box.
100
- - Use the same little box when invalid characters are found in other encodings instead of throwing an ugly
104
+ - Use the same little box when invalid characters are found in other encodings instead of throwing an ugly
101
105
  NoMethodError.
102
106
  - Added a method to RegisterReceiver that returns all occurrences of a callback
103
107
 
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/testtask'
6
6
  require "rake/gempackagetask"
7
7
  require 'spec/rake/spectask'
8
8
 
9
- PKG_VERSION = "0.8.4"
9
+ PKG_VERSION = "0.8.5"
10
10
  PKG_NAME = "pdf-reader"
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
 
@@ -437,7 +437,7 @@ class PDF::Reader
437
437
  if resources[:Font]
438
438
  fonts = font_hash_from_resources(resources)
439
439
  fonts.each do |label, font|
440
- callback(:resource_font, [label, fonts])
440
+ callback(:resource_font, [label, font])
441
441
  end
442
442
  end
443
443
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 8
8
+ - 5
9
+ version: 0.8.5
5
10
  platform: ruby
6
11
  authors:
7
12
  - James Healy
@@ -9,19 +14,22 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-30 00:00:00 +05:30
17
+ date: 2010-04-11 00:00:00 +10:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: Ascii85
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 9
23
30
  version: "0.9"
24
- version:
31
+ type: :runtime
32
+ version_requirements: *id001
25
33
  description: The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe
26
34
  email: jimmy@deefa.com
27
35
  executables:
@@ -94,18 +102,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
102
  requirements:
95
103
  - - ">="
96
104
  - !ruby/object:Gem::Version
105
+ segments:
106
+ - 0
97
107
  version: "0"
98
- version:
99
108
  required_rubygems_version: !ruby/object:Gem::Requirement
100
109
  requirements:
101
110
  - - ">="
102
111
  - !ruby/object:Gem::Version
112
+ segments:
113
+ - 0
103
114
  version: "0"
104
- version:
105
115
  requirements: []
106
116
 
107
117
  rubyforge_project: pdf-reader
108
- rubygems_version: 1.3.5
118
+ rubygems_version: 1.3.6
109
119
  signing_key:
110
120
  specification_version: 3
111
121
  summary: A library for accessing the content of PDF files