bdoc 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/bdoc.rb +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/bdoc.rb
CHANGED
@@ -14,7 +14,7 @@ else
|
|
14
14
|
end
|
15
15
|
|
16
16
|
module Bdoc
|
17
|
-
VERSION = '0.3.
|
17
|
+
VERSION = '0.3.5'
|
18
18
|
|
19
19
|
class << self
|
20
20
|
attr_accessor :output_dir
|
@@ -56,7 +56,7 @@ module Bdoc
|
|
56
56
|
|
57
57
|
index = ERB.new(File.read(File.join(File.dirname(__FILE__), '..', "templates","bdoc.html"))).result(binding)
|
58
58
|
Dir.mkdir(output_dir) unless File.exists?(output_dir)
|
59
|
-
File.open(output_index,"w") {|f| f.write(index)}
|
59
|
+
File.open(output_index,"w:UTF-8") {|f| f.write(index)}
|
60
60
|
end
|
61
61
|
|
62
62
|
def open
|
metadata
CHANGED