easy_html_generator 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTING.md +44 -0
- data/LICENSE +22 -0
- data/README.md +332 -0
- data/bin/ehg +52 -0
- data/lib/easy_html_generator.rb +100 -0
- data/lib/easy_html_generator/checksum.rb +39 -0
- data/lib/easy_html_generator/config.rb +147 -0
- data/lib/easy_html_generator/generator.rb +25 -0
- data/lib/easy_html_generator/generator/base.rb +83 -0
- data/lib/easy_html_generator/generator/combine.rb +28 -0
- data/lib/easy_html_generator/generator/compile/coffee.rb +30 -0
- data/lib/easy_html_generator/generator/compile/haml.rb +70 -0
- data/lib/easy_html_generator/generator/compile/haml/context.rb +52 -0
- data/lib/easy_html_generator/generator/compile/haml/helper/activesupport_override.rb +48 -0
- data/lib/easy_html_generator/generator/compile/haml/helper/asset_helper.rb +78 -0
- data/lib/easy_html_generator/generator/compile/haml/layout.rb +35 -0
- data/lib/easy_html_generator/generator/compile/sass.rb +47 -0
- data/lib/easy_html_generator/generator/copy.rb +44 -0
- data/lib/easy_html_generator/generator/delete.rb +20 -0
- data/lib/easy_html_generator/generator/minimize/css.rb +28 -0
- data/lib/easy_html_generator/generator/minimize/html.rb +32 -0
- data/lib/easy_html_generator/generator/minimize/images.rb +33 -0
- data/lib/easy_html_generator/generator/minimize/js.rb +28 -0
- data/lib/easy_html_generator/generator/service/analytics.rb +34 -0
- data/lib/easy_html_generator/generator/service/bower.rb +34 -0
- data/lib/easy_html_generator/generator/service/grunt.rb +24 -0
- data/lib/easy_html_generator/generator/structure.rb +20 -0
- data/lib/easy_html_generator/generators.rb +53 -0
- data/lib/easy_html_generator/project.rb +77 -0
- data/lib/easy_html_generator/rackapp.rb +67 -0
- data/lib/easy_html_generator/workspace.rb +59 -0
- data/src/demo/assets/images/demo.png +0 -0
- data/src/demo/assets/public/robots.txt +0 -0
- data/src/demo/assets/scripts/demo.js.coffee +1 -0
- data/src/demo/assets/scripts/plain.js +0 -0
- data/src/demo/assets/styles/app.css.sass +2 -0
- data/src/demo/assets/styles/plain.css +0 -0
- data/src/demo/lib/generators/project_generator.rb +12 -0
- data/src/demo/lib/helper/projecthelper.rb +5 -0
- data/src/demo/views/index.html.haml +1 -0
- data/src/demo/views/index/_lore_ipsum.haml +1 -0
- data/src/demo/views/layout.haml +8 -0
- data/src/demo/views/plain.html +0 -0
- data/src/shared/assets/images/shared.png +0 -0
- data/src/shared/assets/scripts/shared.js.coffee +1 -0
- data/src/shared/assets/scripts/shared.plain.js +0 -0
- data/src/shared/assets/styles/mixins/_arrows.sass +32 -0
- data/src/shared/assets/styles/mixins/_bootstrap-fixes.sass +12 -0
- data/src/shared/assets/styles/mixins/_buttons.sass +32 -0
- data/src/shared/assets/styles/mixins/_css3.sass +266 -0
- data/src/shared/assets/styles/mixins/_headjs-bootstrap-mediaqueries.sass +42 -0
- data/src/shared/assets/styles/mixins/_helper.sass +70 -0
- data/src/shared/assets/styles/mixins/_normalize.sass +340 -0
- data/src/shared/assets/styles/mixins/_reset.sass +46 -0
- data/src/shared/lib/generators/shared_generator.rb +12 -0
- data/src/shared/lib/helper/shared_helper.rb +16 -0
- data/src/shared/project.yml +127 -0
- data/src/shared/views/404.yml +5 -0
- data/src/template/assets/public/robots.txt +0 -0
- data/src/template/assets/scripts/index.js.coffee +1 -0
- data/src/template/assets/styles/index.css.sass +2 -0
- data/src/template/lib/generators/project_generator.rb +12 -0
- data/src/template/lib/helper/project_helper.rb +5 -0
- data/src/template/project.yml +128 -0
- data/src/template/views/index.html.haml +4 -0
- data/src/template/views/index/_lore_ipsum.haml +2 -0
- data/src/template/views/layout.haml +9 -0
- metadata +402 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
# this helper will be loaded into the haml render context for all projects
|
4
|
+
module SharedHelper
|
5
|
+
def copyright(who)
|
6
|
+
"© #{Time.new.year} by #{who}"
|
7
|
+
end
|
8
|
+
|
9
|
+
def select_partials(dir = '*', &block)
|
10
|
+
folder = "#{@input_folder}/partials/#{dir}"
|
11
|
+
Dir.glob("#{folder}").each do |partial|
|
12
|
+
partial = partial.sub("#{@input_folder}/partials/", '').sub('.haml', '')
|
13
|
+
block.call(partial) if block_given?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,127 @@
|
|
1
|
+
generate_on_request_path_match:
|
2
|
+
- '.*html$'
|
3
|
+
- '.*htm$'
|
4
|
+
|
5
|
+
paths:
|
6
|
+
src:
|
7
|
+
images: 'assets/images'
|
8
|
+
scripts: 'assets/scripts'
|
9
|
+
styles: 'assets/styles'
|
10
|
+
public: 'assets/public'
|
11
|
+
helper: 'lib/helper'
|
12
|
+
generators: 'lib/generators'
|
13
|
+
views: 'views'
|
14
|
+
dist:
|
15
|
+
public: ''
|
16
|
+
views: ''
|
17
|
+
images: 'images'
|
18
|
+
scripts: 'scripts'
|
19
|
+
styles: 'styles'
|
20
|
+
|
21
|
+
generators:
|
22
|
+
- SharedGenerator:
|
23
|
+
enabled: true
|
24
|
+
|
25
|
+
- ProjectGenerator:
|
26
|
+
enabled: true
|
27
|
+
|
28
|
+
- delete:
|
29
|
+
enabled: false
|
30
|
+
files:
|
31
|
+
- '*'
|
32
|
+
- structure:
|
33
|
+
enabled: true
|
34
|
+
|
35
|
+
- service_bower:
|
36
|
+
enabled: true
|
37
|
+
selector: 'bower.json'
|
38
|
+
target: 'lib'
|
39
|
+
|
40
|
+
- compile_coffee:
|
41
|
+
enabled: true
|
42
|
+
minimize: true
|
43
|
+
selector: '**/*.js.coffee'
|
44
|
+
|
45
|
+
- compile_sass:
|
46
|
+
enabled: true
|
47
|
+
minimize: true
|
48
|
+
selector: '**/*.css.sass'
|
49
|
+
|
50
|
+
- copy:
|
51
|
+
enabled: true
|
52
|
+
dirs:
|
53
|
+
-
|
54
|
+
source: 'assets/styles'
|
55
|
+
target: 'styles'
|
56
|
+
selector: '**/*.css'
|
57
|
+
-
|
58
|
+
source: 'assets/scripts'
|
59
|
+
target: 'scripts'
|
60
|
+
selector: '**/*.js'
|
61
|
+
-
|
62
|
+
source: 'assets/images'
|
63
|
+
target: 'images'
|
64
|
+
selector: '**/*'
|
65
|
+
-
|
66
|
+
source: 'assets/public'
|
67
|
+
target: ''
|
68
|
+
selector: '**/*'
|
69
|
+
|
70
|
+
- compile_haml:
|
71
|
+
enabled: true
|
72
|
+
minimize: true
|
73
|
+
default_layout: 'views/layout.haml'
|
74
|
+
selector: '**/*.html.haml'
|
75
|
+
renderer:
|
76
|
+
attr_wrapper: '"'
|
77
|
+
format: :html5
|
78
|
+
shared_helper_path: 'shared/lib'
|
79
|
+
|
80
|
+
- service_analytics:
|
81
|
+
enabled: false
|
82
|
+
append_to_files:
|
83
|
+
- '**/*.html'
|
84
|
+
google:
|
85
|
+
enabled: true
|
86
|
+
code: "<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', '{GOOGLE_UA_ID}', 'auto');ga('send', 'pageview');</script>"
|
87
|
+
id: -1
|
88
|
+
|
89
|
+
- minimize_js:
|
90
|
+
enabled: true
|
91
|
+
selector: '**/*.js'
|
92
|
+
prefix_extension: '.min'
|
93
|
+
|
94
|
+
- minimize_css:
|
95
|
+
enabled: true
|
96
|
+
selector: '**/*.css'
|
97
|
+
prefix_extension: '.min'
|
98
|
+
|
99
|
+
- minimize_html:
|
100
|
+
enabled: true
|
101
|
+
selector: '**/*.html'
|
102
|
+
prefix_extension: ''
|
103
|
+
|
104
|
+
- minimize_images:
|
105
|
+
enabled: true
|
106
|
+
selector: '**/*.{jpg,jpeg,png}'
|
107
|
+
options:
|
108
|
+
quality: 90
|
109
|
+
level: 3
|
110
|
+
verbose: true
|
111
|
+
|
112
|
+
- combine:
|
113
|
+
enabled: true
|
114
|
+
packages:
|
115
|
+
-
|
116
|
+
file: 'scripts/combined.js'
|
117
|
+
files:
|
118
|
+
- 'scripts/**/*.js'
|
119
|
+
-
|
120
|
+
file: 'styles/combined.css'
|
121
|
+
files:
|
122
|
+
- 'styles/**/*.css'
|
123
|
+
|
124
|
+
- service_grunt:
|
125
|
+
enabled: true
|
126
|
+
selector: 'Gruntfile.coffee'
|
127
|
+
task: 'default'
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
alert 'ha'
|
@@ -0,0 +1,128 @@
|
|
1
|
+
generate_on_request_path_match:
|
2
|
+
- '.*html$'
|
3
|
+
- '.*htm$'
|
4
|
+
|
5
|
+
paths:
|
6
|
+
src:
|
7
|
+
images: 'assets/images'
|
8
|
+
scripts: 'assets/scripts'
|
9
|
+
styles: 'assets/styles'
|
10
|
+
public: 'assets/public'
|
11
|
+
helper: 'lib/helper'
|
12
|
+
generators: 'lib/generators'
|
13
|
+
views: 'views'
|
14
|
+
dist:
|
15
|
+
public: ''
|
16
|
+
views: ''
|
17
|
+
images: 'images'
|
18
|
+
scripts: 'scripts'
|
19
|
+
styles: 'styles'
|
20
|
+
|
21
|
+
generators:
|
22
|
+
- SharedGenerator:
|
23
|
+
enabled: true
|
24
|
+
|
25
|
+
- ProjectGenerator:
|
26
|
+
enabled: true
|
27
|
+
|
28
|
+
- delete:
|
29
|
+
enabled: false
|
30
|
+
files:
|
31
|
+
- '*'
|
32
|
+
|
33
|
+
- structure:
|
34
|
+
enabled: true
|
35
|
+
|
36
|
+
- service_bower:
|
37
|
+
enabled: false
|
38
|
+
selector: 'bower.json'
|
39
|
+
target: 'lib'
|
40
|
+
|
41
|
+
- compile_coffee:
|
42
|
+
enabled: true
|
43
|
+
minimize: true
|
44
|
+
selector: '**/*.js.coffee'
|
45
|
+
|
46
|
+
- compile_sass:
|
47
|
+
enabled: true
|
48
|
+
minimize: true
|
49
|
+
selector: '**/*.css.sass'
|
50
|
+
|
51
|
+
- copy:
|
52
|
+
enabled: true
|
53
|
+
dirs:
|
54
|
+
-
|
55
|
+
source: 'assets/styles'
|
56
|
+
target: 'styles'
|
57
|
+
selector: '**/*.css'
|
58
|
+
-
|
59
|
+
source: 'assets/scripts'
|
60
|
+
target: 'scripts'
|
61
|
+
selector: '**/*.js'
|
62
|
+
-
|
63
|
+
source: 'assets/images'
|
64
|
+
target: 'images'
|
65
|
+
selector: '**/*'
|
66
|
+
-
|
67
|
+
source: 'assets/public'
|
68
|
+
target: ''
|
69
|
+
selector: '**/*'
|
70
|
+
|
71
|
+
- compile_haml:
|
72
|
+
enabled: true
|
73
|
+
minimize: true
|
74
|
+
default_layout: 'views/layout.haml'
|
75
|
+
selector: '**/*.html.haml'
|
76
|
+
renderer:
|
77
|
+
attr_wrapper: '"'
|
78
|
+
format: :html5
|
79
|
+
shared_helper_path: 'shared/lib'
|
80
|
+
|
81
|
+
- service_analytics:
|
82
|
+
enabled: false
|
83
|
+
append_to_files:
|
84
|
+
- '**/*.html'
|
85
|
+
google:
|
86
|
+
enabled: true
|
87
|
+
code: "<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', '{GOOGLE_UA_ID}', 'auto');ga('send', 'pageview');</script>"
|
88
|
+
id: -1
|
89
|
+
|
90
|
+
- minimize_js:
|
91
|
+
enabled: true
|
92
|
+
selector: '**/*.js'
|
93
|
+
prefix_extension: ''
|
94
|
+
|
95
|
+
- minimize_css:
|
96
|
+
enabled: true
|
97
|
+
selector: '**/*.css'
|
98
|
+
prefix_extension: ''
|
99
|
+
|
100
|
+
- minimize_html:
|
101
|
+
enabled: true
|
102
|
+
selector: '**/*.html'
|
103
|
+
prefix_extension: ''
|
104
|
+
|
105
|
+
- minimize_images:
|
106
|
+
enabled: true
|
107
|
+
selector: '**/*.{jpg,jpeg,png}'
|
108
|
+
options:
|
109
|
+
quality: 90
|
110
|
+
level: 3
|
111
|
+
verbose: true
|
112
|
+
|
113
|
+
- combine:
|
114
|
+
enabled: false
|
115
|
+
packages:
|
116
|
+
-
|
117
|
+
file: 'scripts/combined.js'
|
118
|
+
files:
|
119
|
+
- 'scripts/**/*.js'
|
120
|
+
-
|
121
|
+
file: 'styles/combined.css'
|
122
|
+
files:
|
123
|
+
- 'styles/**/*.css'
|
124
|
+
|
125
|
+
- service_grunt:
|
126
|
+
enabled: false
|
127
|
+
selector: 'Gruntfile.coffee'
|
128
|
+
task: 'default'
|
@@ -0,0 +1,2 @@
|
|
1
|
+
%p
|
2
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
metadata
ADDED
@@ -0,0 +1,402 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: easy_html_generator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tom Hanoldt
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack-respond_to
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rack-abstract-format
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: shotgun
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: haml
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sass
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coffee-script
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: bootstrap-sass
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: actionview
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: cssminify
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: uglifier
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: htmlcompressor
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: colorize
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: piet
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: piet-binary
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rake
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rspec
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: simplecov
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: rack-test
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
description: |2-
|
280
|
+
It uses:
|
281
|
+
* CoffeScript aka Javascript
|
282
|
+
* Sass aka css
|
283
|
+
* Haml aka html
|
284
|
+
* ActionView for ruby haml templating comfort
|
285
|
+
|
286
|
+
It can utilizes:
|
287
|
+
* Bootstrap for responsive and modern html layouts
|
288
|
+
* HeadJ for performance optimized resource loading
|
289
|
+
* Bower for javascript dependency management
|
290
|
+
* Grunt for javascript based task management
|
291
|
+
* Google Anlaytics for tracking of pageclicks
|
292
|
+
* minimizing from coffee-, javascript-, sass-, css-, png- and image-files
|
293
|
+
|
294
|
+
It is developed with:
|
295
|
+
- Rspec for testing
|
296
|
+
- RuboCop for code quality
|
297
|
+
- Rack as Server
|
298
|
+
|
299
|
+
It is based on:
|
300
|
+
- EasyHtmlCreator (https://github.com/dennisvandehoef/easy-html-creator)
|
301
|
+
email:
|
302
|
+
- monotom@gmail.com
|
303
|
+
executables:
|
304
|
+
- ehg
|
305
|
+
extensions: []
|
306
|
+
extra_rdoc_files: []
|
307
|
+
files:
|
308
|
+
- CONTRIBUTING.md
|
309
|
+
- LICENSE
|
310
|
+
- README.md
|
311
|
+
- bin/ehg
|
312
|
+
- lib/easy_html_generator.rb
|
313
|
+
- lib/easy_html_generator/checksum.rb
|
314
|
+
- lib/easy_html_generator/config.rb
|
315
|
+
- lib/easy_html_generator/generator.rb
|
316
|
+
- lib/easy_html_generator/generator/base.rb
|
317
|
+
- lib/easy_html_generator/generator/combine.rb
|
318
|
+
- lib/easy_html_generator/generator/compile/coffee.rb
|
319
|
+
- lib/easy_html_generator/generator/compile/haml.rb
|
320
|
+
- lib/easy_html_generator/generator/compile/haml/context.rb
|
321
|
+
- lib/easy_html_generator/generator/compile/haml/helper/activesupport_override.rb
|
322
|
+
- lib/easy_html_generator/generator/compile/haml/helper/asset_helper.rb
|
323
|
+
- lib/easy_html_generator/generator/compile/haml/layout.rb
|
324
|
+
- lib/easy_html_generator/generator/compile/sass.rb
|
325
|
+
- lib/easy_html_generator/generator/copy.rb
|
326
|
+
- lib/easy_html_generator/generator/delete.rb
|
327
|
+
- lib/easy_html_generator/generator/minimize/css.rb
|
328
|
+
- lib/easy_html_generator/generator/minimize/html.rb
|
329
|
+
- lib/easy_html_generator/generator/minimize/images.rb
|
330
|
+
- lib/easy_html_generator/generator/minimize/js.rb
|
331
|
+
- lib/easy_html_generator/generator/service/analytics.rb
|
332
|
+
- lib/easy_html_generator/generator/service/bower.rb
|
333
|
+
- lib/easy_html_generator/generator/service/grunt.rb
|
334
|
+
- lib/easy_html_generator/generator/structure.rb
|
335
|
+
- lib/easy_html_generator/generators.rb
|
336
|
+
- lib/easy_html_generator/project.rb
|
337
|
+
- lib/easy_html_generator/rackapp.rb
|
338
|
+
- lib/easy_html_generator/workspace.rb
|
339
|
+
- src/demo/assets/images/demo.png
|
340
|
+
- src/demo/assets/public/robots.txt
|
341
|
+
- src/demo/assets/scripts/demo.js.coffee
|
342
|
+
- src/demo/assets/scripts/plain.js
|
343
|
+
- src/demo/assets/styles/app.css.sass
|
344
|
+
- src/demo/assets/styles/plain.css
|
345
|
+
- src/demo/lib/generators/project_generator.rb
|
346
|
+
- src/demo/lib/helper/projecthelper.rb
|
347
|
+
- src/demo/views/index.html.haml
|
348
|
+
- src/demo/views/index/_lore_ipsum.haml
|
349
|
+
- src/demo/views/layout.haml
|
350
|
+
- src/demo/views/plain.html
|
351
|
+
- src/shared/assets/images/shared.png
|
352
|
+
- src/shared/assets/scripts/shared.js.coffee
|
353
|
+
- src/shared/assets/scripts/shared.plain.js
|
354
|
+
- src/shared/assets/styles/mixins/_arrows.sass
|
355
|
+
- src/shared/assets/styles/mixins/_bootstrap-fixes.sass
|
356
|
+
- src/shared/assets/styles/mixins/_buttons.sass
|
357
|
+
- src/shared/assets/styles/mixins/_css3.sass
|
358
|
+
- src/shared/assets/styles/mixins/_headjs-bootstrap-mediaqueries.sass
|
359
|
+
- src/shared/assets/styles/mixins/_helper.sass
|
360
|
+
- src/shared/assets/styles/mixins/_normalize.sass
|
361
|
+
- src/shared/assets/styles/mixins/_reset.sass
|
362
|
+
- src/shared/lib/generators/shared_generator.rb
|
363
|
+
- src/shared/lib/helper/shared_helper.rb
|
364
|
+
- src/shared/project.yml
|
365
|
+
- src/shared/views/404.yml
|
366
|
+
- src/template/assets/public/robots.txt
|
367
|
+
- src/template/assets/scripts/index.js.coffee
|
368
|
+
- src/template/assets/styles/index.css.sass
|
369
|
+
- src/template/lib/generators/project_generator.rb
|
370
|
+
- src/template/lib/helper/project_helper.rb
|
371
|
+
- src/template/project.yml
|
372
|
+
- src/template/views/index.html.haml
|
373
|
+
- src/template/views/index/_lore_ipsum.haml
|
374
|
+
- src/template/views/layout.haml
|
375
|
+
homepage: https://github.com/creative-workflow/easy-html-generator
|
376
|
+
licenses:
|
377
|
+
- MIT
|
378
|
+
metadata: {}
|
379
|
+
post_install_message:
|
380
|
+
rdoc_options: []
|
381
|
+
require_paths:
|
382
|
+
- lib
|
383
|
+
- src/shared/lib
|
384
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
385
|
+
requirements:
|
386
|
+
- - ">="
|
387
|
+
- !ruby/object:Gem::Version
|
388
|
+
version: 2.0.0
|
389
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
390
|
+
requirements:
|
391
|
+
- - ">="
|
392
|
+
- !ruby/object:Gem::Version
|
393
|
+
version: '0'
|
394
|
+
requirements: []
|
395
|
+
rubyforge_project:
|
396
|
+
rubygems_version: 2.4.6
|
397
|
+
signing_key:
|
398
|
+
specification_version: 4
|
399
|
+
summary: This gem is a powerful and easy to use web development tool that helps developing
|
400
|
+
modern web sites by generating static html pages.
|
401
|
+
test_files: []
|
402
|
+
has_rdoc:
|