ymdp 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/VERSION +1 -1
- data/doc/ActionView.html +175 -0
- data/doc/ActionView/Helpers.html +175 -0
- data/doc/ActionView/Helpers/TagHelper.html +439 -0
- data/doc/Application.html +295 -0
- data/doc/LICENSE.html +158 -0
- data/doc/Object.html +218 -0
- data/doc/README_rdoc.html +147 -0
- data/doc/YMDP.html +232 -0
- data/doc/YMDP/ApplicationView.html +563 -0
- data/doc/YMDP/AssetTagHelper.html +235 -0
- data/doc/YMDP/Base.html +560 -0
- data/doc/YMDP/Compiler.html +178 -0
- data/doc/YMDP/Compiler/Base.html +1181 -0
- data/doc/YMDP/Compiler/Domains.html +493 -0
- data/doc/YMDP/Compiler/Options.html +265 -0
- data/doc/YMDP/Compiler/Template.html +175 -0
- data/doc/YMDP/Compiler/Template/Base.html +911 -0
- data/doc/YMDP/Compiler/Template/CoffeeScript.html +236 -0
- data/doc/YMDP/Compiler/Template/JavaScript.html +237 -0
- data/doc/YMDP/Compiler/Template/View.html +495 -0
- data/doc/YMDP/Compiler/Template/YRB.html +469 -0
- data/doc/YMDP/Configuration.html +175 -0
- data/doc/YMDP/Configuration/Base.html +426 -0
- data/doc/YMDP/Configuration/Config.html +553 -0
- data/doc/YMDP/Configuration/Servers.html +265 -0
- data/doc/YMDP/Configuration/Setter.html +580 -0
- data/doc/YMDP/FormTagHelper.html +298 -0
- data/doc/YMDP/GitHelper.html +298 -0
- data/doc/YMDP/LinkTagHelper.html +299 -0
- data/doc/YMDP/View.html +239 -0
- data/doc/created.rid +18 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +134 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +401 -0
- data/lib/ymdp/compiler/template.rb +5 -1
- data/lib/ymdp/view/application_view.rb +10 -5
- data/ymdp.gemspec +69 -2
- metadata +120 -42
@@ -0,0 +1,401 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Table of Contents - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body class="indexpage">
|
24
|
+
<h1>Table of Contents - RDoc Documentation</h1>
|
25
|
+
|
26
|
+
<h2>Pages</h2>
|
27
|
+
<ul>
|
28
|
+
<li class="file">
|
29
|
+
<a href="LICENSE.html">LICENSE</a>
|
30
|
+
</li>
|
31
|
+
<li class="file">
|
32
|
+
<a href="README_rdoc.html">README</a>
|
33
|
+
|
34
|
+
<img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
|
35
|
+
<ul class="initially-hidden">
|
36
|
+
<li><a href="README_rdoc.html#label-ymdp">ymdp</a>
|
37
|
+
<li><a href="README_rdoc.html#label-Copyright">Copyright</a>
|
38
|
+
</ul>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
</ul>
|
42
|
+
|
43
|
+
<h2 id="classes">Classes/Modules</h2>
|
44
|
+
<ul>
|
45
|
+
<li class="module">
|
46
|
+
<a href="YMDP.html">YMDP</a>
|
47
|
+
</li>
|
48
|
+
<li class="module">
|
49
|
+
<a href="YMDP/ApplicationView.html">YMDP::ApplicationView</a>
|
50
|
+
</li>
|
51
|
+
<li class="module">
|
52
|
+
<a href="YMDP/AssetTagHelper.html">YMDP::AssetTagHelper</a>
|
53
|
+
</li>
|
54
|
+
<li class="class">
|
55
|
+
<a href="YMDP/Base.html">YMDP::Base</a>
|
56
|
+
|
57
|
+
<img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
|
58
|
+
<ul class="initially-hidden">
|
59
|
+
<li><a href="YMDP/Base.html#label-Configuration">Configuration</a>
|
60
|
+
</ul>
|
61
|
+
</li>
|
62
|
+
<li class="module">
|
63
|
+
<a href="YMDP/Compiler.html">YMDP::Compiler</a>
|
64
|
+
</li>
|
65
|
+
<li class="class">
|
66
|
+
<a href="YMDP/Compiler/Base.html">YMDP::Compiler::Base</a>
|
67
|
+
</li>
|
68
|
+
<li class="class">
|
69
|
+
<a href="YMDP/Compiler/Domains.html">YMDP::Compiler::Domains</a>
|
70
|
+
</li>
|
71
|
+
<li class="class">
|
72
|
+
<a href="YMDP/Compiler/Options.html">YMDP::Compiler::Options</a>
|
73
|
+
</li>
|
74
|
+
<li class="module">
|
75
|
+
<a href="YMDP/Compiler/Template.html">YMDP::Compiler::Template</a>
|
76
|
+
</li>
|
77
|
+
<li class="class">
|
78
|
+
<a href="YMDP/Compiler/Template/Base.html">YMDP::Compiler::Template::Base</a>
|
79
|
+
|
80
|
+
<img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
|
81
|
+
<ul class="initially-hidden">
|
82
|
+
<li><a href="YMDP/Compiler/Template/Base.html#label-Examples">Examples</a>
|
83
|
+
<li><a href="YMDP/Compiler/Template/Base.html#label-Options">Options</a>
|
84
|
+
</ul>
|
85
|
+
</li>
|
86
|
+
<li class="class">
|
87
|
+
<a href="YMDP/Compiler/Template/CoffeeScript.html">YMDP::Compiler::Template::CoffeeScript</a>
|
88
|
+
</li>
|
89
|
+
<li class="class">
|
90
|
+
<a href="YMDP/Compiler/Template/JavaScript.html">YMDP::Compiler::Template::JavaScript</a>
|
91
|
+
</li>
|
92
|
+
<li class="class">
|
93
|
+
<a href="YMDP/Compiler/Template/View.html">YMDP::Compiler::Template::View</a>
|
94
|
+
</li>
|
95
|
+
<li class="class">
|
96
|
+
<a href="YMDP/Compiler/Template/YRB.html">YMDP::Compiler::Template::YRB</a>
|
97
|
+
</li>
|
98
|
+
<li class="module">
|
99
|
+
<a href="YMDP/Configuration.html">YMDP::Configuration</a>
|
100
|
+
</li>
|
101
|
+
<li class="class">
|
102
|
+
<a href="YMDP/Configuration/Base.html">YMDP::Configuration::Base</a>
|
103
|
+
</li>
|
104
|
+
<li class="class">
|
105
|
+
<a href="YMDP/Configuration/Config.html">YMDP::Configuration::Config</a>
|
106
|
+
</li>
|
107
|
+
<li class="class">
|
108
|
+
<a href="YMDP/Configuration/Servers.html">YMDP::Configuration::Servers</a>
|
109
|
+
</li>
|
110
|
+
<li class="class">
|
111
|
+
<a href="YMDP/Configuration/Setter.html">YMDP::Configuration::Setter</a>
|
112
|
+
|
113
|
+
<img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
|
114
|
+
<ul class="initially-hidden">
|
115
|
+
<li><a href="YMDP/Configuration/Setter.html#label-Examples">Examples</a>
|
116
|
+
</ul>
|
117
|
+
</li>
|
118
|
+
<li class="module">
|
119
|
+
<a href="YMDP/FormTagHelper.html">YMDP::FormTagHelper</a>
|
120
|
+
</li>
|
121
|
+
<li class="class">
|
122
|
+
<a href="YMDP/GitHelper.html">YMDP::GitHelper</a>
|
123
|
+
</li>
|
124
|
+
<li class="module">
|
125
|
+
<a href="YMDP/LinkTagHelper.html">YMDP::LinkTagHelper</a>
|
126
|
+
</li>
|
127
|
+
<li class="class">
|
128
|
+
<a href="YMDP/View.html">YMDP::View</a>
|
129
|
+
</li>
|
130
|
+
<li class="module">
|
131
|
+
<a href="ActionView.html">ActionView</a>
|
132
|
+
</li>
|
133
|
+
<li class="module">
|
134
|
+
<a href="ActionView/Helpers.html">ActionView::Helpers</a>
|
135
|
+
</li>
|
136
|
+
<li class="module">
|
137
|
+
<a href="ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
|
138
|
+
</li>
|
139
|
+
<li class="class">
|
140
|
+
<a href="Application.html">Application</a>
|
141
|
+
</li>
|
142
|
+
<li class="class">
|
143
|
+
<a href="Object.html">Object</a>
|
144
|
+
</li>
|
145
|
+
|
146
|
+
</ul>
|
147
|
+
|
148
|
+
<h2 id="methods">Methods</h2>
|
149
|
+
<ul>
|
150
|
+
|
151
|
+
<li class="method"><a href="YMDP/Base.html#method-c-base_path">::base_path — YMDP::Base</a>
|
152
|
+
|
153
|
+
<li class="method"><a href="YMDP/Base.html#method-c-configuration">::configuration — YMDP::Base</a>
|
154
|
+
|
155
|
+
<li class="method"><a href="YMDP/Base.html#method-c-configure">::configure — YMDP::Base</a>
|
156
|
+
|
157
|
+
<li class="method"><a href="Application.html#method-c-current_view">::current_view — Application</a>
|
158
|
+
|
159
|
+
<li class="method"><a href="Application.html#method-c-current_view-3D">::current_view= — Application</a>
|
160
|
+
|
161
|
+
<li class="method"><a href="Application.html#method-c-current_view-3F">::current_view? — Application</a>
|
162
|
+
|
163
|
+
<li class="method"><a href="YMDP/Base.html#method-c-display_path">::display_path — YMDP::Base</a>
|
164
|
+
|
165
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-c-new">::new — YMDP::Compiler::Domains</a>
|
166
|
+
|
167
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-c-new">::new — YMDP::Configuration::Base</a>
|
168
|
+
|
169
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-c-new">::new — YMDP::Compiler::Template::Base</a>
|
170
|
+
|
171
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-c-new">::new — YMDP::Compiler::Base</a>
|
172
|
+
|
173
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-c-new">::new — YMDP::Configuration::Config</a>
|
174
|
+
|
175
|
+
<li class="method"><a href="YMDP/View.html#method-c-new">::new — YMDP::View</a>
|
176
|
+
|
177
|
+
<li class="method"><a href="YMDP/Configuration/Servers.html#method-c-new">::new — YMDP::Configuration::Servers</a>
|
178
|
+
|
179
|
+
<li class="method"><a href="YMDP/Compiler/Options.html#method-c-parse">::parse — YMDP::Compiler::Options</a>
|
180
|
+
|
181
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-i-5B-5D">#[] — YMDP::Configuration::Base</a>
|
182
|
+
|
183
|
+
<li class="method"><a href="YMDP/Configuration/Setter.html#method-i-add_content_variable">#add_content_variable — YMDP::Configuration::Setter</a>
|
184
|
+
|
185
|
+
<li class="method"><a href="YMDP/Configuration/Setter.html#method-i-add_path">#add_path — YMDP::Configuration::Setter</a>
|
186
|
+
|
187
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-i-all_domains">#all_domains — YMDP::Compiler::Domains</a>
|
188
|
+
|
189
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-app_path">#app_path — YMDP::Compiler::Base</a>
|
190
|
+
|
191
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-assets_path">#assets_path — YMDP::Compiler::Base</a>
|
192
|
+
|
193
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-base_filename">#base_filename — YMDP::Compiler::Template::View</a>
|
194
|
+
|
195
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-base_filename">#base_filename — YMDP::Compiler::Template::Base</a>
|
196
|
+
|
197
|
+
<li class="method"><a href="YMDP/Base.html#method-i-base_path">#base_path — YMDP::Base</a>
|
198
|
+
|
199
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-build">#build — YMDP::Compiler::Template::Base</a>
|
200
|
+
|
201
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-build-3F">#build? — YMDP::Compiler::Base</a>
|
202
|
+
|
203
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-build_file">#build_file — YMDP::Compiler::Base</a>
|
204
|
+
|
205
|
+
<li class="method"><a href="ActionView/Helpers/TagHelper.html#method-i-cdata_section">#cdata_section — ActionView::Helpers::TagHelper</a>
|
206
|
+
|
207
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-clean_domain">#clean_domain — YMDP::Compiler::Base</a>
|
208
|
+
|
209
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-i-clean_tmp_dir">#clean_tmp_dir — YMDP::Compiler::Domains</a>
|
210
|
+
|
211
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-combo">#combo — YMDP::ApplicationView</a>
|
212
|
+
|
213
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-i-commit">#commit — YMDP::Compiler::Domains</a>
|
214
|
+
|
215
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-i-compile">#compile — YMDP::Compiler::Domains</a>
|
216
|
+
|
217
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-compress-3F">#compress? — YMDP::Configuration::Config</a>
|
218
|
+
|
219
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-config_path">#config_path — YMDP::Compiler::Base</a>
|
220
|
+
|
221
|
+
<li class="method"><a href="YMDP/Base.html#method-i-configuration">#configuration — YMDP::Base</a>
|
222
|
+
|
223
|
+
<li class="method"><a href="ActionView/Helpers/TagHelper.html#method-i-content_tag">#content_tag — ActionView::Helpers::TagHelper</a>
|
224
|
+
|
225
|
+
<li class="method"><a href="YMDP/Base.html#method-i-content_variables">#content_variables — YMDP::Base</a>
|
226
|
+
|
227
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-convert_filename">#convert_filename — YMDP::Compiler::Template::View</a>
|
228
|
+
|
229
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-copy_auth">#copy_auth — YMDP::Compiler::Base</a>
|
230
|
+
|
231
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-copy_config">#copy_config — YMDP::Compiler::Base</a>
|
232
|
+
|
233
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-copy_config_files">#copy_config_files — YMDP::Compiler::Base</a>
|
234
|
+
|
235
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-copy_images">#copy_images — YMDP::Compiler::Base</a>
|
236
|
+
|
237
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-create_directory">#create_directory — YMDP::Compiler::Base</a>
|
238
|
+
|
239
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-destination">#destination — YMDP::Compiler::Base</a>
|
240
|
+
|
241
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-destination_path">#destination_path — YMDP::Compiler::Template::Base</a>
|
242
|
+
|
243
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-destination_path">#destination_path — YMDP::Compiler::Template::YRB</a>
|
244
|
+
|
245
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-directory">#directory — YMDP::Compiler::Template::YRB</a>
|
246
|
+
|
247
|
+
<li class="method"><a href="YMDP/Base.html#method-i-display_path">#display_path — YMDP::Base</a>
|
248
|
+
|
249
|
+
<li class="method"><a href="YMDP/GitHelper.html#method-i-do_commit">#do_commit — YMDP::GitHelper</a>
|
250
|
+
|
251
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-i-each">#each — YMDP::Configuration::Base</a>
|
252
|
+
|
253
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-english_languages">#english_languages — YMDP::ApplicationView</a>
|
254
|
+
|
255
|
+
<li class="method"><a href="ActionView/Helpers/TagHelper.html#method-i-escape_once">#escape_once — ActionView::Helpers::TagHelper</a>
|
256
|
+
|
257
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-i-exists-3F">#exists? — YMDP::Configuration::Base</a>
|
258
|
+
|
259
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-i-file_not_found">#file_not_found — YMDP::Configuration::Base</a>
|
260
|
+
|
261
|
+
<li class="method"><a href="YMDP/GitHelper.html#method-i-get_current_branch">#get_current_branch — YMDP::GitHelper</a>
|
262
|
+
|
263
|
+
<li class="method"><a href="YMDP/GitHelper.html#method-i-get_hash">#get_hash — YMDP::GitHelper</a>
|
264
|
+
|
265
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-growl-3F">#growl? — YMDP::Configuration::Config</a>
|
266
|
+
|
267
|
+
<li class="method"><a href="YMDP/AssetTagHelper.html#method-i-image_tag">#image_tag — YMDP::AssetTagHelper</a>
|
268
|
+
|
269
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-images_path">#images_path — YMDP::Compiler::Base</a>
|
270
|
+
|
271
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-include_firebug_lite">#include_firebug_lite — YMDP::ApplicationView</a>
|
272
|
+
|
273
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-javascript_include">#javascript_include — YMDP::ApplicationView</a>
|
274
|
+
|
275
|
+
<li class="method"><a href="YMDP/Configuration/Setter.html#method-i-jquery">#jquery — YMDP::Configuration::Setter</a>
|
276
|
+
|
277
|
+
<li class="method"><a href="YMDP/FormTagHelper.html#method-i-label">#label — YMDP::FormTagHelper</a>
|
278
|
+
|
279
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-layout-3F">#layout? — YMDP::Compiler::Base</a>
|
280
|
+
|
281
|
+
<li class="method"><a href="YMDP/LinkTagHelper.html#method-i-link_to">#link_to — YMDP::LinkTagHelper</a>
|
282
|
+
|
283
|
+
<li class="method"><a href="YMDP/LinkTagHelper.html#method-i-link_to_function">#link_to_function — YMDP::LinkTagHelper</a>
|
284
|
+
|
285
|
+
<li class="method"><a href="YMDP/LinkTagHelper.html#method-i-link_to_unless_current">#link_to_unless_current — YMDP::LinkTagHelper</a>
|
286
|
+
|
287
|
+
<li class="method"><a href="YMDP/Configuration/Setter.html#method-i-load_content_variables">#load_content_variables — YMDP::Configuration::Setter</a>
|
288
|
+
|
289
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-log">#log — YMDP::Compiler::Base</a>
|
290
|
+
|
291
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-obfuscate-3F">#obfuscate? — YMDP::Configuration::Config</a>
|
292
|
+
|
293
|
+
<li class="method"><a href="YMDP/Configuration/Base.html#method-i-options">#options — YMDP::Configuration::Base</a>
|
294
|
+
|
295
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-partial-3F">#partial? — YMDP::Compiler::Base</a>
|
296
|
+
|
297
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-partial-3F">#partial? — YMDP::Compiler::Template::Base</a>
|
298
|
+
|
299
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-password">#password — YMDP::Configuration::Config</a>
|
300
|
+
|
301
|
+
<li class="method"><a href="YMDP/FormTagHelper.html#method-i-password_field">#password_field — YMDP::FormTagHelper</a>
|
302
|
+
|
303
|
+
<li class="method"><a href="YMDP/Base.html#method-i-paths">#paths — YMDP::Base</a>
|
304
|
+
|
305
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-process_all">#process_all — YMDP::Compiler::Base</a>
|
306
|
+
|
307
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-process_all_files">#process_all_files — YMDP::Compiler::Base</a>
|
308
|
+
|
309
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-process_all_translations">#process_all_translations — YMDP::Compiler::Base</a>
|
310
|
+
|
311
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-process_coffee">#process_coffee — YMDP::Compiler::Template::View</a>
|
312
|
+
|
313
|
+
<li class="method"><a href="YMDP/Compiler/Domains.html#method-i-process_domains">#process_domains — YMDP::Compiler::Domains</a>
|
314
|
+
|
315
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-process_each_yrb">#process_each_yrb — YMDP::Compiler::Base</a>
|
316
|
+
|
317
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-process_haml">#process_haml — YMDP::Compiler::Template::View</a>
|
318
|
+
|
319
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-process_path">#process_path — YMDP::Compiler::Base</a>
|
320
|
+
|
321
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-process_template">#process_template — YMDP::Compiler::Template::Base</a>
|
322
|
+
|
323
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-process_template">#process_template — YMDP::Compiler::Template::View</a>
|
324
|
+
|
325
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-processed_template">#processed_template — YMDP::Compiler::Template::YRB</a>
|
326
|
+
|
327
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-processed_template">#processed_template — YMDP::Compiler::Template::Base</a>
|
328
|
+
|
329
|
+
<li class="method"><a href="YMDP/Configuration/Setter.html#method-i-prototype">#prototype — YMDP::Configuration::Setter</a>
|
330
|
+
|
331
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-render">#render — YMDP::ApplicationView</a>
|
332
|
+
|
333
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-server_path">#server_path — YMDP::Compiler::Template::Base</a>
|
334
|
+
|
335
|
+
<li class="method"><a href="YMDP/Configuration/Servers.html#method-i-servers">#servers — YMDP::Configuration::Servers</a>
|
336
|
+
|
337
|
+
<li class="method"><a href="YMDP/Base.html#method-i-servers">#servers — YMDP::Base</a>
|
338
|
+
|
339
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-servers_path">#servers_path — YMDP::Compiler::Base</a>
|
340
|
+
|
341
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-servers_path">#servers_path — YMDP::Compiler::Template::Base</a>
|
342
|
+
|
343
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-set_content_variables">#set_content_variables — YMDP::Compiler::Template::Base</a>
|
344
|
+
|
345
|
+
<li class="method"><a href="YMDP/ApplicationView.html#method-i-supported_languages">#supported_languages — YMDP::ApplicationView</a>
|
346
|
+
|
347
|
+
<li class="method"><a href="ActionView/Helpers/TagHelper.html#method-i-tag">#tag — ActionView::Helpers::TagHelper</a>
|
348
|
+
|
349
|
+
<li class="method"><a href="YMDP/FormTagHelper.html#method-i-text_field">#text_field — YMDP::FormTagHelper</a>
|
350
|
+
|
351
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-to_hash">#to_hash — YMDP::Compiler::Template::YRB</a>
|
352
|
+
|
353
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-to_json">#to_json — YMDP::Compiler::Template::YRB</a>
|
354
|
+
|
355
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-to_yaml">#to_yaml — YMDP::Compiler::Template::YRB</a>
|
356
|
+
|
357
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-username">#username — YMDP::Configuration::Config</a>
|
358
|
+
|
359
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-validate">#validate — YMDP::Compiler::Template::YRB</a>
|
360
|
+
|
361
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-validate_embedded_js-3F">#validate_embedded_js? — YMDP::Configuration::Config</a>
|
362
|
+
|
363
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-validate_html-3F">#validate_html? — YMDP::Configuration::Config</a>
|
364
|
+
|
365
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-validate_js_assets-3F">#validate_js_assets? — YMDP::Configuration::Config</a>
|
366
|
+
|
367
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-validate_json_assets-3F">#validate_json_assets? — YMDP::Configuration::Config</a>
|
368
|
+
|
369
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-validator">#validator — YMDP::Compiler::Template::View</a>
|
370
|
+
|
371
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-verbose">#verbose — YMDP::Compiler::Template::Base</a>
|
372
|
+
|
373
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-verbose-3F">#verbose? — YMDP::Compiler::Template::Base</a>
|
374
|
+
|
375
|
+
<li class="method"><a href="YMDP/Configuration/Config.html#method-i-verbose-3F">#verbose? — YMDP::Configuration::Config</a>
|
376
|
+
|
377
|
+
<li class="method"><a href="YMDP/Compiler/Template/JavaScript.html#method-i-write_template">#write_template — YMDP::Compiler::Template::JavaScript</a>
|
378
|
+
|
379
|
+
<li class="method"><a href="YMDP/Compiler/Template/View.html#method-i-write_template">#write_template — YMDP::Compiler::Template::View</a>
|
380
|
+
|
381
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-write_template">#write_template — YMDP::Compiler::Template::Base</a>
|
382
|
+
|
383
|
+
<li class="method"><a href="YMDP/Compiler/Template/CoffeeScript.html#method-i-write_template">#write_template — YMDP::Compiler::Template::CoffeeScript</a>
|
384
|
+
|
385
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-write_template_with_layout">#write_template_with_layout — YMDP::Compiler::Template::Base</a>
|
386
|
+
|
387
|
+
<li class="method"><a href="YMDP/Compiler/Template/Base.html#method-i-write_template_without_layout">#write_template_without_layout — YMDP::Compiler::Template::Base</a>
|
388
|
+
|
389
|
+
<li class="method"><a href="YMDP/Compiler/Template/YRB.html#method-i-yrb">#yrb — YMDP::Compiler::Template::YRB</a>
|
390
|
+
|
391
|
+
<li class="method"><a href="YMDP/Compiler/Base.html#method-i-yrb_path">#yrb_path — YMDP::Compiler::Base</a>
|
392
|
+
|
393
|
+
</ul>
|
394
|
+
|
395
|
+
|
396
|
+
<footer id="validator-badges">
|
397
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
398
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
399
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
400
|
+
</footer>
|
401
|
+
|
@@ -282,6 +282,10 @@ module YMDP
|
|
282
282
|
def process_coffee(template, filename=nil)
|
283
283
|
::CoffeeScript.compile(process_template(template))
|
284
284
|
end
|
285
|
+
|
286
|
+
def process_scss(template, filename=nil)
|
287
|
+
::Sass.compile(template)
|
288
|
+
end
|
285
289
|
|
286
290
|
# Write this template with the application layout applied.
|
287
291
|
#
|
@@ -424,4 +428,4 @@ module YMDP
|
|
424
428
|
end
|
425
429
|
end
|
426
430
|
end
|
427
|
-
end
|
431
|
+
end
|
@@ -370,7 +370,7 @@ module YMDP
|
|
370
370
|
#
|
371
371
|
def render_stylesheet_partial(params)
|
372
372
|
filename = params[:filename] || params[:stylesheet].to_a.join("_")
|
373
|
-
external_asset = params[:tags] && configuration.external_assets["
|
373
|
+
external_asset = params[:tags] && configuration.external_assets["stylesheets"]
|
374
374
|
output = []
|
375
375
|
if params[:stylesheet]
|
376
376
|
content = render_stylesheets(params[:stylesheet].to_a, params[:filename])
|
@@ -390,7 +390,7 @@ module YMDP
|
|
390
390
|
end
|
391
391
|
end
|
392
392
|
|
393
|
-
# Renders a
|
393
|
+
# Renders a CSS partial.
|
394
394
|
#
|
395
395
|
def render_stylesheets(filenames, combined_filename=nil)
|
396
396
|
filenames_str = combined_filename || filenames.join().gsub("/", "_")
|
@@ -408,7 +408,7 @@ module YMDP
|
|
408
408
|
output
|
409
409
|
end
|
410
410
|
|
411
|
-
# Concatenates all
|
411
|
+
# Concatenates all files into one long string.
|
412
412
|
#
|
413
413
|
def combine_files(filenames)
|
414
414
|
output = []
|
@@ -418,7 +418,7 @@ module YMDP
|
|
418
418
|
output.join("\n")
|
419
419
|
end
|
420
420
|
|
421
|
-
# Renders together a set of
|
421
|
+
# Renders together a set of files without
|
422
422
|
# compression, so they can be compressed as a single block.
|
423
423
|
#
|
424
424
|
def render_without_compression(path, tags=true)
|
@@ -429,6 +429,11 @@ module YMDP
|
|
429
429
|
$stdout.puts("Parsing #{path}")
|
430
430
|
template = File.read(path)
|
431
431
|
output = process_coffee(template)
|
432
|
+
elsif File.exists?("#{path}.scss")
|
433
|
+
path = "#{path}.scss"
|
434
|
+
$stdout.puts("Parsing #{path}")
|
435
|
+
template = File.read(path)
|
436
|
+
output = process_scss(template)
|
432
437
|
elsif File.exists?(path)
|
433
438
|
$stdout.puts("Parsing #{path}")
|
434
439
|
template = File.read(path)
|
@@ -446,4 +451,4 @@ module YMDP
|
|
446
451
|
@assets_directory = assets_directory
|
447
452
|
end
|
448
453
|
end
|
449
|
-
end
|
454
|
+
end
|