pdf-core 0.8.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/lib/pdf/core/annotations.rb +51 -13
- data/lib/pdf/core/byte_string.rb +3 -2
- data/lib/pdf/core/destinations.rb +64 -24
- data/lib/pdf/core/document_state.rb +100 -17
- data/lib/pdf/core/filter_list.rb +44 -5
- data/lib/pdf/core/filters.rb +26 -7
- data/lib/pdf/core/graphics_state.rb +74 -30
- data/lib/pdf/core/literal_string.rb +9 -10
- data/lib/pdf/core/name_tree.rb +76 -16
- data/lib/pdf/core/object_store.rb +69 -19
- data/lib/pdf/core/outline_item.rb +53 -5
- data/lib/pdf/core/outline_root.rb +18 -2
- data/lib/pdf/core/page.rb +158 -32
- data/lib/pdf/core/page_geometry.rb +4 -58
- data/lib/pdf/core/pdf_object.rb +62 -37
- data/lib/pdf/core/reference.rb +58 -15
- data/lib/pdf/core/renderer.rb +116 -47
- data/lib/pdf/core/stream.rb +43 -7
- data/lib/pdf/core/text.rb +255 -106
- data/lib/pdf/core/utils.rb +10 -1
- data/lib/pdf/core.rb +26 -16
- data/pdf-core.gemspec +31 -27
- data.tar.gz.sig +0 -0
- metadata +36 -101
- metadata.gz.sig +2 -1
- data/Gemfile +0 -5
- data/Rakefile +0 -17
metadata
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Alexander Mankuta
|
7
8
|
- Gregory Brown
|
8
9
|
- Brad Ediger
|
9
10
|
- Daniel Nelson
|
10
11
|
- Jonathan Greenberg
|
11
12
|
- James Healy
|
12
|
-
autorequire:
|
13
|
+
autorequire:
|
13
14
|
bindir: bin
|
14
15
|
cert_chain:
|
15
16
|
- |
|
16
17
|
-----BEGIN CERTIFICATE-----
|
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hpH3rWE070SH3PYfDKnzKewBn4KBLg2fGKm1HqsO
|
32
|
+
UqvUp1HP0VdAUHTf3JsOaYg24GIN8f4Q6rIekG6C6z/MLkVLPHjh57y4jfdJkFMP
|
33
|
+
LrBc0vY9enBMXykQjvnq1R4lD+2RkaAE2KwrjIPtPQR1mo9hPJvjWhvM+th1pk6E
|
34
|
+
j+VZOY/0o89hstamSTBkvSK+kX7LhSX7ELlldyjQqPR1ZMmnznv2+1mVl733TfRl
|
35
|
+
G3y/80js
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: bundler
|
41
|
-
requirement: !ruby/object:Gem::Requirement
|
42
|
-
requirements:
|
43
|
-
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
type: :development
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: !ruby/object:Gem::Requirement
|
49
|
-
requirements:
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0'
|
53
39
|
- !ruby/object:Gem::Dependency
|
54
40
|
name: pdf-inspector
|
55
41
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,77 +65,23 @@ dependencies:
|
|
79
65
|
- !ruby/object:Gem::Version
|
80
66
|
version: '1.2'
|
81
67
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - ">="
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '0'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rspec
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - ">="
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - ">="
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: rubocop
|
68
|
+
name: prawn-dev
|
111
69
|
requirement: !ruby/object:Gem::Requirement
|
112
70
|
requirements:
|
113
71
|
- - "~>"
|
114
72
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
73
|
+
version: 0.4.0
|
116
74
|
type: :development
|
117
75
|
prerelease: false
|
118
76
|
version_requirements: !ruby/object:Gem::Requirement
|
119
77
|
requirements:
|
120
78
|
- - "~>"
|
121
79
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
123
|
-
|
124
|
-
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '1.25'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '1.25'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: simplecov
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
151
|
-
description: PDF::Core is used by Prawn to render PDF documents
|
80
|
+
version: 0.4.0
|
81
|
+
description: PDF::Core is used by Prawn to render PDF documents. It provides low-level
|
82
|
+
format support.
|
152
83
|
email:
|
84
|
+
- alex@pointless.one
|
153
85
|
- gregory.t.brown@gmail.com
|
154
86
|
- brad@bradediger.com
|
155
87
|
- dnelson@bluejade.com
|
@@ -162,9 +94,7 @@ files:
|
|
162
94
|
- COPYING
|
163
95
|
- GPLv2
|
164
96
|
- GPLv3
|
165
|
-
- Gemfile
|
166
97
|
- LICENSE
|
167
|
-
- Rakefile
|
168
98
|
- lib/pdf/core.rb
|
169
99
|
- lib/pdf/core/annotations.rb
|
170
100
|
- lib/pdf/core/byte_string.rb
|
@@ -187,13 +117,19 @@ files:
|
|
187
117
|
- lib/pdf/core/text.rb
|
188
118
|
- lib/pdf/core/utils.rb
|
189
119
|
- pdf-core.gemspec
|
190
|
-
homepage: http://
|
120
|
+
homepage: http://prawnpdf.org/
|
191
121
|
licenses:
|
192
|
-
-
|
193
|
-
- GPL-2.0
|
194
|
-
- GPL-3.0
|
195
|
-
metadata:
|
196
|
-
|
122
|
+
- Nonstandard
|
123
|
+
- GPL-2.0-only
|
124
|
+
- GPL-3.0-only
|
125
|
+
metadata:
|
126
|
+
rubygems_mfa_required: 'true'
|
127
|
+
homepage_uri: http://prawnpdf.org/
|
128
|
+
changelog_uri: https://github.com/prawnpdf/pdf-core/blob/0.10.0/CHANGELOG.md
|
129
|
+
source_code_uri: https://github.com/prawnpdf/pdf-core
|
130
|
+
documentation_uri: https://prawnpdf.org/docs/pdf-core/0.10.0/
|
131
|
+
bug_tracker_uri: https://github.com/prawnpdf/pdf-core/issues
|
132
|
+
post_install_message:
|
197
133
|
rdoc_options: []
|
198
134
|
require_paths:
|
199
135
|
- lib
|
@@ -201,16 +137,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
137
|
requirements:
|
202
138
|
- - ">="
|
203
139
|
- !ruby/object:Gem::Version
|
204
|
-
version: '2.
|
140
|
+
version: '2.7'
|
205
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
142
|
requirements:
|
207
143
|
- - ">="
|
208
144
|
- !ruby/object:Gem::Version
|
209
145
|
version: 1.3.6
|
210
146
|
requirements: []
|
211
|
-
|
212
|
-
|
213
|
-
signing_key:
|
147
|
+
rubygems_version: 3.5.3
|
148
|
+
signing_key:
|
214
149
|
specification_version: 4
|
215
|
-
summary:
|
150
|
+
summary: Low level PDF generator.
|
216
151
|
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
v>e#��\1�"ͼ�非�����i�c��|I�J��wܐV���S�Ǎ& � YkS��q�1I�}፫��aS�
|
2
|
+
緅���F��J�[���W�Cw�=(�da��eMu~sc~�����'O��=�S
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler'
|
4
|
-
Bundler.setup
|
5
|
-
|
6
|
-
require 'rake'
|
7
|
-
require 'rspec/core/rake_task'
|
8
|
-
|
9
|
-
task default: %i[spec rubocop]
|
10
|
-
|
11
|
-
desc 'Run all rspec files'
|
12
|
-
RSpec::Core::RakeTask.new('spec') do |c|
|
13
|
-
c.rspec_opts = '-t ~unresolved'
|
14
|
-
end
|
15
|
-
|
16
|
-
require 'rubocop/rake_task'
|
17
|
-
RuboCop::RakeTask.new
|