pdf-core 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/pdf/core.rb +35 -0
- data/lib/pdf/core/annotations.rb +60 -0
- data/lib/pdf/core/byte_string.rb +9 -0
- data/lib/pdf/core/destinations.rb +90 -0
- data/lib/pdf/core/document_state.rb +78 -0
- data/lib/pdf/core/filter_list.rb +51 -0
- data/lib/pdf/core/filters.rb +36 -0
- data/lib/pdf/core/graphics_state.rb +68 -0
- data/lib/pdf/core/literal_string.rb +16 -0
- data/lib/pdf/core/name_tree.rb +177 -0
- data/lib/pdf/core/object_store.rb +308 -0
- data/lib/pdf/core/outline.rb +315 -0
- data/lib/pdf/core/page.rb +212 -0
- data/lib/pdf/core/page_geometry.rb +126 -0
- data/lib/pdf/core/pdf_object.rb +99 -0
- data/lib/pdf/core/reference.rb +103 -0
- data/lib/pdf/core/stream.rb +98 -0
- data/lib/pdf/core/text.rb +275 -0
- data/pdf-core.gemspec +26 -0
- metadata +140 -0
data/pdf-core.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "pdf-core"
|
3
|
+
spec.version = File.read(File.expand_path('VERSION', File.dirname(__FILE__))).strip
|
4
|
+
spec.platform = Gem::Platform::RUBY
|
5
|
+
spec.summary = "PDF::Core is used by Prawn to render PDF documents"
|
6
|
+
spec.files = Dir.glob("{lib}/**/**/*") +
|
7
|
+
["pdf-core.gemspec"]
|
8
|
+
spec.require_path = "lib"
|
9
|
+
spec.required_ruby_version = '>= 1.9.3'
|
10
|
+
spec.required_rubygems_version = ">= 1.3.6"
|
11
|
+
|
12
|
+
#spec.test_files = Dir[ "spec/*_spec.rb" ]
|
13
|
+
#spec.extra_rdoc_files = %w{README.md LICENSE COPYING GPLv2 GPLv3}
|
14
|
+
#spec.rdoc_options << '--title' << 'Prawn Documentation' <<
|
15
|
+
# '--main' << 'README.md' << '-q'
|
16
|
+
spec.authors = ["Gregory Brown","Brad Ediger","Daniel Nelson","Jonathan Greenberg","James Healy"]
|
17
|
+
spec.email = ["gregory.t.brown@gmail.com","brad@bradediger.com","dnelson@bluejade.com","greenberg@entryway.net","jimmy@deefa.com"]
|
18
|
+
spec.rubyforge_project = "prawn"
|
19
|
+
spec.add_dependency('pdf-reader', '~>1.2')
|
20
|
+
spec.add_dependency('ttfunk', '~>1.0.3')
|
21
|
+
spec.add_dependency('ruby-rc4')
|
22
|
+
spec.add_development_dependency('pdf-inspector', '~> 1.1.0')
|
23
|
+
spec.add_development_dependency('rdoc')
|
24
|
+
spec.homepage = "http://prawn.majesticseacreature.com"
|
25
|
+
spec.description = "PDF::Core is used by Prawn to render PDF documents"
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pdf-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gregory Brown
|
8
|
+
- Brad Ediger
|
9
|
+
- Daniel Nelson
|
10
|
+
- Jonathan Greenberg
|
11
|
+
- James Healy
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain: []
|
15
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: pdf-reader
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '1.2'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.2'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: ttfunk
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.0.3
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.0.3
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: ruby-rc4
|
47
|
+
requirement: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
type: :runtime
|
53
|
+
prerelease: false
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: pdf-inspector
|
61
|
+
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.1.0
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.1.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: rdoc
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
description: PDF::Core is used by Prawn to render PDF documents
|
88
|
+
email:
|
89
|
+
- gregory.t.brown@gmail.com
|
90
|
+
- brad@bradediger.com
|
91
|
+
- dnelson@bluejade.com
|
92
|
+
- greenberg@entryway.net
|
93
|
+
- jimmy@deefa.com
|
94
|
+
executables: []
|
95
|
+
extensions: []
|
96
|
+
extra_rdoc_files: []
|
97
|
+
files:
|
98
|
+
- lib/pdf/core/annotations.rb
|
99
|
+
- lib/pdf/core/byte_string.rb
|
100
|
+
- lib/pdf/core/destinations.rb
|
101
|
+
- lib/pdf/core/document_state.rb
|
102
|
+
- lib/pdf/core/filter_list.rb
|
103
|
+
- lib/pdf/core/filters.rb
|
104
|
+
- lib/pdf/core/graphics_state.rb
|
105
|
+
- lib/pdf/core/literal_string.rb
|
106
|
+
- lib/pdf/core/name_tree.rb
|
107
|
+
- lib/pdf/core/object_store.rb
|
108
|
+
- lib/pdf/core/outline.rb
|
109
|
+
- lib/pdf/core/page.rb
|
110
|
+
- lib/pdf/core/page_geometry.rb
|
111
|
+
- lib/pdf/core/pdf_object.rb
|
112
|
+
- lib/pdf/core/reference.rb
|
113
|
+
- lib/pdf/core/stream.rb
|
114
|
+
- lib/pdf/core/text.rb
|
115
|
+
- lib/pdf/core.rb
|
116
|
+
- pdf-core.gemspec
|
117
|
+
homepage: http://prawn.majesticseacreature.com
|
118
|
+
licenses: []
|
119
|
+
metadata: {}
|
120
|
+
post_install_message:
|
121
|
+
rdoc_options: []
|
122
|
+
require_paths:
|
123
|
+
- lib
|
124
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 1.9.3
|
129
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.3.6
|
134
|
+
requirements: []
|
135
|
+
rubyforge_project: prawn
|
136
|
+
rubygems_version: 2.0.14
|
137
|
+
signing_key:
|
138
|
+
specification_version: 4
|
139
|
+
summary: PDF::Core is used by Prawn to render PDF documents
|
140
|
+
test_files: []
|