ymdp 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/Gemfile +2 -1
  2. data/VERSION +1 -1
  3. data/doc/ActionView.html +175 -0
  4. data/doc/ActionView/Helpers.html +175 -0
  5. data/doc/ActionView/Helpers/TagHelper.html +439 -0
  6. data/doc/Application.html +295 -0
  7. data/doc/LICENSE.html +158 -0
  8. data/doc/Object.html +218 -0
  9. data/doc/README_rdoc.html +147 -0
  10. data/doc/YMDP.html +232 -0
  11. data/doc/YMDP/ApplicationView.html +563 -0
  12. data/doc/YMDP/AssetTagHelper.html +235 -0
  13. data/doc/YMDP/Base.html +560 -0
  14. data/doc/YMDP/Compiler.html +178 -0
  15. data/doc/YMDP/Compiler/Base.html +1181 -0
  16. data/doc/YMDP/Compiler/Domains.html +493 -0
  17. data/doc/YMDP/Compiler/Options.html +265 -0
  18. data/doc/YMDP/Compiler/Template.html +175 -0
  19. data/doc/YMDP/Compiler/Template/Base.html +911 -0
  20. data/doc/YMDP/Compiler/Template/CoffeeScript.html +236 -0
  21. data/doc/YMDP/Compiler/Template/JavaScript.html +237 -0
  22. data/doc/YMDP/Compiler/Template/View.html +495 -0
  23. data/doc/YMDP/Compiler/Template/YRB.html +469 -0
  24. data/doc/YMDP/Configuration.html +175 -0
  25. data/doc/YMDP/Configuration/Base.html +426 -0
  26. data/doc/YMDP/Configuration/Config.html +553 -0
  27. data/doc/YMDP/Configuration/Servers.html +265 -0
  28. data/doc/YMDP/Configuration/Setter.html +580 -0
  29. data/doc/YMDP/FormTagHelper.html +298 -0
  30. data/doc/YMDP/GitHelper.html +298 -0
  31. data/doc/YMDP/LinkTagHelper.html +299 -0
  32. data/doc/YMDP/View.html +239 -0
  33. data/doc/created.rid +18 -0
  34. data/doc/images/add.png +0 -0
  35. data/doc/images/brick.png +0 -0
  36. data/doc/images/brick_link.png +0 -0
  37. data/doc/images/bug.png +0 -0
  38. data/doc/images/bullet_black.png +0 -0
  39. data/doc/images/bullet_toggle_minus.png +0 -0
  40. data/doc/images/bullet_toggle_plus.png +0 -0
  41. data/doc/images/date.png +0 -0
  42. data/doc/images/delete.png +0 -0
  43. data/doc/images/find.png +0 -0
  44. data/doc/images/loadingAnimation.gif +0 -0
  45. data/doc/images/macFFBgHack.png +0 -0
  46. data/doc/images/package.png +0 -0
  47. data/doc/images/page_green.png +0 -0
  48. data/doc/images/page_white_text.png +0 -0
  49. data/doc/images/page_white_width.png +0 -0
  50. data/doc/images/plugin.png +0 -0
  51. data/doc/images/ruby.png +0 -0
  52. data/doc/images/tag_blue.png +0 -0
  53. data/doc/images/tag_green.png +0 -0
  54. data/doc/images/transparent.png +0 -0
  55. data/doc/images/wrench.png +0 -0
  56. data/doc/images/wrench_orange.png +0 -0
  57. data/doc/images/zoom.png +0 -0
  58. data/doc/index.html +134 -0
  59. data/doc/js/darkfish.js +153 -0
  60. data/doc/js/jquery.js +18 -0
  61. data/doc/js/navigation.js +142 -0
  62. data/doc/js/search.js +94 -0
  63. data/doc/js/search_index.js +1 -0
  64. data/doc/js/searcher.js +228 -0
  65. data/doc/rdoc.css +543 -0
  66. data/doc/table_of_contents.html +401 -0
  67. data/lib/ymdp/compiler/template.rb +5 -1
  68. data/lib/ymdp/view/application_view.rb +10 -5
  69. data/ymdp.gemspec +69 -2
  70. metadata +120 -42
