literate_maruku 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/bin/literate_maruku +6 -1
- data/literate_maruku.gemspec +1 -1
- data/version.yml +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/bin/literate_maruku
CHANGED
@@ -49,9 +49,14 @@ begin
|
|
49
49
|
rescue LoadError
|
50
50
|
require File.dirname(__FILE__) + "/../lib/literate_maruku"
|
51
51
|
end
|
52
|
+
require "pathname"
|
52
53
|
|
53
54
|
if OPTIONS[:output_path]
|
54
|
-
|
55
|
+
if Pathname(OPTIONS[:output_path]).absolute?
|
56
|
+
path = OPTIONS[:output_path]
|
57
|
+
else
|
58
|
+
path = File.join(Dir.pwd, OPTIONS[:output_path])
|
59
|
+
end
|
55
60
|
puts "Generating output to \"#{OPTIONS[:output_path]}\""
|
56
61
|
LiterateMaruku.require(ARGV[0], :output => path)
|
57
62
|
else
|
data/literate_maruku.gemspec
CHANGED
data/version.yml
CHANGED