propaganda 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/propaganda/fop/shell.rb +1 -2
- data/lib/propaganda/renderer.rb +3 -1
- data/test/samples/sample.pdf +0 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/lib/propaganda/fop/shell.rb
CHANGED
@@ -15,14 +15,13 @@ module Propaganda
|
|
15
15
|
stdin, stdout, stderr = Open3.popen3(command)
|
16
16
|
@errors = stderr.read
|
17
17
|
@output = stdout.read
|
18
|
-
raise "Could not invoke: #{@errors}" unless @errors.blank?
|
19
18
|
@output
|
20
19
|
end
|
21
20
|
end
|
22
21
|
|
23
22
|
private
|
24
23
|
|
25
|
-
def
|
24
|
+
def jarpath
|
26
25
|
path = File.join(File.dirname(__FILE__), '..', '..', '..', 'java')
|
27
26
|
File.expand_path(File.join(path, 'fop.jar'))
|
28
27
|
end
|
data/lib/propaganda/renderer.rb
CHANGED
data/test/samples/sample.pdf
CHANGED
Binary file
|