jitai 0.2.28 → 0.2.29
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 +3 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.29
|
data/jitai.gemspec
CHANGED
data/lib/jitai.rb
CHANGED
@@ -22,11 +22,11 @@ module Jitai
|
|
22
22
|
|
23
23
|
# TODO edit ttf2eot so that it's actually installed in the system
|
24
24
|
if !File.exists?(other_file)
|
25
|
-
puts "===== #{conversion_type.upcase} format not found. Attempting to convert... ====="
|
25
|
+
puts "===== #{conversion_type.upcase} format not found for #{font_file}. Attempting to convert... ====="
|
26
26
|
|
27
27
|
# TODO fix incredibly bad hack
|
28
|
-
curr_dir = Dir.
|
29
|
-
ttf2eot_dir = "/usr/lib/ruby/gems/1.8/gems/jitai-0.2.
|
28
|
+
curr_dir = Dir.getwd
|
29
|
+
ttf2eot_dir = "/usr/lib/ruby/gems/1.8/gems/jitai-0.2.29/lib/ttf2eot/"
|
30
30
|
%x{cd #{ttf2eot_dir} && ./ttf2eot < #{'../' + @cwd + font_file} > #{'../' + @cwd + font_file.split(".")[0] + conversion_type} && cd #{curr_dir}}
|
31
31
|
end
|
32
32
|
|
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: 45
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 29
|
10
|
+
version: 0.2.29
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- kellydunn
|