rghost 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rghost.rb +1 -1
- data/lib/rghost/ruby_ghost_config.rb +1 -0
- data/lib/rghost/ruby_ghost_engine.rb +1 -3
- metadata +23 -38
data/lib/rghost.rb
CHANGED
@@ -67,13 +67,10 @@ class RGhost::Engine
|
|
67
67
|
#@delete_input=false unless @options[:debug]
|
68
68
|
when String
|
69
69
|
file_in=@document
|
70
|
-
#@delete_input=false unless @options[:debug]
|
71
70
|
end
|
72
71
|
|
73
72
|
params << shellescape(file_in)
|
74
73
|
|
75
|
-
#puts params.inspect
|
76
|
-
|
77
74
|
if RGhost::Config::GS[:mode] == :gslib
|
78
75
|
require "rghost/rgengine"
|
79
76
|
gs=RGEngine.new
|
@@ -86,6 +83,7 @@ class RGhost::Engine
|
|
86
83
|
|
87
84
|
if @error # if error
|
88
85
|
@errors=File.open(file_err).readlines if File.exists?(file_err)
|
86
|
+
raise RGhost::RenderException.new(@errors.join(" ")) if RGhost::Config::GS[:raise_on_error]
|
89
87
|
else
|
90
88
|
if multipage
|
91
89
|
file_out.gsub!(/_%04d/,"_*")
|
metadata
CHANGED
@@ -1,31 +1,24 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rghost
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
version: "0.9"
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Shairon Toledo
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2013-04-09 00:00:00 Z
|
12
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
18
13
|
dependencies: []
|
19
|
-
|
20
|
-
|
14
|
+
description: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...).
|
15
|
+
It uses the GhostScript framework for the format conversion, utilizes EPS templates
|
16
|
+
and is optimized to work with larger documents.
|
21
17
|
email: shairon.toledo@gmail.com
|
22
18
|
executables: []
|
23
|
-
|
24
19
|
extensions: []
|
25
|
-
|
26
20
|
extra_rdoc_files: []
|
27
|
-
|
28
|
-
files:
|
21
|
+
files:
|
29
22
|
- lib/rghost/border.rb
|
30
23
|
- lib/rghost/callback.rb
|
31
24
|
- lib/rghost/circle.rb
|
@@ -158,37 +151,29 @@ files:
|
|
158
151
|
- lib/rghost.rb
|
159
152
|
homepage: http://rghost.rubyforge.org
|
160
153
|
licenses: []
|
161
|
-
|
162
154
|
post_install_message:
|
163
155
|
rdoc_options: []
|
164
|
-
|
165
|
-
require_paths:
|
156
|
+
require_paths:
|
166
157
|
- lib
|
167
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
159
|
none: false
|
169
|
-
requirements:
|
170
|
-
- -
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
|
173
|
-
|
174
|
-
- 0
|
175
|
-
version: "0"
|
176
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
165
|
none: false
|
178
|
-
requirements:
|
179
|
-
- -
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
|
182
|
-
segments:
|
183
|
-
- 0
|
184
|
-
version: "0"
|
166
|
+
requirements:
|
167
|
+
- - ! '>='
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
185
170
|
requirements: []
|
186
|
-
|
187
|
-
|
171
|
+
rubyforge_project: Ruby Ghostscript Engine is a document creation and conversion API,
|
172
|
+
support(PDF,PS,GIF,TIF,PNG,JPG...). It uses the GhostScript framework for the format
|
173
|
+
conversion, utilizes EPS templates and is optimized to work with larger documents.
|
188
174
|
rubygems_version: 1.8.24
|
189
175
|
signing_key:
|
190
176
|
specification_version: 3
|
191
177
|
summary: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...).
|
192
178
|
test_files: []
|
193
|
-
|
194
179
|
has_rdoc:
|