@@ -0,0 +1,295 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Application - 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 id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/ymdp/view/application.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="Object.html">Object</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-c-current_view">::current_view</a>
74
+
75
+ <li><a href="#method-c-current_view-3D">::current_view=</a>
76
+
77
+ <li><a href="#method-c-current_view-3F">::current_view?</a>
78
+
79
+ </ul>
80
+ </nav>
81
+
82
+ </div>
83
+
84
+ <div id="project-metadata">
85
+ <nav id="fileindex-section" class="section project-section">
86
+ <h3 class="section-header">Pages</h3>
87
+
88
+ <ul>
89
+
90
+ <li class="file"><a href="./LICENSE.html">LICENSE</a>
91
+
92
+ <li class="file"><a href="./README_rdoc.html">README</a>
93
+
94
+ </ul>
95
+ </nav>
96
+
97
+ <nav id="classindex-section" class="section project-section">
98
+ <h3 class="section-header">Class and Module Index</h3>
99
+
100
+ <ul class="link-list">
101
+
102
+ <li><a href="./YMDP.html">YMDP</a>
103
+
104
+ <li><a href="./YMDP/ApplicationView.html">YMDP::ApplicationView</a>
105
+
106
+ <li><a href="./YMDP/AssetTagHelper.html">YMDP::AssetTagHelper</a>
107
+
108
+ <li><a href="./YMDP/Base.html">YMDP::Base</a>
109
+
110
+ <li><a href="./YMDP/Compiler.html">YMDP::Compiler</a>
111
+
112
+ <li><a href="./YMDP/Compiler/Base.html">YMDP::Compiler::Base</a>
113
+
114
+ <li><a href="./YMDP/Compiler/Domains.html">YMDP::Compiler::Domains</a>
115
+
116
+ <li><a href="./YMDP/Compiler/Options.html">YMDP::Compiler::Options</a>
117
+
118
+ <li><a href="./YMDP/Compiler/Template.html">YMDP::Compiler::Template</a>
119
+
120
+ <li><a href="./YMDP/Compiler/Template/Base.html">YMDP::Compiler::Template::Base</a>
121
+
122
+ <li><a href="./YMDP/Compiler/Template/CoffeeScript.html">YMDP::Compiler::Template::CoffeeScript</a>
123
+
124
+ <li><a href="./YMDP/Compiler/Template/JavaScript.html">YMDP::Compiler::Template::JavaScript</a>
125
+
126
+ <li><a href="./YMDP/Compiler/Template/View.html">YMDP::Compiler::Template::View</a>
127
+
128
+ <li><a href="./YMDP/Compiler/Template/YRB.html">YMDP::Compiler::Template::YRB</a>
129
+
130
+ <li><a href="./YMDP/Configuration.html">YMDP::Configuration</a>
131
+
132
+ <li><a href="./YMDP/Configuration/Base.html">YMDP::Configuration::Base</a>
133
+
134
+ <li><a href="./YMDP/Configuration/Config.html">YMDP::Configuration::Config</a>
135
+
136
+ <li><a href="./YMDP/Configuration/Servers.html">YMDP::Configuration::Servers</a>
137
+
138
+ <li><a href="./YMDP/Configuration/Setter.html">YMDP::Configuration::Setter</a>
139
+
140
+ <li><a href="./YMDP/FormTagHelper.html">YMDP::FormTagHelper</a>
141
+
142
+ <li><a href="./YMDP/GitHelper.html">YMDP::GitHelper</a>
143
+
144
+ <li><a href="./YMDP/LinkTagHelper.html">YMDP::LinkTagHelper</a>
145
+
146
+ <li><a href="./YMDP/View.html">YMDP::View</a>
147
+
148
+ <li><a href="./ActionView.html">ActionView</a>
149
+
150
+ <li><a href="./ActionView/Helpers.html">ActionView::Helpers</a>
151
+
152
+ <li><a href="./ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
153
+
154
+ <li><a href="./Application.html">Application</a>
155
+
156
+ <li><a href="./Object.html">Object</a>
157
+
158
+ </ul>
159
+ </nav>
160
+
161
+ </div>
162
+ </nav>
163
+
164
+ <div id="documentation">
165
+ <h1 class="class">class Application</h1>
166
+
167
+ <div id="description" class="description">
168
+
169
+ <p>Provides an interface for helper methods to know which view is being
170
+ rendered so they can branch conditionally.</p>
171
+
172
+ </div><!-- description -->
173
+
174
+
175
+
176
+
177
+ <section id="5Buntitled-5D" class="documentation-section">
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+ <!-- Methods -->
187
+
188
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
189
+ <h3 class="section-header">Public Class Methods</h3>
190
+
191
+
192
+ <div id="method-c-current_view" class="method-detail ">
193
+
194
+ <div class="method-heading">
195
+ <span class="method-name">current_view</span><span
196
+ class="method-args">()</span>
197
+ <span class="method-click-advice">click to toggle source</span>
198
+ </div>
199
+
200
+
201
+ <div class="method-description">
202
+
203
+ <p>Returns the name of the current view.</p>
204
+
205
+
206
+
207
+ <div class="method-source-code" id="current_view-source">
208
+ <pre><span class="ruby-comment"># File lib/ymdp/view/application.rb, line 13</span>
209
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">current_view</span>
210
+ <span class="ruby-identifier">@@current_view</span>
211
+ <span class="ruby-keyword">end</span></pre>
212
+ </div><!-- current_view-source -->
213
+
214
+ </div>
215
+
216
+
217
+
218
+
219
+ </div><!-- current_view-method -->
220
+
221
+
222
+ <div id="method-c-current_view-3D" class="method-detail ">
223
+
224
+ <div class="method-heading">
225
+ <span class="method-name">current_view=</span><span
226
+ class="method-args">(view)</span>
227
+ <span class="method-click-advice">click to toggle source</span>
228
+ </div>
229
+
230
+
231
+ <div class="method-description">
232
+
233
+ <p>Sets the name of the current view.</p>
234
+
235
+
236
+
237
+ <div class="method-source-code" id="current_view-3D-source">
238
+ <pre><span class="ruby-comment"># File lib/ymdp/view/application.rb, line 19</span>
239
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">current_view=</span> <span class="ruby-identifier">view</span>
240
+ <span class="ruby-identifier">@@current_view</span> = <span class="ruby-identifier">view</span>
241
+ <span class="ruby-keyword">end</span></pre>
242
+ </div><!-- current_view-3D-source -->
243
+
244
+ </div>
245
+
246
+
247
+
248
+
249
+ </div><!-- current_view-3D-method -->
250
+
251
+
252
+ <div id="method-c-current_view-3F" class="method-detail ">
253
+
254
+ <div class="method-heading">
255
+ <span class="method-name">current_view?</span><span
256
+ class="method-args">(view)</span>
257
+ <span class="method-click-advice">click to toggle source</span>
258
+ </div>
259
+
260
+
261
+ <div class="method-description">
262
+
263
+ <p>Returns true if <code>view</code> is the current view which is being
264
+ rendered.</p>
265
+
266
+
267
+
268
+ <div class="method-source-code" id="current_view-3F-source">
269
+ <pre><span class="ruby-comment"># File lib/ymdp/view/application.rb, line 7</span>
270
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">current_view?</span>(<span class="ruby-identifier">view</span>)
271
+ <span class="ruby-identifier">current_view</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">view</span>.<span class="ruby-identifier">downcase</span>
272
+ <span class="ruby-keyword">end</span></pre>
273
+ </div><!-- current_view-3F-source -->
274
+
275
+ </div>
276
+
277
+
278
+
279
+
280
+ </div><!-- current_view-3F-method -->
281
+
282
+
283
+ </section><!-- public-class-method-details -->
284
+
285
+ </section><!-- 5Buntitled-5D -->
286
+
287
+ </div><!-- documentation -->
288
+
289
+
290
+ <footer id="validator-badges">
291
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
292
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
293
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
294
+ </footer>
295
+
@@ -0,0 +1,158 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>LICENSE - 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="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="project-metadata">
47
+ <nav id="fileindex-section" class="section project-section">
48
+ <h3 class="section-header">Pages</h3>
49
+
50
+ <ul>
51
+
52
+ <li class="file"><a href="./LICENSE.html">LICENSE</a>
53
+
54
+ <li class="file"><a href="./README_rdoc.html">README</a>
55
+
56
+ </ul>
57
+ </nav>
58
+
59
+ <nav id="classindex-section" class="section project-section">
60
+ <h3 class="section-header">Class and Module Index</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./YMDP.html">YMDP</a>
65
+
66
+ <li><a href="./YMDP/ApplicationView.html">YMDP::ApplicationView</a>
67
+
68
+ <li><a href="./YMDP/AssetTagHelper.html">YMDP::AssetTagHelper</a>
69
+
70
+ <li><a href="./YMDP/Base.html">YMDP::Base</a>
71
+
72
+ <li><a href="./YMDP/Compiler.html">YMDP::Compiler</a>
73
+
74
+ <li><a href="./YMDP/Compiler/Base.html">YMDP::Compiler::Base</a>
75
+
76
+ <li><a href="./YMDP/Compiler/Domains.html">YMDP::Compiler::Domains</a>
77
+
78
+ <li><a href="./YMDP/Compiler/Options.html">YMDP::Compiler::Options</a>
79
+
80
+ <li><a href="./YMDP/Compiler/Template.html">YMDP::Compiler::Template</a>
81
+
82
+ <li><a href="./YMDP/Compiler/Template/Base.html">YMDP::Compiler::Template::Base</a>
83
+
84
+ <li><a href="./YMDP/Compiler/Template/CoffeeScript.html">YMDP::Compiler::Template::CoffeeScript</a>
85
+
86
+ <li><a href="./YMDP/Compiler/Template/JavaScript.html">YMDP::Compiler::Template::JavaScript</a>
87
+
88
+ <li><a href="./YMDP/Compiler/Template/View.html">YMDP::Compiler::Template::View</a>
89
+
90
+ <li><a href="./YMDP/Compiler/Template/YRB.html">YMDP::Compiler::Template::YRB</a>
91
+
92
+ <li><a href="./YMDP/Configuration.html">YMDP::Configuration</a>
93
+
94
+ <li><a href="./YMDP/Configuration/Base.html">YMDP::Configuration::Base</a>
95
+
96
+ <li><a href="./YMDP/Configuration/Config.html">YMDP::Configuration::Config</a>
97
+
98
+ <li><a href="./YMDP/Configuration/Servers.html">YMDP::Configuration::Servers</a>
99
+
100
+ <li><a href="./YMDP/Configuration/Setter.html">YMDP::Configuration::Setter</a>
101
+
102
+ <li><a href="./YMDP/FormTagHelper.html">YMDP::FormTagHelper</a>
103
+
104
+ <li><a href="./YMDP/GitHelper.html">YMDP::GitHelper</a>
105
+
106
+ <li><a href="./YMDP/LinkTagHelper.html">YMDP::LinkTagHelper</a>
107
+
108
+ <li><a href="./YMDP/View.html">YMDP::View</a>
109
+
110
+ <li><a href="./ActionView.html">ActionView</a>
111
+
112
+ <li><a href="./ActionView/Helpers.html">ActionView::Helpers</a>
113
+
114
+ <li><a href="./ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
115
+
116
+ <li><a href="./Application.html">Application</a>
117
+
118
+ <li><a href="./Object.html">Object</a>
119
+
120
+ </ul>
121
+ </nav>
122
+
123
+ </div>
124
+ </nav>
125
+
126
+ <div id="documentation" class="description">
127
+
128
+ <p>Copyright © 2010 Capital Thought</p>
129
+
130
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
131
+ copy of this software and associated documentation files (the
132
+ “Software”), to deal in the Software without restriction, including
133
+ without limitation the rights to use, copy, modify, merge, publish,
134
+ distribute, sublicense, and/or sell copies of the Software, and to permit
135
+ persons to whom the Software is furnished to do so, subject to the
136
+ following conditions:</p>
137
+
138
+ <p>The above copyright notice and this permission notice shall be included in
139
+ all copies or substantial portions of the Software.</p>
140
+
141
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
142
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
143
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
144
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
145
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
146
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
147
+ DEALINGS IN THE SOFTWARE.</p>
148
+
149
+ </div>
150
+
151
+
152
+
153
+ <footer id="validator-badges">
154
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
155
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
156
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
157
+ </footer>
158
+