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 CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 161367b79bc53f4deacdd85f5b9435d0255bfe72
4
- data.tar.gz: d39a7733ea5b4f47de54d720df2099ea099e7cb6
5
- SHA512:
6
- metadata.gz: 8ace2ae419559605f69675a38cb03c3b619db03d4a36f4af123ec38f04580a12e72187d2cf14c011ad3e07fc6aea0eda4da1d8b9ed9467417aa02fae7bc8f290
7
- data.tar.gz: 1e1a5ae03acb642685f77cc0b2d4d06c7e280635b94631bf9e2daa136d57a2f55f26d43e7f7ad0a8fa0eeeb2353967d14af81c1a6fec30fe10306bb31e65eb8d
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a670eb574c8db2ae32050bd37914f7fab44e0f83
4
+ data.tar.gz: 28a51189a5b4a30ff20db4d73404a666583adfec
5
+ SHA512:
6
+ metadata.gz: 0ed2055069214b357ce9a6efee7068182b3f5cd6d26c52da5f10d9c3dafce1fcef991b58768d3176ec5a3a748299c98522cc3f094925f77b57a56ecf7e168af1
7
+ data.tar.gz: 1f871f455ceda0ca8718dca9b6e33bbc671d30371cfa60db94755f782722523ebbbb2e0b3dc4cbe85313ec5ea30aed508e41963af83f7a43cd6c99d71d0546d8
@@ -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
- puts `java -verbose:classes -cp #{jars} org.documentcloud.pdftailor.PdfTailor #{ARGV.join(' ')}`.chomp
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.4";
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" +
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pdftailor'
3
- s.version = '0.0.4'
3
+ s.version = '0.0.5'
4
4
  s.date = '2014-01-19'
5
5
 
6
6
  s.summary = "Stitching and unstitching for PDFs"
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.4
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
- date: 2014-01-19 00:00:00.000000000 Z
11
+
12
+ date: 2014-01-19 00:00:00 Z
12
13
  dependencies: []
13
- description: |2
14
- Stitching and unstitching for PDFs. A java library delivered via ruby out of convenience.
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
- files:
21
- - bin/pdftailor
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
- post_install_message:
42
+
43
+ post_install_message:
40
44
  rdoc_options: []
41
- require_paths:
45
+
46
+ require_paths:
42
47
  - lib
43
- required_ruby_version: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- required_rubygems_version: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - '>='
51
- - !ruby/object:Gem::Version
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
- rubyforge_project:
55
- rubygems_version: 2.2.1
56
- signing_key:
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
+