poppler 0.90.8 → 0.90.9
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +7 -0
- data/test/poppler-test-utils.rb +7 -0
- data/test/test_page.rb +3 -0
- metadata +9 -11
data/ChangeLog
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
2011-05-06 Kouhei Sutou <kou@cozmixng.org>
|
2
|
+
|
3
|
+
* test/poppler-test-utils.rb: ignore tests for GdkPixbuf
|
4
|
+
integration on Poppler >= 0.17.0 because Poppler >= 0.17.0 drops
|
5
|
+
GdkPixbuf support. #3292118
|
6
|
+
Reported by Mamoru Tasaka. Thanks!!!
|
7
|
+
|
1
8
|
2011-01-30 Kouhei Sutou <kou@cozmixng.org>
|
2
9
|
|
3
10
|
* Rakefile, ext/poppler/extconf.rb: share depended packages
|
data/test/poppler-test-utils.rb
CHANGED
@@ -44,4 +44,11 @@ module PopplerTestUtils
|
|
44
44
|
omit("Require Poppler >= #{major}.#{minor}.#{micro}")
|
45
45
|
end
|
46
46
|
end
|
47
|
+
|
48
|
+
def only_old_poppler_version(major, minor, micro=nil)
|
49
|
+
micro ||= 0
|
50
|
+
if later_version?(major, minor, micro)
|
51
|
+
omit("Require Poppler < #{major}.#{minor}.#{micro}")
|
52
|
+
end
|
53
|
+
end
|
47
54
|
end
|
data/test/test_page.rb
CHANGED
@@ -11,6 +11,8 @@ class TestPage < Test::Unit::TestCase
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_render_to_pixbuf
|
14
|
+
only_old_poppler_version(0, 17, 0)
|
15
|
+
|
14
16
|
document = Poppler::Document.new(image_pdf)
|
15
17
|
page = document[0]
|
16
18
|
width, height = page.size
|
@@ -24,6 +26,7 @@ class TestPage < Test::Unit::TestCase
|
|
24
26
|
|
25
27
|
def test_render_to_pixbuf_for_printing
|
26
28
|
only_poppler_version(0, 7, 2)
|
29
|
+
only_old_poppler_version(0, 17, 0)
|
27
30
|
|
28
31
|
document = Poppler::Document.new(image_pdf)
|
29
32
|
page = document[0]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poppler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 357
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 90
|
9
|
-
-
|
10
|
-
version: 0.90.
|
9
|
+
- 9
|
10
|
+
version: 0.90.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- The Ruby-GNOME2 Proejct Team
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-06-11 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: gtk2
|
@@ -26,12 +25,12 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
28
|
+
hash: 357
|
30
29
|
segments:
|
31
30
|
- 0
|
32
31
|
- 90
|
33
|
-
-
|
34
|
-
version: 0.90.
|
32
|
+
- 9
|
33
|
+
version: 0.90.9
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
description: Ruby/Poppler is a Ruby binding of poppler-glib.
|
@@ -74,7 +73,6 @@ files:
|
|
74
73
|
- test/test_color.rb
|
75
74
|
- test/test_constants.rb
|
76
75
|
- test/test_annotation.rb
|
77
|
-
has_rdoc: true
|
78
76
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
79
77
|
licenses: []
|
80
78
|
|
@@ -106,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
104
|
requirements: []
|
107
105
|
|
108
106
|
rubyforge_project:
|
109
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.7.2
|
110
108
|
signing_key:
|
111
109
|
specification_version: 3
|
112
110
|
summary: Ruby/Poppler is a Ruby binding of poppler-glib.
|