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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +3 -0
- data/LICENSE +1 -1
- data/README.md +20 -16
- data/bin/easy_html_creator +1 -0
- data/bin/ehc +5 -0
- data/dev_root/{test1 → demo-website}/coffee/test.coffee +0 -0
- data/dev_root/{test1 → demo-website}/helper/test_helper.rb +0 -0
- data/dev_root/{test1 → demo-website}/index.haml +4 -0
- data/dev_root/{test1 → demo-website}/layout.haml +0 -0
- data/dev_root/{test1 → demo-website}/partials/_assets.haml +0 -0
- data/dev_root/demo-website/partials/_footer.haml +1 -0
- data/dev_root/demo-website/partials/_header.haml +1 -0
- data/dev_root/{test1 → demo-website}/partials/_metadata.haml +1 -1
- data/dev_root/demo-website/public/images/easy-way.jpg +0 -0
- data/dev_root/{test1 → demo-website}/public/robots.txt +0 -0
- data/dev_root/{test1 → demo-website}/sass/main.sass +0 -0
- data/dev_root/documentation/dev_root.haml +41 -0
- data/dev_root/documentation/generate.haml +16 -0
- data/dev_root/documentation/index.haml +23 -0
- data/dev_root/documentation/layout.haml +11 -0
- data/dev_root/documentation/partials/_assets.haml +1 -0
- data/dev_root/documentation/partials/_header.haml +5 -0
- data/dev_root/documentation/partials/_metadata.haml +5 -0
- data/dev_root/documentation/public/doc/ActivesupportOverride.html +674 -0
- data/dev_root/documentation/public/doc/EhcCommandTasks.html +598 -0
- data/dev_root/documentation/public/doc/Generator.html +117 -0
- data/dev_root/documentation/public/doc/Generator/CoffeeGenerator.html +309 -0
- data/dev_root/documentation/public/doc/Generator/Context.html +437 -0
- data/dev_root/documentation/public/doc/Generator/Generator.html +552 -0
- data/dev_root/documentation/public/doc/Generator/HamlGenerator.html +406 -0
- data/dev_root/documentation/public/doc/Generator/SassGenerator.html +313 -0
- data/dev_root/documentation/public/doc/Generator/StructureGenerator.html +257 -0
- data/dev_root/documentation/public/doc/Server.html +165 -0
- data/dev_root/documentation/public/doc/Server/Dispatcher.html +377 -0
- data/dev_root/documentation/public/doc/Server/Request.html +730 -0
- data/dev_root/documentation/public/doc/Server/Response.html +642 -0
- data/dev_root/documentation/public/doc/Server/Server.html +356 -0
- data/dev_root/documentation/public/doc/_index.html +260 -0
- data/dev_root/documentation/public/doc/class_list.html +58 -0
- data/dev_root/documentation/public/doc/css/common.css +1 -0
- data/dev_root/documentation/public/doc/css/full_list.css +57 -0
- data/dev_root/documentation/public/doc/css/style.css +339 -0
- data/dev_root/documentation/public/doc/file.CHANGELOG.html +98 -0
- data/dev_root/documentation/public/doc/file.LICENSE.html +95 -0
- data/dev_root/documentation/public/doc/file.README.html +130 -0
- data/dev_root/documentation/public/doc/file_list.html +66 -0
- data/dev_root/documentation/public/doc/frames.html +26 -0
- data/dev_root/documentation/public/doc/index.html +130 -0
- data/dev_root/documentation/public/doc/js/app.js +219 -0
- data/dev_root/documentation/public/doc/js/full_list.js +181 -0
- data/dev_root/documentation/public/doc/js/jquery.js +4 -0
- data/dev_root/documentation/public/doc/method_list.html +429 -0
- data/dev_root/documentation/public/doc/top-level-namespace.html +114 -0
- data/dev_root/documentation/sass/main.sass +38 -0
- data/dev_root/documentation/server.haml +8 -0
- data/dev_root/documentation/yard.haml +1 -0
- data/lib/easy_html_creator.rb +4 -1
- data/lib/ehc_command_tasks.rb +112 -0
- data/lib/generator/generator.rb +2 -2
- data/lib/generator/haml_generator.rb +3 -0
- data/{dev_root/shared → lib/generator}/helper/activesupport_override.rb +6 -0
- data/lib/generator/structure_generator.rb +0 -2
- data/lib/server/dispatcher.rb +5 -2
- data/lib/server/request.rb +2 -1
- data/lib/server/server.rb +2 -2
- metadata +94 -96
- data/bin/generateFiles +0 -5
- data/bin/initDevRoot +0 -21
- data/bin/startServer +0 -3
- data/dev_root/test1/partials/_footer.haml +0 -1
- data/dev_root/test1/partials/_header.haml +0 -1
- data/dev_root/test2/coffee/test.coffee +0 -28
- data/dev_root/test2/index.haml +0 -4
- data/dev_root/test2/layout.haml +0 -7
- data/dev_root/test2/partials/title.haml +0 -1
- data/dev_root/test2/sass/test.sass +0 -3
@@ -0,0 +1,114 @@
|
|
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
|
+
Top Level Namespace
|
8
|
+
|
9
|
+
— 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#!top-level-namespace.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> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Top Level Namespace</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Top Level Namespace
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
</dl>
|
82
|
+
<div class="clear"></div>
|
83
|
+
|
84
|
+
<h2>Defined Under Namespace</h2>
|
85
|
+
<p class="children">
|
86
|
+
|
87
|
+
|
88
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ActivesupportOverride.html" title="ActivesupportOverride (module)">ActivesupportOverride</a></span>, <span class='object_link'><a href="Generator.html" title="Generator (module)">Generator</a></span>, <span class='object_link'><a href="Server.html" title="Server (module)">Server</a></span>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="EhcCommandTasks.html" title="EhcCommandTasks (class)">EhcCommandTasks</a></span>
|
93
|
+
|
94
|
+
|
95
|
+
</p>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="footer">
|
108
|
+
Generated on Sun Dec 21 19:55:50 2014 by
|
109
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
|
+
0.8.7.6 (ruby-2.1.3).
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</body>
|
114
|
+
</html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
*
|
2
|
+
font-family: 'PT Sans', Arial
|
3
|
+
font-size: 15px
|
4
|
+
color: #000000
|
5
|
+
|
6
|
+
body, html
|
7
|
+
margin: 0
|
8
|
+
padding: 0
|
9
|
+
height: 100%
|
10
|
+
|
11
|
+
.header
|
12
|
+
border-bottom: 2px solid #000000
|
13
|
+
vertical-align: center
|
14
|
+
height: 4%
|
15
|
+
width: 100%
|
16
|
+
a
|
17
|
+
border-bottom: 1px solid #000000
|
18
|
+
text-decoration: none
|
19
|
+
margin: 0 15px
|
20
|
+
|
21
|
+
.content
|
22
|
+
width: 100%
|
23
|
+
height: 90%
|
24
|
+
overflow-x: auto
|
25
|
+
overflow-y: none
|
26
|
+
h1
|
27
|
+
font-size: 17px
|
28
|
+
h2
|
29
|
+
font-size: 16px
|
30
|
+
iframe
|
31
|
+
width: 100%
|
32
|
+
height: 100%
|
33
|
+
|
34
|
+
.footer
|
35
|
+
border-top: 1px solid #000000
|
36
|
+
vertical-align: center
|
37
|
+
height: 4%
|
38
|
+
width: 100%
|
@@ -0,0 +1,8 @@
|
|
1
|
+
%h1
|
2
|
+
Webserver
|
3
|
+
|
4
|
+
%p
|
5
|
+
Using the command 'ehc server' (or 'ehc s' for short) you will create a basic webserver wich automatticly re-parses you project when you are browsing around (no worry's it's fast ;)).
|
6
|
+
|
7
|
+
%p
|
8
|
+
Use 'ehc server --ip-adres 127.0.0.1 --port 5678' to bind it to a costume ip-adress and/or port number.
|
@@ -0,0 +1 @@
|
|
1
|
+
%iframe{src: 'doc/frames.html', frameborder: 0}
|
data/lib/easy_html_creator.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require_relative 'server/server.rb'
|
2
2
|
require_relative 'server/dispatcher.rb'
|
3
3
|
|
4
|
+
# for 'rake start'
|
5
|
+
options = $options || {port: 5678, ip: '127.0.0.1'}
|
6
|
+
|
4
7
|
server = Server::Server.new Server::Dispatcher.new
|
5
8
|
|
6
|
-
server.listen
|
9
|
+
server.listen options[:port], options[:ip]
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
class EhcCommandTasks
|
5
|
+
|
6
|
+
COMMAND_WHITELIST = %w(init generate server help)
|
7
|
+
HELP_MESSAGE = <<-EOT
|
8
|
+
Usage: ehc COMMAND [ARGS]
|
9
|
+
|
10
|
+
The avalible commands are:
|
11
|
+
init Initialize 'dev_root' and 'web_root' with a demo website
|
12
|
+
generate Only generate output files (short-cut alias: "g")
|
13
|
+
server Start the wserver (short-cut alias: "s")
|
14
|
+
help Shows this message
|
15
|
+
|
16
|
+
EOT
|
17
|
+
|
18
|
+
def initialize
|
19
|
+
command = parse_command
|
20
|
+
if COMMAND_WHITELIST.include?(command)
|
21
|
+
send(command)
|
22
|
+
else
|
23
|
+
print_error(command)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def parse_command
|
28
|
+
return "" if ARGV.empty?
|
29
|
+
|
30
|
+
command = ARGV.first
|
31
|
+
|
32
|
+
if command == 'g'
|
33
|
+
command = 'generate'
|
34
|
+
elsif command == 's'
|
35
|
+
command = 'server'
|
36
|
+
end
|
37
|
+
return command
|
38
|
+
end
|
39
|
+
|
40
|
+
def print_error(command)
|
41
|
+
if command.empty?
|
42
|
+
puts 'no command given'
|
43
|
+
else
|
44
|
+
puts "command '#{command}' not valid"
|
45
|
+
end if
|
46
|
+
help
|
47
|
+
end
|
48
|
+
|
49
|
+
def help
|
50
|
+
puts HELP_MESSAGE
|
51
|
+
end
|
52
|
+
|
53
|
+
def init
|
54
|
+
puts "Creating dev_root and web_root with sample website"
|
55
|
+
|
56
|
+
init_dev_root
|
57
|
+
init_web_root
|
58
|
+
|
59
|
+
puts "All done, use 'ehc server' to start the development server."
|
60
|
+
end
|
61
|
+
|
62
|
+
def generate
|
63
|
+
require 'generator/generator'
|
64
|
+
Generator::Generator.new.generate
|
65
|
+
end
|
66
|
+
|
67
|
+
def server
|
68
|
+
$options = parse_server_options
|
69
|
+
require 'easy_html_creator'
|
70
|
+
end
|
71
|
+
|
72
|
+
private
|
73
|
+
|
74
|
+
def init_dev_root
|
75
|
+
source_dir = File.expand_path(File.dirname(__FILE__))[0..-4]
|
76
|
+
output_folder = "#{Dir.pwd}/dev_root"
|
77
|
+
|
78
|
+
unless File.directory? output_folder
|
79
|
+
FileUtils::mkdir_p output_folder
|
80
|
+
FileUtils::copy_entry("#{source_dir}dev_root", output_folder)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
def init_web_root
|
85
|
+
unless File.directory? "#{Dir.pwd}/web_root"
|
86
|
+
FileUtils::mkdir_p "#{Dir.pwd}/web_root"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
def parse_server_options
|
91
|
+
options = {}
|
92
|
+
OptionParser.new do |opts|
|
93
|
+
opts.banner = "Usage: example.rb [options]"
|
94
|
+
|
95
|
+
options[:port] = 5678
|
96
|
+
opts.on( '-p=n', '--port=n', 'Port number for the webserver' ) do |port|
|
97
|
+
options[:port] = port
|
98
|
+
end
|
99
|
+
|
100
|
+
options[:ip] = '127.0.0.1'
|
101
|
+
opts.on( '-i=s', '--ip-adres=s', 'Ip adres for the webserver on' ) do |ip|
|
102
|
+
options[:ip] = ip
|
103
|
+
end
|
104
|
+
|
105
|
+
opts.on('-h', '--help', 'Display this screen') do
|
106
|
+
puts opts
|
107
|
+
exit
|
108
|
+
end
|
109
|
+
end.parse!
|
110
|
+
options
|
111
|
+
end
|
112
|
+
end
|
data/lib/generator/generator.rb
CHANGED
@@ -2,6 +2,8 @@ require 'fileutils'
|
|
2
2
|
require 'haml'
|
3
3
|
require 'action_view'
|
4
4
|
|
5
|
+
require_relative 'helper/activesupport_override.rb'
|
6
|
+
|
5
7
|
#require shared helper
|
6
8
|
$shared_helper = Dir.glob('./dev_root/shared/helper/*.rb')
|
7
9
|
$shared_helper.each do |file| require file end
|
@@ -52,6 +54,7 @@ module Generator
|
|
52
54
|
attr_reader :example_boolean
|
53
55
|
|
54
56
|
include ActionView::Helpers
|
57
|
+
include ActivesupportOverride
|
55
58
|
|
56
59
|
$shared_helper.each do |path|
|
57
60
|
file_without_ext = path.split('/')[-1].split('.').first
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'pry'
|
2
|
+
|
1
3
|
module ActivesupportOverride
|
2
4
|
def stylesheet_link_tag(path, media='screen')
|
3
5
|
'<link href="'+path_to_css(path)+'" media="'+media+'" rel="stylesheet" type="text/css" />'
|
@@ -37,4 +39,8 @@ module ActivesupportOverride
|
|
37
39
|
def external_path? path
|
38
40
|
path.start_with?('//') || path.start_with?('http')
|
39
41
|
end
|
42
|
+
|
43
|
+
def url_for(options = '')
|
44
|
+
return options
|
45
|
+
end
|
40
46
|
end
|
data/lib/server/dispatcher.rb
CHANGED
@@ -19,7 +19,11 @@ module Server
|
|
19
19
|
return unless path.include? '.html'
|
20
20
|
|
21
21
|
#no html? no reload -> no regenarate
|
22
|
-
server.log "
|
22
|
+
server.log "#######################"
|
23
|
+
server.log "# #"
|
24
|
+
server.log "# Renew all files #"
|
25
|
+
server.log "# #"
|
26
|
+
server.log "#######################"
|
23
27
|
Generator::Generator.new.generate
|
24
28
|
end
|
25
29
|
|
@@ -28,7 +32,6 @@ module Server
|
|
28
32
|
server.log path
|
29
33
|
|
30
34
|
regenerate_files_if(path, server)
|
31
|
-
|
32
35
|
# Make sure the file exists and is not a directory
|
33
36
|
# before attempting to open it.
|
34
37
|
if File.exist?(path) && !File.directory?(path)
|
data/lib/server/request.rb
CHANGED
data/lib/server/server.rb
CHANGED
@@ -9,7 +9,7 @@ module Server
|
|
9
9
|
@dispatcher = dispatcher
|
10
10
|
end
|
11
11
|
|
12
|
-
def listen(port, host
|
12
|
+
def listen(port, host)
|
13
13
|
server = TCPServer.new(host, port)
|
14
14
|
log "Server binded to http://#{host}:#{port}"
|
15
15
|
|
@@ -25,10 +25,10 @@ module Server
|
|
25
25
|
@dispatcher.dispatch(request, response, self)
|
26
26
|
rescue Exception => e
|
27
27
|
msg = "#{e.backtrace.first}: #{e.message} (#{e.class})", e.backtrace.drop(1).map{|s| "\t#{s}"}
|
28
|
+
log msg
|
28
29
|
socket.print '<pre style="max-width: 100%; color: red; width: 100%; font-size:20px; white-space: normal;">'
|
29
30
|
socket.print msg
|
30
31
|
socket.print '</pre>'
|
31
|
-
log msg
|
32
32
|
end
|
33
33
|
|
34
34
|
socket.close
|
metadata
CHANGED
@@ -1,202 +1,200 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_html_creator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
- Tom
|
7
|
+
- Tom Hanoldt
|
9
8
|
- Dennis van de Hoef
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2014-
|
12
|
+
date: 2014-12-22 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: haml
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - ">="
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - ">="
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: sass
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - ">="
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - ">="
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: coffee-script
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - ">="
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: rake
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
|
-
requirements:
|
68
|
-
- - ! '>='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
type: :runtime
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
|
-
requirements:
|
76
|
-
- - ! '>='
|
53
|
+
- - ">="
|
77
54
|
- !ruby/object:Gem::Version
|
78
55
|
version: '0'
|
79
56
|
- !ruby/object:Gem::Dependency
|
80
57
|
name: bootstrap-sass
|
81
58
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
59
|
requirements:
|
84
|
-
- -
|
60
|
+
- - ">="
|
85
61
|
- !ruby/object:Gem::Version
|
86
62
|
version: '0'
|
87
63
|
type: :runtime
|
88
64
|
prerelease: false
|
89
65
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
66
|
requirements:
|
92
|
-
- -
|
67
|
+
- - ">="
|
93
68
|
- !ruby/object:Gem::Version
|
94
69
|
version: '0'
|
95
70
|
- !ruby/object:Gem::Dependency
|
96
71
|
name: actionview
|
97
72
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
73
|
requirements:
|
100
|
-
- -
|
74
|
+
- - ">="
|
101
75
|
- !ruby/object:Gem::Version
|
102
76
|
version: '0'
|
103
77
|
type: :runtime
|
104
78
|
prerelease: false
|
105
79
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
80
|
requirements:
|
108
|
-
- -
|
81
|
+
- - ">="
|
109
82
|
- !ruby/object:Gem::Version
|
110
83
|
version: '0'
|
111
|
-
description:
|
112
|
-
easy and joyful.
|
84
|
+
description: |-
|
85
|
+
Easy_html_creator is a gem that makes developing static HTML websites easy and joyful.
|
113
86
|
|
87
|
+
Once you learned the joy of haml or sass, it get boring to program in 'plain old' html and css.
|
114
88
|
|
115
|
-
|
116
|
-
html and css.
|
117
|
-
|
118
|
-
|
119
|
-
Using our Gem you could generate and maintain multiple static websites and program
|
120
|
-
them in your preferred languages.
|
121
|
-
|
89
|
+
Using our Gem you could generate and maintain multiple static websites and program them in your preferred languages.
|
122
90
|
|
123
91
|
Currently supported by our fast and lightweight re-generation server:
|
124
|
-
|
125
92
|
HAML
|
126
|
-
|
127
93
|
Sass (with bootstarp)
|
128
|
-
|
129
94
|
CoffeeScript
|
130
95
|
|
131
|
-
|
132
|
-
We also included the ''actionview'' gem, to enable the use of rails standard functions
|
133
|
-
like ''text_field_tag''.'
|
96
|
+
We also included the 'actionview' gem, to enable the use of rails standard functions like 'text_field_tag'.
|
134
97
|
email:
|
135
98
|
executables:
|
136
|
-
-
|
137
|
-
-
|
138
|
-
- initDevRoot
|
99
|
+
- ehc
|
100
|
+
- easy_html_creator
|
139
101
|
extensions: []
|
140
102
|
extra_rdoc_files: []
|
141
103
|
files:
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
104
|
+
- CHANGELOG.md
|
105
|
+
- Gemfile
|
106
|
+
- LICENSE
|
107
|
+
- README.md
|
108
|
+
- bin/easy_html_creator
|
109
|
+
- bin/ehc
|
110
|
+
- dev_root/demo-website/coffee/test.coffee
|
111
|
+
- dev_root/demo-website/helper/test_helper.rb
|
112
|
+
- dev_root/demo-website/index.haml
|
113
|
+
- dev_root/demo-website/layout.haml
|
114
|
+
- dev_root/demo-website/partials/_assets.haml
|
115
|
+
- dev_root/demo-website/partials/_footer.haml
|
116
|
+
- dev_root/demo-website/partials/_header.haml
|
117
|
+
- dev_root/demo-website/partials/_metadata.haml
|
118
|
+
- dev_root/demo-website/public/images/easy-way.jpg
|
119
|
+
- dev_root/demo-website/public/robots.txt
|
120
|
+
- dev_root/demo-website/sass/main.sass
|
121
|
+
- dev_root/documentation/dev_root.haml
|
122
|
+
- dev_root/documentation/generate.haml
|
123
|
+
- dev_root/documentation/index.haml
|
124
|
+
- dev_root/documentation/layout.haml
|
125
|
+
- dev_root/documentation/partials/_assets.haml
|
126
|
+
- dev_root/documentation/partials/_header.haml
|
127
|
+
- dev_root/documentation/partials/_metadata.haml
|
128
|
+
- dev_root/documentation/public/doc/ActivesupportOverride.html
|
129
|
+
- dev_root/documentation/public/doc/EhcCommandTasks.html
|
130
|
+
- dev_root/documentation/public/doc/Generator.html
|
131
|
+
- dev_root/documentation/public/doc/Generator/CoffeeGenerator.html
|
132
|
+
- dev_root/documentation/public/doc/Generator/Context.html
|
133
|
+
- dev_root/documentation/public/doc/Generator/Generator.html
|
134
|
+
- dev_root/documentation/public/doc/Generator/HamlGenerator.html
|
135
|
+
- dev_root/documentation/public/doc/Generator/SassGenerator.html
|
136
|
+
- dev_root/documentation/public/doc/Generator/StructureGenerator.html
|
137
|
+
- dev_root/documentation/public/doc/Server.html
|
138
|
+
- dev_root/documentation/public/doc/Server/Dispatcher.html
|
139
|
+
- dev_root/documentation/public/doc/Server/Request.html
|
140
|
+
- dev_root/documentation/public/doc/Server/Response.html
|
141
|
+
- dev_root/documentation/public/doc/Server/Server.html
|
142
|
+
- dev_root/documentation/public/doc/_index.html
|
143
|
+
- dev_root/documentation/public/doc/class_list.html
|
144
|
+
- dev_root/documentation/public/doc/css/common.css
|
145
|
+
- dev_root/documentation/public/doc/css/full_list.css
|
146
|
+
- dev_root/documentation/public/doc/css/style.css
|
147
|
+
- dev_root/documentation/public/doc/file.CHANGELOG.html
|
148
|
+
- dev_root/documentation/public/doc/file.LICENSE.html
|
149
|
+
- dev_root/documentation/public/doc/file.README.html
|
150
|
+
- dev_root/documentation/public/doc/file_list.html
|
151
|
+
- dev_root/documentation/public/doc/frames.html
|
152
|
+
- dev_root/documentation/public/doc/index.html
|
153
|
+
- dev_root/documentation/public/doc/js/app.js
|
154
|
+
- dev_root/documentation/public/doc/js/full_list.js
|
155
|
+
- dev_root/documentation/public/doc/js/jquery.js
|
156
|
+
- dev_root/documentation/public/doc/method_list.html
|
157
|
+
- dev_root/documentation/public/doc/top-level-namespace.html
|
158
|
+
- dev_root/documentation/sass/main.sass
|
159
|
+
- dev_root/documentation/server.haml
|
160
|
+
- dev_root/documentation/yard.haml
|
161
|
+
- dev_root/shared/helper/shared_helper.rb
|
162
|
+
- dev_root/shared/sass/_css3.sass
|
149
163
|
- lib/easy_html_creator.rb
|
150
|
-
- lib/
|
151
|
-
- lib/generator/
|
164
|
+
- lib/ehc_command_tasks.rb
|
165
|
+
- lib/generator/coffee_generator.rb
|
152
166
|
- lib/generator/generator.rb
|
153
167
|
- lib/generator/haml_generator.rb
|
154
|
-
- lib/generator/
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
- dev_root/test1/coffee/test.coffee
|
162
|
-
- dev_root/test1/partials/_metadata.haml
|
163
|
-
- dev_root/test1/partials/_assets.haml
|
164
|
-
- dev_root/test1/partials/_footer.haml
|
165
|
-
- dev_root/test1/partials/_header.haml
|
166
|
-
- dev_root/test1/sass/main.sass
|
167
|
-
- dev_root/test1/helper/test_helper.rb
|
168
|
-
- dev_root/test1/public/robots.txt
|
169
|
-
- dev_root/test1/index.haml
|
170
|
-
- dev_root/shared/sass/_css3.sass
|
171
|
-
- dev_root/shared/helper/activesupport_override.rb
|
172
|
-
- dev_root/shared/helper/shared_helper.rb
|
173
|
-
- LICENSE
|
174
|
-
- README.md
|
175
|
-
- Gemfile
|
176
|
-
- CHANGELOG.md
|
168
|
+
- lib/generator/helper/activesupport_override.rb
|
169
|
+
- lib/generator/sass_generator.rb
|
170
|
+
- lib/generator/structure_generator.rb
|
171
|
+
- lib/server/dispatcher.rb
|
172
|
+
- lib/server/request.rb
|
173
|
+
- lib/server/response.rb
|
174
|
+
- lib/server/server.rb
|
177
175
|
homepage: https://github.com/dennisvandehoef/easy-html-creator
|
178
176
|
licenses:
|
179
177
|
- MIT
|
178
|
+
metadata: {}
|
180
179
|
post_install_message:
|
181
180
|
rdoc_options: []
|
182
181
|
require_paths:
|
183
182
|
- lib
|
184
183
|
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
184
|
requirements:
|
187
|
-
- -
|
185
|
+
- - ">="
|
188
186
|
- !ruby/object:Gem::Version
|
189
187
|
version: '0'
|
190
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
-
none: false
|
192
189
|
requirements:
|
193
|
-
- -
|
190
|
+
- - ">="
|
194
191
|
- !ruby/object:Gem::Version
|
195
192
|
version: '0'
|
196
193
|
requirements: []
|
197
194
|
rubyforge_project:
|
198
|
-
rubygems_version:
|
195
|
+
rubygems_version: 2.4.2
|
199
196
|
signing_key:
|
200
|
-
specification_version:
|
197
|
+
specification_version: 4
|
201
198
|
summary: A simple project for fast and easy HTML website createmend
|
202
199
|
test_files: []
|
200
|
+
has_rdoc:
|