keepyourhead 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/Keepyourhead/Version.rb
CHANGED
@@ -32,7 +32,13 @@ module Database
|
|
32
32
|
def createImage(type, flashcard, options = {})
|
33
33
|
latex = latex_code( type, flashcard, options )
|
34
34
|
|
35
|
-
|
35
|
+
directory =
|
36
|
+
if flashcard.file.filename then
|
37
|
+
::File.dirname(flashcard.file.filename)
|
38
|
+
else
|
39
|
+
::File.expand_path "."
|
40
|
+
end
|
41
|
+
compileLatex directory, latex, options
|
36
42
|
end
|
37
43
|
|
38
44
|
def content(type,flashcard, options = {})
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: keepyourhead
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2008-10-
|
6
|
+
version: 0.2.2
|
7
|
+
date: 2008-10-03 00:00:00 +03:00
|
8
8
|
summary: KeepYourHead is a latex based flashcard trainer under GPL3
|
9
9
|
require_paths:
|
10
10
|
- lib
|