jitai 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/jitai.gemspec +1 -1
- data/lib/jitai.rb +4 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.28
|
data/jitai.gemspec
CHANGED
data/lib/jitai.rb
CHANGED
@@ -24,8 +24,10 @@ module Jitai
|
|
24
24
|
if !File.exists?(other_file)
|
25
25
|
puts "===== #{conversion_type.upcase} format not found. Attempting to convert... ====="
|
26
26
|
|
27
|
-
# TODO fix
|
28
|
-
|
27
|
+
# TODO fix incredibly bad hack
|
28
|
+
curr_dir = Dir.getcwd
|
29
|
+
ttf2eot_dir = "/usr/lib/ruby/gems/1.8/gems/jitai-0.2.28/lib/ttf2eot/"
|
30
|
+
%x{cd #{ttf2eot_dir} && ./ttf2eot < #{'../' + @cwd + font_file} > #{'../' + @cwd + font_file.split(".")[0] + conversion_type} && cd #{curr_dir}}
|
29
31
|
end
|
30
32
|
|
31
33
|
# Rename files, account for conventions.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jitai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 47
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 28
|
10
|
+
version: 0.2.28
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- kellydunn
|