pdftailor 0.0.3 → 0.0.4
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 +4 -4
- data/bin/pdftailor +2 -1
- data/jars/pdftailor.jar +0 -0
- data/java/src/org/documentcloud/pdftailor/PdfTailor$UnstitchCommand.class +0 -0
- data/java/src/org/documentcloud/pdftailor/PdfTailor.class +0 -0
- data/java/src/org/documentcloud/pdftailor/PdfTailor.java +2 -1
- data/pdftailor.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 161367b79bc53f4deacdd85f5b9435d0255bfe72
|
|
4
|
+
data.tar.gz: d39a7733ea5b4f47de54d720df2099ea099e7cb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ace2ae419559605f69675a38cb03c3b619db03d4a36f4af123ec38f04580a12e72187d2cf14c011ad3e07fc6aea0eda4da1d8b9ed9467417aa02fae7bc8f290
|
|
7
|
+
data.tar.gz: 1e1a5ae03acb642685f77cc0b2d4d06c7e280635b94631bf9e2daa136d57a2f55f26d43e7f7ad0a8fa0eeeb2353967d14af81c1a6fec30fe10306bb31e65eb8d
|
data/bin/pdftailor
CHANGED
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
here = File.dirname(__FILE__)
|
|
4
4
|
jar_path = File.expand_path(File.join(here, "..", "jars"))
|
|
5
5
|
jars = Dir.open(jar_path).select{ |name| name =~ /\.jar$/ }.map{ |jar| File.join(jar_path, jar) }.join(":")
|
|
6
|
-
puts `java -verbose:classes -cp #{jars} org.documentcloud.pdftailor.PdfTailor #{ARGV.join(' ')}
|
|
6
|
+
puts `java -verbose:classes -cp #{jars} org.documentcloud.pdftailor.PdfTailor #{ARGV.join(' ')}`.chomp
|
|
7
|
+
exit($? == 0)
|
data/jars/pdftailor.jar
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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.4";
|
|
54
54
|
public static String USAGE_MESSAGE = "pdftailor stitches and unstitches pdfs.\n\n" +
|
|
55
55
|
"Version: " + VERSION + "\n\n" +
|
|
56
56
|
"Usage:\n" +
|
|
@@ -114,6 +114,7 @@ public class PdfTailor {
|
|
|
114
114
|
try {
|
|
115
115
|
reader = new PdfReader(readerPath);
|
|
116
116
|
} catch (BadPasswordException e) {
|
|
117
|
+
System.out.println("Error: Encrypted PDF");
|
|
117
118
|
System.exit(1);
|
|
118
119
|
}
|
|
119
120
|
|
data/pdftailor.gemspec
CHANGED