pdftailor 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db3c469fc269a2bfc7eb0f8051633adf731f4675
4
- data.tar.gz: 340844095c36382b98300084ae962bc30497ab0d
3
+ metadata.gz: 161367b79bc53f4deacdd85f5b9435d0255bfe72
4
+ data.tar.gz: d39a7733ea5b4f47de54d720df2099ea099e7cb6
5
5
  SHA512:
6
- metadata.gz: 12c923c8ca121179e1039a1470fc94f1988f6880851448f6da84bbeb17f36366490f7a9a77ea63ead9c685303f4cfdf58a8157fe4a58795d3d92c4d9b7def921
7
- data.tar.gz: ada1dbe2cd455efa2520418d7be4241cec7ab08ce66207f3f1220cfb8be8315bddf318a1e3fef11339a101402152175ccb641d6c6d7ba164977dd5906cbcd6ae
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
@@ -50,7 +50,7 @@ public class PdfTailor {
50
50
  }
51
51
  }
52
52
 
53
- public static String VERSION = "0.0.3";
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pdftailor'
3
- s.version = '0.0.3'
3
+ s.version = '0.0.4'
4
4
  s.date = '2014-01-19'
5
5
 
6
6
  s.summary = "Stitching and unstitching for PDFs"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdftailor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Han