pdfs2pdf 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -2
- data/lib/pdfs2pdf/cli.rb +1 -3
- data/lib/pdfs2pdf/version.rb +1 -1
- data/pdfs2pdf.gemspec +6 -6
- metadata +89 -59
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/lib/pdfs2pdf/cli.rb
CHANGED
@@ -7,8 +7,6 @@ module Pdfs2Pdf
|
|
7
7
|
include AgileUtils::Options
|
8
8
|
include CodeLister
|
9
9
|
class CLI < Thor
|
10
|
-
using AgileUtils::HashExt
|
11
|
-
|
12
10
|
# rubocop:disable AmbiguousOperator
|
13
11
|
desc "merge", "Combine multiple pdfs into one file with combined table of content"
|
14
12
|
method_option *AgileUtils::Options::BASE_DIR
|
@@ -57,7 +55,7 @@ Combine multiple pdfs into one file with combined table of content
|
|
57
55
|
|
58
56
|
default_task :usage
|
59
57
|
|
60
|
-
|
58
|
+
private
|
61
59
|
|
62
60
|
def create_pdfmarks(page_list, base_dir)
|
63
61
|
elapsed = AgileUtils::FileUtil.time do
|
data/lib/pdfs2pdf/version.rb
CHANGED
data/pdfs2pdf.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = %q(Combine multiple pdf files into a single pdf with combined table of content for quick navigation)
|
12
12
|
spec.description = %q(Combine multiple pdf files into a single file with combined table of content for quick navigation)
|
13
13
|
spec.homepage = "https://github.com/agilecreativity/pdfs2pdf"
|
14
|
-
spec.required_ruby_version = ">=
|
14
|
+
spec.required_ruby_version = ">= 1.9.3"
|
15
15
|
spec.license = "MIT"
|
16
16
|
spec.files = Dir.glob("{bin,lib,config}/**/*") + %w[Gemfile
|
17
17
|
Rakefile
|
@@ -26,15 +26,15 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_runtime_dependency "thor", "~> 0.19.1"
|
29
|
-
spec.add_runtime_dependency "agile_utils", "~> 0.2.
|
30
|
-
spec.add_runtime_dependency "code_lister", "~> 0.2.
|
29
|
+
spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
|
30
|
+
spec.add_runtime_dependency "code_lister", "~> 0.2.2"
|
31
31
|
spec.add_runtime_dependency "pdf-reader", "~> 1.3.3"
|
32
32
|
|
33
33
|
spec.add_development_dependency "awesome_print", "~> 1.2.0"
|
34
|
-
spec.add_development_dependency "bundler", "~> 1.
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.7.0"
|
35
35
|
spec.add_development_dependency "gem-ctags", "~> 1.0.6"
|
36
|
-
spec.add_development_dependency "guard-minitest", "~> 2.
|
37
|
-
spec.add_development_dependency "minitest", "~> 5.
|
36
|
+
spec.add_development_dependency "guard-minitest", "~> 2.3.1"
|
37
|
+
spec.add_development_dependency "minitest", "~> 5.4.0"
|
38
38
|
spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
|
39
39
|
spec.add_development_dependency "pry", "~> 0.10.0"
|
40
40
|
spec.add_development_dependency "rake", "~> 10.3.2"
|
metadata
CHANGED
@@ -1,209 +1,238 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdfs2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Burin Choomnuan
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: thor
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 0.19.1
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.19.1
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: agile_utils
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
37
|
+
version: 0.2.2
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
45
|
+
version: 0.2.2
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: code_lister
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.2.
|
53
|
+
version: 0.2.2
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.2.
|
61
|
+
version: 0.2.2
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: pdf-reader
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: 1.3.3
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: 1.3.3
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: awesome_print
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: 1.2.0
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: 1.2.0
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: bundler
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- -
|
99
|
+
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
101
|
+
version: 1.7.0
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- -
|
107
|
+
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
109
|
+
version: 1.7.0
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: gem-ctags
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: 1.0.6
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
|
-
- -
|
123
|
+
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: 1.0.6
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: guard-minitest
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- -
|
131
|
+
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
133
|
+
version: 2.3.1
|
118
134
|
type: :development
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
|
-
- -
|
139
|
+
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
141
|
+
version: 2.3.1
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: minitest
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- -
|
147
|
+
- - ~>
|
130
148
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
149
|
+
version: 5.4.0
|
132
150
|
type: :development
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- -
|
155
|
+
- - ~>
|
137
156
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
157
|
+
version: 5.4.0
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: minitest-spec-context
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
|
-
- -
|
163
|
+
- - ~>
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: 0.0.3
|
146
166
|
type: :development
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
|
-
- -
|
171
|
+
- - ~>
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: 0.0.3
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: pry
|
155
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
156
178
|
requirements:
|
157
|
-
- -
|
179
|
+
- - ~>
|
158
180
|
- !ruby/object:Gem::Version
|
159
181
|
version: 0.10.0
|
160
182
|
type: :development
|
161
183
|
prerelease: false
|
162
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
163
186
|
requirements:
|
164
|
-
- -
|
187
|
+
- - ~>
|
165
188
|
- !ruby/object:Gem::Version
|
166
189
|
version: 0.10.0
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: rake
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
|
-
- -
|
195
|
+
- - ~>
|
172
196
|
- !ruby/object:Gem::Version
|
173
197
|
version: 10.3.2
|
174
198
|
type: :development
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
177
202
|
requirements:
|
178
|
-
- -
|
203
|
+
- - ~>
|
179
204
|
- !ruby/object:Gem::Version
|
180
205
|
version: 10.3.2
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: rubocop
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
|
-
- -
|
211
|
+
- - ~>
|
186
212
|
- !ruby/object:Gem::Version
|
187
213
|
version: 0.24.1
|
188
214
|
type: :development
|
189
215
|
prerelease: false
|
190
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
191
218
|
requirements:
|
192
|
-
- -
|
219
|
+
- - ~>
|
193
220
|
- !ruby/object:Gem::Version
|
194
221
|
version: 0.24.1
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: yard
|
197
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
198
226
|
requirements:
|
199
|
-
- -
|
227
|
+
- - ~>
|
200
228
|
- !ruby/object:Gem::Version
|
201
229
|
version: 0.8.7
|
202
230
|
type: :development
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
205
234
|
requirements:
|
206
|
-
- -
|
235
|
+
- - ~>
|
207
236
|
- !ruby/object:Gem::Version
|
208
237
|
version: 0.8.7
|
209
238
|
description: Combine multiple pdf files into a single file with combined table of
|
@@ -215,21 +244,21 @@ executables:
|
|
215
244
|
extensions: []
|
216
245
|
extra_rdoc_files: []
|
217
246
|
files:
|
218
|
-
- ".gitignore"
|
219
|
-
- ".rubocop.yml"
|
220
|
-
- CHANGELOG.md
|
221
|
-
- Gemfile
|
222
|
-
- LICENSE
|
223
|
-
- README.md
|
224
|
-
- Rakefile
|
225
247
|
- bin/pdfs2pdf
|
226
|
-
- config/initializers/pdfs2pdf.rb
|
227
|
-
- lib/pdfs2pdf.rb
|
228
248
|
- lib/pdfs2pdf/cli.rb
|
229
249
|
- lib/pdfs2pdf/configuration.rb
|
230
250
|
- lib/pdfs2pdf/pdfs2pdf.rb
|
231
251
|
- lib/pdfs2pdf/version.rb
|
252
|
+
- lib/pdfs2pdf.rb
|
253
|
+
- config/initializers/pdfs2pdf.rb
|
254
|
+
- Gemfile
|
255
|
+
- Rakefile
|
232
256
|
- pdfs2pdf.gemspec
|
257
|
+
- README.md
|
258
|
+
- CHANGELOG.md
|
259
|
+
- LICENSE
|
260
|
+
- .rubocop.yml
|
261
|
+
- .gitignore
|
233
262
|
- test/fixtures/samples/demo1_xxx.rb.xhtml.pdf
|
234
263
|
- test/fixtures/samples/demo2_xxx.rb.xhtml.pdf
|
235
264
|
- test/fixtures/samples/sub_dir/demo3_xxx.rb.xhtml.pdf
|
@@ -239,33 +268,34 @@ files:
|
|
239
268
|
homepage: https://github.com/agilecreativity/pdfs2pdf
|
240
269
|
licenses:
|
241
270
|
- MIT
|
242
|
-
metadata: {}
|
243
271
|
post_install_message:
|
244
272
|
rdoc_options: []
|
245
273
|
require_paths:
|
246
274
|
- lib
|
247
275
|
required_ruby_version: !ruby/object:Gem::Requirement
|
276
|
+
none: false
|
248
277
|
requirements:
|
249
|
-
- -
|
278
|
+
- - ! '>='
|
250
279
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
280
|
+
version: 1.9.3
|
252
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
|
+
none: false
|
253
283
|
requirements:
|
254
|
-
- -
|
284
|
+
- - ! '>='
|
255
285
|
- !ruby/object:Gem::Version
|
256
286
|
version: '0'
|
257
287
|
requirements: []
|
258
288
|
rubyforge_project:
|
259
|
-
rubygems_version:
|
289
|
+
rubygems_version: 1.8.23.2
|
260
290
|
signing_key:
|
261
|
-
specification_version:
|
291
|
+
specification_version: 3
|
262
292
|
summary: Combine multiple pdf files into a single pdf with combined table of content
|
263
293
|
for quick navigation
|
264
294
|
test_files:
|
265
|
-
- test/
|
266
|
-
- test/test_helper.rb
|
295
|
+
- test/fixtures/samples/demo1_xxx.rb.xhtml.pdf
|
267
296
|
- test/fixtures/samples/demo2_xxx.rb.xhtml.pdf
|
268
|
-
- test/fixtures/samples/sub_dir/demo4_xxx.rb.xhtml.pdf
|
269
297
|
- test/fixtures/samples/sub_dir/demo3_xxx.rb.xhtml.pdf
|
270
|
-
- test/fixtures/samples/
|
298
|
+
- test/fixtures/samples/sub_dir/demo4_xxx.rb.xhtml.pdf
|
299
|
+
- test/lib/pdfs2pdf/test_pdfs2pdf.rb
|
300
|
+
- test/test_helper.rb
|
271
301
|
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: f2b57ff98b02b76f572a08977b86c829c9c39aca
|
4
|
-
data.tar.gz: 507a2cc072b5b5b318eab5bf6fef5e6c35164140
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 69aef52d5b7958cc0378bb29afb66b8b6c4213f8a3a4a0ae4ae0c06be5b194bd1baf0964363ae6b74f869365f9d9cbf6abb0eb84340e8c776a980c91a1313f00
|
7
|
-
data.tar.gz: dc9a0c5c0b746db4680416be85067d849e1dc55dbef6a8805dbf7764d594fbc289df6b19424290c07ab485f959523c479345297ef2cf8196b699fc0983532331
|