rghost 0.8.7.9 → 0.8.8
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.
- data/lib/rghost/ruby_ghost_config.rb +3 -3
- metadata +5 -5
|
@@ -70,11 +70,11 @@ module RGhost::Config
|
|
|
70
70
|
:stack_elements => 5000,
|
|
71
71
|
:font_encoding => :IsoLatin,
|
|
72
72
|
:charset_convert => begin
|
|
73
|
-
if RUBY_VERSION =~ /^1.
|
|
74
|
-
lambda { |text| text.encode('ISO-8859-1', 'UTF-8') }
|
|
75
|
-
else
|
|
73
|
+
if RUBY_VERSION =~ /^1.8/
|
|
76
74
|
require 'iconv'
|
|
77
75
|
lambda { |text| Iconv::iconv('latin1','utf-8', text).join }
|
|
76
|
+
else
|
|
77
|
+
lambda { |text| text.encode('ISO-8859-1', 'UTF-8') }
|
|
78
78
|
end
|
|
79
79
|
end,
|
|
80
80
|
:external_encoding => nil,
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rghost
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 47
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
version: 0.8.7.9
|
|
9
|
+
- 8
|
|
10
|
+
version: 0.8.8
|
|
12
11
|
platform: ruby
|
|
13
12
|
authors:
|
|
14
13
|
- Shairon Toledo
|
|
@@ -16,7 +15,7 @@ autorequire:
|
|
|
16
15
|
bindir: bin
|
|
17
16
|
cert_chain: []
|
|
18
17
|
|
|
19
|
-
date:
|
|
18
|
+
date: 2013-02-27 00:00:00 Z
|
|
20
19
|
dependencies: []
|
|
21
20
|
|
|
22
21
|
description: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...). It uses the GhostScript framework for the format conversion, utilizes EPS templates and is optimized to work with larger documents.
|
|
@@ -193,3 +192,4 @@ specification_version: 3
|
|
|
193
192
|
summary: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...). It uses the GhostScript framework for the format conversion, utilizes EPS templates and is optimized to work with larger documents.
|
|
194
193
|
test_files: []
|
|
195
194
|
|
|
195
|
+
has_rdoc:
|