aipim-rails 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/aipim +1 -1
- data/lib/aipim-rails/convert_to_html.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf2b2847079d6b4200a6b749c1a230bc2ffbb03
|
4
|
+
data.tar.gz: d29de531706a29b71a30580b0a4cb1380f5b4efb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b8a161d9a776f81167be31f6b1f56331fa72a03ca3fc4fabf09e0c13b7fcbd86f820936fd9440611521a7963e5683e91f2320ebcd5442f0cb46c4ddd75976f
|
7
|
+
data.tar.gz: 8474ebaa21c9db940a5882f807637ecae265315af19f7508c51cd7d1f7affda0829cf720b8ce92e4927b79ceeb1755796c5703e5d8df04566f4eec368d2dab35
|
data/bin/aipim
CHANGED
@@ -13,7 +13,7 @@ if ARGV[0] == 'generate'
|
|
13
13
|
system('cp '+path+'lib/jquery-1.9.1.js public/aipim/')
|
14
14
|
elsif ARGV[0] == 'html'
|
15
15
|
ConvertToHtml.init("aipim/markdown.md")
|
16
|
-
system('cp -r aipim/screenshots public/aipim/
|
16
|
+
system('cp -r aipim/screenshots public/aipim/')
|
17
17
|
system('cp -r aipim/relatorio.html public/aipim/')
|
18
18
|
else
|
19
19
|
Parser.init("features/login.feature")
|
@@ -14,7 +14,7 @@ module ConvertToHtml
|
|
14
14
|
output.puts ' <head>'
|
15
15
|
output.puts ' <META http-equiv="Content-Type" content="text/html; charset=utf-8">'
|
16
16
|
output.puts ' <link href="bootstrap.min.css" rel="stylesheet">'
|
17
|
-
output.puts ' <script src="
|
17
|
+
output.puts ' <script src="jquery-1.9.1.js"></script>'
|
18
18
|
output.puts ' <script type="text/javascript">'
|
19
19
|
output.puts ' $(document).ready(function(){'
|
20
20
|
output.puts ' $(\'a\').click(function(){'
|
@@ -43,6 +43,7 @@ module ConvertToHtml
|
|
43
43
|
output.puts md_to_html(filename)
|
44
44
|
output.puts '</body>'
|
45
45
|
output.puts '</html>'
|
46
|
+
output.close
|
46
47
|
end
|
47
48
|
|
48
49
|
end
|