easy_html_creator 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE +1 -1
  5. data/README.md +20 -16
  6. data/bin/easy_html_creator +1 -0
  7. data/bin/ehc +5 -0
  8. data/dev_root/{test1 → demo-website}/coffee/test.coffee +0 -0
  9. data/dev_root/{test1 → demo-website}/helper/test_helper.rb +0 -0
  10. data/dev_root/{test1 → demo-website}/index.haml +4 -0
  11. data/dev_root/{test1 → demo-website}/layout.haml +0 -0
  12. data/dev_root/{test1 → demo-website}/partials/_assets.haml +0 -0
  13. data/dev_root/demo-website/partials/_footer.haml +1 -0
  14. data/dev_root/demo-website/partials/_header.haml +1 -0
  15. data/dev_root/{test1 → demo-website}/partials/_metadata.haml +1 -1
  16. data/dev_root/demo-website/public/images/easy-way.jpg +0 -0
  17. data/dev_root/{test1 → demo-website}/public/robots.txt +0 -0
  18. data/dev_root/{test1 → demo-website}/sass/main.sass +0 -0
  19. data/dev_root/documentation/dev_root.haml +41 -0
  20. data/dev_root/documentation/generate.haml +16 -0
  21. data/dev_root/documentation/index.haml +23 -0
  22. data/dev_root/documentation/layout.haml +11 -0
  23. data/dev_root/documentation/partials/_assets.haml +1 -0
  24. data/dev_root/documentation/partials/_header.haml +5 -0
  25. data/dev_root/documentation/partials/_metadata.haml +5 -0
  26. data/dev_root/documentation/public/doc/ActivesupportOverride.html +674 -0
  27. data/dev_root/documentation/public/doc/EhcCommandTasks.html +598 -0
  28. data/dev_root/documentation/public/doc/Generator.html +117 -0
  29. data/dev_root/documentation/public/doc/Generator/CoffeeGenerator.html +309 -0
  30. data/dev_root/documentation/public/doc/Generator/Context.html +437 -0
  31. data/dev_root/documentation/public/doc/Generator/Generator.html +552 -0
  32. data/dev_root/documentation/public/doc/Generator/HamlGenerator.html +406 -0
  33. data/dev_root/documentation/public/doc/Generator/SassGenerator.html +313 -0
  34. data/dev_root/documentation/public/doc/Generator/StructureGenerator.html +257 -0
  35. data/dev_root/documentation/public/doc/Server.html +165 -0
  36. data/dev_root/documentation/public/doc/Server/Dispatcher.html +377 -0
  37. data/dev_root/documentation/public/doc/Server/Request.html +730 -0
  38. data/dev_root/documentation/public/doc/Server/Response.html +642 -0
  39. data/dev_root/documentation/public/doc/Server/Server.html +356 -0
  40. data/dev_root/documentation/public/doc/_index.html +260 -0
  41. data/dev_root/documentation/public/doc/class_list.html +58 -0
  42. data/dev_root/documentation/public/doc/css/common.css +1 -0
  43. data/dev_root/documentation/public/doc/css/full_list.css +57 -0
  44. data/dev_root/documentation/public/doc/css/style.css +339 -0
  45. data/dev_root/documentation/public/doc/file.CHANGELOG.html +98 -0
  46. data/dev_root/documentation/public/doc/file.LICENSE.html +95 -0
  47. data/dev_root/documentation/public/doc/file.README.html +130 -0
  48. data/dev_root/documentation/public/doc/file_list.html +66 -0
  49. data/dev_root/documentation/public/doc/frames.html +26 -0
  50. data/dev_root/documentation/public/doc/index.html +130 -0
  51. data/dev_root/documentation/public/doc/js/app.js +219 -0
  52. data/dev_root/documentation/public/doc/js/full_list.js +181 -0
  53. data/dev_root/documentation/public/doc/js/jquery.js +4 -0
  54. data/dev_root/documentation/public/doc/method_list.html +429 -0
  55. data/dev_root/documentation/public/doc/top-level-namespace.html +114 -0
  56. data/dev_root/documentation/sass/main.sass +38 -0
  57. data/dev_root/documentation/server.haml +8 -0
  58. data/dev_root/documentation/yard.haml +1 -0
  59. data/lib/easy_html_creator.rb +4 -1
  60. data/lib/ehc_command_tasks.rb +112 -0
  61. data/lib/generator/generator.rb +2 -2
  62. data/lib/generator/haml_generator.rb +3 -0
  63. data/{dev_root/shared → lib/generator}/helper/activesupport_override.rb +6 -0
  64. data/lib/generator/structure_generator.rb +0 -2
  65. data/lib/server/dispatcher.rb +5 -2
  66. data/lib/server/request.rb +2 -1
  67. data/lib/server/server.rb +2 -2
  68. metadata +94 -96
  69. data/bin/generateFiles +0 -5
  70. data/bin/initDevRoot +0 -21
  71. data/bin/startServer +0 -3
  72. data/dev_root/test1/partials/_footer.haml +0 -1
  73. data/dev_root/test1/partials/_header.haml +0 -1
  74. data/dev_root/test2/coffee/test.coffee +0 -28
  75. data/dev_root/test2/index.haml +0 -4
  76. data/dev_root/test2/layout.haml +0 -7
  77. data/dev_root/test2/partials/title.haml +0 -1
  78. data/dev_root/test2/sass/test.sass +0 -3
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>
7
+ File: CHANGELOG
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!file.CHANGELOG.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index</a> &raquo;
35
+ <span class="title">File: CHANGELOG</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>
65
+ <h1 id="label-1.0.0">1.0.0</h1>
66
+
67
+ <p>We released our project as a gem (<a
68
+ href="https://rubygems.org/gems/easy_html_creator">rubygems.org/gems/easy_html_creator</a>)</p>
69
+
70
+ <h1 id="label-0.1.2">0.1.2</h1>
71
+
72
+ <p>Project helper and add actionview for hml files</p>
73
+
74
+ <h1 id="label-0.1.1">0.1.1</h1>
75
+
76
+ <p>Copy images and other static files</p>
77
+
78
+ <h1 id="label-0.1.0">0.1.0</h1>
79
+
80
+ <p>Add SASS and CoffeeScript</p>
81
+
82
+ <h1 id="label-0.0.2">0.0.2</h1>
83
+
84
+ <p>Dynamic rendering and remove all old files before rendering</p>
85
+
86
+ <h1 id="label-0.0.1">0.0.1</h1>
87
+
88
+ <p>First working version</p>
89
+ </div></div>
90
+
91
+ <div id="footer">
92
+ Generated on Sun Dec 21 19:55:50 2014 by
93
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
94
+ 0.8.7.6 (ruby-2.1.3).
95
+ </div>
96
+
97
+ </body>
98
+ </html>
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>
7
+ File: LICENSE
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!file.LICENSE.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index</a> &raquo;
35
+ <span class="title">File: LICENSE</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>
65
+ <p>The MIT License (MIT)</p>
66
+
67
+ <p>Copyright © 2014, Tom Hanoldt and Dennis van de Hoef</p>
68
+
69
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
70
+ copy of this software and associated documentation files (the “Software”),
71
+ to deal in the Software without restriction, including without limitation
72
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
73
+ and/or sell copies of the Software, and to permit persons to whom the
74
+ Software is furnished to do so, subject to the following conditions:</p>
75
+
76
+ <p>The above copyright notice and this permission notice shall be included in
77
+ all copies or substantial portions of the Software.</p>
78
+
79
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
81
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
82
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
83
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
84
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
85
+ DEALINGS IN THE SOFTWARE.</p>
86
+ </div></div>
87
+
88
+ <div id="footer">
89
+ Generated on Sun Dec 21 19:55:50 2014 by
90
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
91
+ 0.8.7.6 (ruby-2.1.3).
92
+ </div>
93
+
94
+ </body>
95
+ </html>
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>
7
+ File: README
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!file.README.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index</a> &raquo;
35
+ <span class="title">File: README</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>
65
+ <h1 id="label-easy_html_creator">easy_html_creator</h1>
66
+
67
+ <p>Easy_html_creator is a gem that makes developing static HTML websites easy
68
+ and joyful.</p>
69
+
70
+ <p>Once you learned the joy of haml or sass, it get boring to program in
71
+ “plain old” html and css.</p>
72
+
73
+ <p>Using our Gem you could generate and maintain multiple static websites and
74
+ program them in your preferred languages.</p>
75
+
76
+ <p>Currently supported by our fast and lightweight re-generation server: *
77
+ HAML * Sass (with bootstarp) * CoffeeScript</p>
78
+
79
+ <p>We also included the “actionview” gem, to enable the use of rails standard
80
+ functions like “text_field_tag”.</p>
81
+
82
+ <h1 id="label-Installation">Installation</h1>
83
+
84
+ <p>Add folliwing to your Gemfile</p>
85
+
86
+ <p><code>gem &#39;easy_html_creator&#39;</code></p>
87
+
88
+ <p>than run</p>
89
+
90
+ <p><code>bundle install</code></p>
91
+
92
+ <h1 id="label-Usage">Usage</h1>
93
+
94
+ <p><code>ehc init</code> This command will generate a sample dev_root and
95
+ web_root folder</p>
96
+
97
+ <p><code>ehc generate</code> This command will generate all the files</p>
98
+
99
+ <p><code>ehc server [--ip-adres 127.0.0.1] [--port 5678]</code> This command
100
+ will start a webserver with will automatically regenerate all the files</p>
101
+
102
+ <h1 id="label-TODO">TODO</h1>
103
+ <ul><li>
104
+ <p>clean/refactor code</p>
105
+ </li><li>
106
+ <p>Add tests</p>
107
+ </li></ul>
108
+
109
+ <h1 id="label-Stats">Stats</h1>
110
+
111
+ <p><a href="http://badge.fury.io/rb/easy_html_creator"><img
112
+ src="https://badge.fury.io/rb/easy_html_creator.png"></a></p>
113
+
114
+ <h1 id="label-Credits">Credits</h1>
115
+
116
+ <p><em>Files are located in the first commit and/or version 0.0.1</em> -
117
+ ./ruby_files/generate.rb is based on: <a
118
+ href="https://github.com/scarpenter/command_line_haml/blob/master/generate.rb">github.com/scarpenter/command_line_haml/blob/master/generate.rb</a>
119
+ - ./ruby_files/server.rb is based on: <a
120
+ href="https://practicingruby.com/articles/implementing-an-http-file-server">practicingruby.com/articles/implementing-an-http-file-server</a></p>
121
+ </div></div>
122
+
123
+ <div id="footer">
124
+ Generated on Sun Dec 21 19:55:50 2014 by
125
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
+ 0.8.7.6 (ruby-2.1.3).
127
+ </div>
128
+
129
+ </body>
130
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <title>File List</title>
19
+ <base id="base_target" target="_parent" />
20
+ </head>
21
+ <body>
22
+ <script type="text/javascript" charset="utf-8">
23
+ var hasFrames = false;
24
+ try {
25
+ hasFrames = window.top.frames.main ? true : false;
26
+ } catch (e) { }
27
+ if (hasFrames) {
28
+ document.getElementById('base_target').target = 'main';
29
+ document.body.className = 'frames';
30
+ }
31
+ </script>
32
+ <div id="content">
33
+ <h1 id="full_list_header">File List</h1>
34
+ <div id="nav">
35
+
36
+ <span><a target="_self" href="class_list.html">
37
+ Classes
38
+ </a></span>
39
+
40
+ <span><a target="_self" href="method_list.html">
41
+ Methods
42
+ </a></span>
43
+
44
+ <span><a target="_self" href="file_list.html">
45
+ Files
46
+ </a></span>
47
+
48
+ </div>
49
+ <div id="search">Search: <input type="text" /></div>
50
+
51
+ <ul id="full_list" class="file">
52
+
53
+
54
+ <li class="r1"><span class="object_link"><a href="index.html" title="README">README</a></a></li>
55
+
56
+
57
+ <li class="r2"><span class="object_link"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></a></li>
58
+
59
+
60
+ <li class="r1"><span class="object_link"><a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a></a></li>
61
+
62
+
63
+ </ul>
64
+ </div>
65
+ </body>
66
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
+ <title>Documentation by YARD 0.8.7.6</title>
8
+ </head>
9
+ <script type="text/javascript" charset="utf-8">
10
+ window.onload = function() {
11
+ var match = unescape(window.location.hash).match(/^#!(.+)/);
12
+ var name = match ? match[1] : 'index.html';
13
+ name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
14
+ document.writeln('<frameset cols="20%,*">' +
15
+ '<frame name="list" src="class_list.html" />' +
16
+ '<frame name="main" src="' + escape(name) + '" />' +
17
+ '</frameset>');
18
+ }
19
+ </script>
20
+ <noscript>
21
+ <frameset cols="20%,*">
22
+ <frame name="list" src="class_list.html" />
23
+ <frame name="main" src="index.html" />
24
+ </frameset>
25
+ </noscript>
26
+ </html>
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>
7
+ File: README
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!file.README.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index</a> &raquo;
35
+ <span class="title">File: README</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>
65
+ <h1 id="label-easy_html_creator">easy_html_creator</h1>
66
+
67
+ <p>Easy_html_creator is a gem that makes developing static HTML websites easy
68
+ and joyful.</p>
69
+
70
+ <p>Once you learned the joy of haml or sass, it get boring to program in
71
+ “plain old” html and css.</p>
72
+
73
+ <p>Using our Gem you could generate and maintain multiple static websites and
74
+ program them in your preferred languages.</p>
75
+
76
+ <p>Currently supported by our fast and lightweight re-generation server: *
77
+ HAML * Sass (with bootstarp) * CoffeeScript</p>
78
+
79
+ <p>We also included the “actionview” gem, to enable the use of rails standard
80
+ functions like “text_field_tag”.</p>
81
+
82
+ <h1 id="label-Installation">Installation</h1>
83
+
84
+ <p>Add folliwing to your Gemfile</p>
85
+
86
+ <p><code>gem &#39;easy_html_creator&#39;</code></p>
87
+
88
+ <p>than run</p>
89
+
90
+ <p><code>bundle install</code></p>
91
+
92
+ <h1 id="label-Usage">Usage</h1>
93
+
94
+ <p><code>ehc init</code> This command will generate a sample dev_root and
95
+ web_root folder</p>
96
+
97
+ <p><code>ehc generate</code> This command will generate all the files</p>
98
+
99
+ <p><code>ehc server [--ip-adres 127.0.0.1] [--port 5678]</code> This command
100
+ will start a webserver with will automatically regenerate all the files</p>
101
+
102
+ <h1 id="label-TODO">TODO</h1>
103
+ <ul><li>
104
+ <p>clean/refactor code</p>
105
+ </li><li>
106
+ <p>Add tests</p>
107
+ </li></ul>
108
+
109
+ <h1 id="label-Stats">Stats</h1>
110
+
111
+ <p><a href="http://badge.fury.io/rb/easy_html_creator"><img
112
+ src="https://badge.fury.io/rb/easy_html_creator.png"></a></p>
113
+
114
+ <h1 id="label-Credits">Credits</h1>
115
+
116
+ <p><em>Files are located in the first commit and/or version 0.0.1</em> -
117
+ ./ruby_files/generate.rb is based on: <a
118
+ href="https://github.com/scarpenter/command_line_haml/blob/master/generate.rb">github.com/scarpenter/command_line_haml/blob/master/generate.rb</a>
119
+ - ./ruby_files/server.rb is based on: <a
120
+ href="https://practicingruby.com/articles/implementing-an-http-file-server">practicingruby.com/articles/implementing-an-http-file-server</a></p>
121
+ </div></div>
122
+
123
+ <div id="footer">
124
+ Generated on Sun Dec 21 19:55:50 2014 by
125
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
+ 0.8.7.6 (ruby-2.1.3).
127
+ </div>
128
+
129
+ </body>
130
+ </html>