pdftailor 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -7
- data/bin/pdftailor +4 -1
- data/java/src/org/documentcloud/pdftailor/PdfTailor.java +1 -1
- data/pdftailor.gemspec +1 -1
- metadata +34 -28
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: a670eb574c8db2ae32050bd37914f7fab44e0f83
|
|
4
|
+
data.tar.gz: 28a51189a5b4a30ff20db4d73404a666583adfec
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0ed2055069214b357ce9a6efee7068182b3f5cd6d26c52da5f10d9c3dafce1fcef991b58768d3176ec5a3a748299c98522cc3f094925f77b57a56ecf7e168af1
|
|
7
|
+
data.tar.gz: 1f871f455ceda0ca8718dca9b6e33bbc671d30371cfa60db94755f782722523ebbbb2e0b3dc4cbe85313ec5ea30aed508e41963af83f7a43cd6c99d71d0546d8
|
data/bin/pdftailor
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
+
require 'shellwords'
|
|
4
|
+
|
|
3
5
|
here = File.dirname(__FILE__)
|
|
4
6
|
jar_path = File.expand_path(File.join(here, "..", "jars"))
|
|
5
7
|
jars = Dir.open(jar_path).select{ |name| name =~ /\.jar$/ }.map{ |jar| File.join(jar_path, jar) }.join(":")
|
|
6
|
-
|
|
8
|
+
cmd = "java -verbose:classes -cp #{jars} org.documentcloud.pdftailor.PdfTailor #{ARGV.map{ |arg| Shellwords.shellescape(arg) }.join(' ')}"
|
|
9
|
+
print `#{cmd}`.chomp
|
|
7
10
|
exit($? == 0)
|
|
@@ -50,7 +50,7 @@ public class PdfTailor {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
public static String VERSION = "0.0.
|
|
53
|
+
public static String VERSION = "0.0.5";
|
|
54
54
|
public static String USAGE_MESSAGE = "pdftailor stitches and unstitches pdfs.\n\n" +
|
|
55
55
|
"Version: " + VERSION + "\n\n" +
|
|
56
56
|
"Usage:\n" +
|
data/pdftailor.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,59 +1,65 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdftailor
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
|
-
authors:
|
|
6
|
+
authors:
|
|
7
7
|
- Ted Han
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
date: 2014-01-19 00:00:00 Z
|
|
12
13
|
dependencies: []
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
description: " Stitching and unstitching for PDFs. A java library delivered via ruby out of convenience.\n"
|
|
15
16
|
email: opensource@documentcloud.org
|
|
16
|
-
executables:
|
|
17
|
+
executables:
|
|
17
18
|
- pdftailor
|
|
18
19
|
extensions: []
|
|
20
|
+
|
|
19
21
|
extra_rdoc_files: []
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
|
|
23
|
+
files:
|
|
22
24
|
- jars/bcpkix-jdk15on-1.48.jar
|
|
23
25
|
- jars/bcprov-jdk15on-1.48.jar
|
|
24
26
|
- jars/itextpdf-5.3.4.jar
|
|
25
27
|
- jars/itextpdf-5.4.5.jar
|
|
26
28
|
- jars/jcommander-1.31-SNAPSHOT.jar
|
|
27
29
|
- jars/pdftailor.jar
|
|
30
|
+
- lib/pdftailor.rb
|
|
31
|
+
- bin/pdftailor
|
|
28
32
|
- java/src/META-INF/MANIFEST.MF
|
|
29
33
|
- java/src/org/documentcloud/pdftailor/PdfTailor$StitchCommand.class
|
|
30
34
|
- java/src/org/documentcloud/pdftailor/PdfTailor$UnstitchCommand.class
|
|
31
35
|
- java/src/org/documentcloud/pdftailor/PdfTailor.class
|
|
32
36
|
- java/src/org/documentcloud/pdftailor/PdfTailor.java
|
|
33
|
-
- lib/pdftailor.rb
|
|
34
37
|
- pdftailor.gemspec
|
|
35
38
|
homepage: http://documentcloud.github.io/pdftailor
|
|
36
|
-
licenses:
|
|
39
|
+
licenses:
|
|
37
40
|
- MIT
|
|
38
41
|
metadata: {}
|
|
39
|
-
|
|
42
|
+
|
|
43
|
+
post_install_message:
|
|
40
44
|
rdoc_options: []
|
|
41
|
-
|
|
45
|
+
|
|
46
|
+
require_paths:
|
|
42
47
|
- lib
|
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
version: '0'
|
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
|
+
requirements:
|
|
50
|
+
- &id001
|
|
51
|
+
- ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: "0"
|
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- *id001
|
|
53
57
|
requirements: []
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
58
|
+
|
|
59
|
+
rubyforge_project:
|
|
60
|
+
rubygems_version: 2.0.13
|
|
61
|
+
signing_key:
|
|
57
62
|
specification_version: 4
|
|
58
63
|
summary: Stitching and unstitching for PDFs
|
|
59
64
|
test_files: []
|
|
65
|
+
|