vmail 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -1
- data/lib/vmail.vim +1 -1
- data/lib/vmail/version.rb +1 -1
- data/website/gen.rb +3 -1
- data/website/stylesheets-vmail/site.css +0 -1
- data/website/vmail-template.html +8 -0
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/vmail.vim
CHANGED
data/lib/vmail/version.rb
CHANGED
data/website/gen.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'liquid'
|
2
2
|
require 'rdiscount'
|
3
3
|
|
4
|
+
version = ARGV.first
|
5
|
+
|
4
6
|
top = RDiscount.new(File.read("top.markdown")).to_html
|
5
7
|
|
6
8
|
readme = File.expand_path("../../README.markdown", __FILE__)
|
@@ -21,5 +23,5 @@ bottom = RDiscount.new(File.read("bottom.markdown")).to_html
|
|
21
23
|
content = [top, middle, bottom].join("\n\n")
|
22
24
|
|
23
25
|
template = File.read("vmail-template.html")
|
24
|
-
out = Liquid::Template.parse(template).render 'content' => content, 'timestamp' => Time.now.to_i
|
26
|
+
out = Liquid::Template.parse(template).render 'content' => content, 'timestamp' => Time.now.to_i, 'version' => version
|
25
27
|
puts out
|
data/website/vmail-template.html
CHANGED