hobo 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/bin/hobo +0 -6
  2. data/hobo_files/plugin/CHANGES.txt +103 -0
  3. data/hobo_files/plugin/Rakefile +2 -0
  4. data/hobo_files/plugin/generators/hobo_rapid/hobo_rapid_generator.rb +1 -0
  5. data/hobo_files/plugin/generators/hobo_rapid/templates/IE7.js +2 -0
  6. data/hobo_files/plugin/generators/hobo_rapid/templates/hobo-rapid.js +28 -12
  7. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/{application.css → clean.css} +10 -9
  8. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +1 -1
  9. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/views/{application.dryml → clean.dryml} +0 -0
  10. data/hobo_files/plugin/init.rb +7 -3
  11. data/hobo_files/plugin/lib/hobo.rb +3 -1
  12. data/hobo_files/plugin/lib/hobo/bundle.rb +24 -14
  13. data/hobo_files/plugin/lib/hobo/dryml.rb +5 -1
  14. data/hobo_files/plugin/lib/hobo/dryml/dryml_builder.rb +1 -1
  15. data/hobo_files/plugin/lib/hobo/dryml/parser/base_parser.rb +11 -10
  16. data/hobo_files/plugin/lib/hobo/dryml/parser/document.rb +37 -10
  17. data/hobo_files/plugin/lib/hobo/dryml/template.rb +5 -22
  18. data/hobo_files/plugin/lib/hobo/dryml/template_environment.rb +1 -1
  19. data/hobo_files/plugin/lib/hobo/dryml/template_handler.rb +10 -2
  20. data/hobo_files/plugin/lib/hobo/hobo_helper.rb +7 -0
  21. data/hobo_files/plugin/lib/hobo/model.rb +18 -13
  22. data/hobo_files/plugin/lib/hobo/model_controller.rb +45 -54
  23. data/hobo_files/plugin/lib/hobo/model_router.rb +8 -1
  24. data/hobo_files/plugin/lib/hobo/scopes.rb +3 -4
  25. data/hobo_files/plugin/lib/hobo/scopes/automatic_scopes.rb +3 -0
  26. data/hobo_files/plugin/taglib-docs/core.markdown +165 -0
  27. data/hobo_files/plugin/taglib-docs/rapid.markdown +677 -0
  28. data/hobo_files/plugin/taglib-docs/rapid_document_tags.markdown +240 -0
  29. data/hobo_files/plugin/taglib-docs/rapid_editing.markdown +418 -0
  30. data/hobo_files/plugin/taglib-docs/rapid_forms.markdown +562 -0
  31. data/hobo_files/plugin/taglib-docs/rapid_generics.markdown +187 -0
  32. data/hobo_files/plugin/taglib-docs/rapid_navigation.markdown +214 -0
  33. data/hobo_files/plugin/taglib-docs/rapid_pages.markdown +530 -0
  34. data/hobo_files/plugin/taglib-docs/rapid_plus.markdown +65 -0
  35. data/hobo_files/plugin/taglib-docs/rapid_support.markdown +50 -0
  36. data/hobo_files/plugin/taglib-docs/rapid_user_pages.markdown +129 -0
  37. data/hobo_files/plugin/taglibs/rapid.dryml +2 -2
  38. data/hobo_files/plugin/taglibs/rapid_forms.dryml +7 -22
  39. data/hobo_files/plugin/taglibs/rapid_generics.dryml +14 -12
  40. data/hobo_files/plugin/taglibs/rapid_navigation.dryml +5 -4
  41. data/hobo_files/plugin/taglibs/rapid_pages.dryml +5 -1
  42. data/hobo_files/plugin/tasks/fix_dryml.rake +1 -1
  43. data/hobo_files/plugin/tasks/generate_tag_reference.rb +162 -0
  44. data/hobo_files/plugin/tasks/hobo_tasks.rake +17 -0
  45. metadata +46 -5
@@ -0,0 +1,240 @@
1
+ # Rapid Document Tags
2
+
3
+ * [<labelled-item-list>](#labelled-item-list)
4
+ * [<labelled-item>](#labelled-item)
5
+ * [<item-label>](#item-label)
6
+ * [<item-value>](#item-value)
7
+ * [<heading>](#heading)
8
+ * [<sub-heading>](#sub-heading)
9
+ * [<nav>](#nav)
10
+ * [<section>](#section)
11
+ * [<aside>](#aside)
12
+ * [<header>](#header)
13
+ * [<footer>](#footer)
14
+ * [<article>](#article)
15
+ * [<panel>](#panel)
16
+
17
+
18
+ ---
19
+
20
+ <a name="labelled-item-list">&nbsp;</a>
21
+ ## &lt;labelled-item-list&gt;
22
+
23
+
24
+
25
+ ### Attributes (merged with [&lt;table&gt;](#table))
26
+
27
+ None
28
+
29
+ ### Parameters
30
+
31
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
32
+ </li>
33
+ </ul>
34
+
35
+
36
+ ---
37
+
38
+ <a name="labelled-item">&nbsp;</a>
39
+ ## &lt;labelled-item&gt;
40
+
41
+
42
+
43
+ ### Attributes (merged with [&lt;tr&gt;](#tr))
44
+
45
+ None
46
+
47
+ ### Parameters
48
+
49
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
50
+ </li>
51
+ </ul>
52
+
53
+
54
+ ---
55
+
56
+ <a name="item-label">&nbsp;</a>
57
+ ## &lt;item-label&gt;
58
+
59
+
60
+
61
+ ### Attributes (merged with [&lt;th&gt;](#th))
62
+
63
+ None
64
+
65
+ ### Parameters
66
+
67
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
68
+ </li>
69
+ </ul>
70
+
71
+
72
+ ---
73
+
74
+ <a name="item-value">&nbsp;</a>
75
+ ## &lt;item-value&gt;
76
+
77
+
78
+
79
+ ### Attributes (merged with [&lt;td&gt;](#td))
80
+
81
+ None
82
+
83
+ ### Parameters
84
+
85
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
86
+ </li>
87
+ </ul>
88
+
89
+
90
+ ---
91
+
92
+ <a name="heading">&nbsp;</a>
93
+ ## &lt;heading&gt;
94
+
95
+
96
+
97
+ ### Attributes
98
+
99
+ None
100
+
101
+ ### Parameters
102
+
103
+ None
104
+
105
+
106
+ ---
107
+
108
+ <a name="sub-heading">&nbsp;</a>
109
+ ## &lt;sub-heading&gt;
110
+
111
+
112
+
113
+ ### Attributes
114
+
115
+ None
116
+
117
+ ### Parameters
118
+
119
+ None
120
+
121
+
122
+ ---
123
+
124
+ <a name="nav">&nbsp;</a>
125
+ ## &lt;nav&gt;
126
+
127
+
128
+
129
+ ### Attributes (merged with [&lt;div&gt;](#div))
130
+
131
+ None
132
+
133
+ ### Parameters
134
+
135
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
136
+ </li>
137
+ </ul>
138
+
139
+
140
+ ---
141
+
142
+ <a name="section">&nbsp;</a>
143
+ ## &lt;section&gt;
144
+
145
+ section represents a generic document or application section.
146
+
147
+ ### Attributes (merged with [&lt;div&gt;](#div))
148
+
149
+ * empty
150
+
151
+
152
+ ### Parameters
153
+
154
+ None
155
+
156
+
157
+ ---
158
+
159
+ <a name="aside">&nbsp;</a>
160
+ ## &lt;aside&gt;
161
+
162
+
163
+
164
+ ### Attributes (merged with [&lt;div&gt;](#div))
165
+
166
+ * empty
167
+
168
+
169
+ ### Parameters
170
+
171
+ None
172
+
173
+
174
+ ---
175
+
176
+ <a name="header">&nbsp;</a>
177
+ ## &lt;header&gt;
178
+
179
+
180
+
181
+ ### Attributes (merged with [&lt;div&gt;](#div))
182
+
183
+ * empty
184
+
185
+
186
+ ### Parameters
187
+
188
+ None
189
+
190
+
191
+ ---
192
+
193
+ <a name="footer">&nbsp;</a>
194
+ ## &lt;footer&gt;
195
+
196
+
197
+
198
+ ### Attributes (merged with [&lt;div&gt;](#div))
199
+
200
+ * empty
201
+
202
+
203
+ ### Parameters
204
+
205
+ None
206
+
207
+
208
+ ---
209
+
210
+ <a name="article">&nbsp;</a>
211
+ ## &lt;article&gt;
212
+
213
+ document, such as a blog entry or newspaper article.
214
+
215
+ ### Attributes (merged with [&lt;div&gt;](#div))
216
+
217
+ * empty
218
+
219
+
220
+ ### Parameters
221
+
222
+ None
223
+
224
+
225
+ ---
226
+
227
+ <a name="panel">&nbsp;</a>
228
+ ## &lt;panel&gt;
229
+
230
+ temporary tag
231
+
232
+ ### Attributes (merged with [&lt;div&gt;](#div))
233
+
234
+ None
235
+
236
+ ### Parameters
237
+
238
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
239
+ </li>
240
+ </ul>
@@ -0,0 +1,418 @@
1
+ # Rapid Editing
2
+
3
+ * [&lt;editor&gt;](#editor)
4
+ * [&lt;has-many-editor&gt;](#has-many-editor)
5
+ * [&lt;belongs-to-editor&gt;](#belongs-to-editor)
6
+ * [&lt;editor for=`"string"`&gt;](#editor--for-string)
7
+ * [&lt;editor for=`"text"`&gt;](#editor--for-text)
8
+ * [&lt;editor for=`"html"`&gt;](#editor--for-html)
9
+ * [&lt;editor for=`"datetime"`&gt;](#editor--for-datetime)
10
+ * [&lt;editor for=`"date"`&gt;](#editor--for-date)
11
+ * [&lt;editor for=`"integer"`&gt;](#editor--for-integer)
12
+ * [&lt;editor for=`"float"`&gt;](#editor--for-float)
13
+ * [&lt;editor for=`"password"`&gt;](#editor--for-password)
14
+ * [&lt;editor for=`"boolean"`&gt;](#editor--for-boolean)
15
+ * [&lt;editor for=`"big_integer"`&gt;](#editor--for-big_integer)
16
+ * [&lt;editor for=`"HoboFields::EnumString"`&gt;](#editor--for-HoboFields::EnumString)
17
+ * [&lt;autocompleter&gt;](#autocompleter)
18
+ * [&lt;belongs-to-menu-editor&gt;](#belongs-to-menu-editor)
19
+ * [&lt;belongs-to-autocompleting-editor&gt;](#belongs-to-autocompleting-editor)
20
+ * [&lt;string-select-editor&gt;](#string-select-editor)
21
+ * [&lt;boolean-checkbox-editor&gt;](#boolean-checkbox-editor)
22
+ * [&lt;sti-type-editor&gt;](#sti-type-editor)
23
+ * [&lt;integer-select-editor&gt;](#integer-select-editor)
24
+ * [&lt;has-many-checkbox-editor&gt;](#has-many-checkbox-editor)
25
+ * [&lt;has-many-checkbox-editors&gt;](#has-many-checkbox-editors)
26
+
27
+
28
+ ---
29
+
30
+ <a name="editor">&nbsp;</a>
31
+ ## &lt;editor&gt;
32
+
33
+
34
+
35
+ ### Attributes
36
+
37
+ None
38
+
39
+ ### Parameters
40
+
41
+ None
42
+
43
+
44
+ ---
45
+
46
+ <a name="has-many-editor">&nbsp;</a>
47
+ ## &lt;has-many-editor&gt;
48
+
49
+
50
+
51
+ ### Attributes (merged with [&lt;a&gt;](#a))
52
+
53
+ None
54
+
55
+ ### Parameters
56
+
57
+ None
58
+
59
+
60
+ ---
61
+
62
+ <a name="belongs-to-editor">&nbsp;</a>
63
+ ## &lt;belongs-to-editor&gt;
64
+
65
+
66
+
67
+ ### Attributes
68
+
69
+ None
70
+
71
+ ### Parameters
72
+
73
+ None
74
+
75
+
76
+ ---
77
+
78
+ <a name="editor--for-string">&nbsp;</a>
79
+ ## &lt;editor for=`"string"`&gt;
80
+
81
+
82
+
83
+ ### Attributes
84
+
85
+ None
86
+
87
+ ### Parameters
88
+
89
+ None
90
+
91
+
92
+ ---
93
+
94
+ <a name="editor--for-text">&nbsp;</a>
95
+ ## &lt;editor for=`"text"`&gt;
96
+
97
+
98
+
99
+ ### Attributes
100
+
101
+ None
102
+
103
+ ### Parameters
104
+
105
+ None
106
+
107
+
108
+ ---
109
+
110
+ <a name="editor--for-html">&nbsp;</a>
111
+ ## &lt;editor for=`"html"`&gt;
112
+
113
+
114
+
115
+ ### Attributes
116
+
117
+ None
118
+
119
+ ### Parameters
120
+
121
+ None
122
+
123
+
124
+ ---
125
+
126
+ <a name="editor--for-datetime">&nbsp;</a>
127
+ ## &lt;editor for=`"datetime"`&gt;
128
+
129
+
130
+
131
+ ### Attributes
132
+
133
+ None
134
+
135
+ ### Parameters
136
+
137
+ None
138
+
139
+
140
+ ---
141
+
142
+ <a name="editor--for-date">&nbsp;</a>
143
+ ## &lt;editor for=`"date"`&gt;
144
+
145
+
146
+
147
+ ### Attributes
148
+
149
+ None
150
+
151
+ ### Parameters
152
+
153
+ None
154
+
155
+
156
+ ---
157
+
158
+ <a name="editor--for-integer">&nbsp;</a>
159
+ ## &lt;editor for=`"integer"`&gt;
160
+
161
+
162
+
163
+ ### Attributes
164
+
165
+ None
166
+
167
+ ### Parameters
168
+
169
+ None
170
+
171
+
172
+ ---
173
+
174
+ <a name="editor--for-float">&nbsp;</a>
175
+ ## &lt;editor for=`"float"`&gt;
176
+
177
+
178
+
179
+ ### Attributes
180
+
181
+ None
182
+
183
+ ### Parameters
184
+
185
+ None
186
+
187
+
188
+ ---
189
+
190
+ <a name="editor--for-password">&nbsp;</a>
191
+ ## &lt;editor for=`"password"`&gt;
192
+
193
+
194
+
195
+ ### Attributes
196
+
197
+ None
198
+
199
+ ### Parameters
200
+
201
+ None
202
+
203
+
204
+ ---
205
+
206
+ <a name="editor--for-boolean">&nbsp;</a>
207
+ ## &lt;editor for=`"boolean"`&gt;
208
+
209
+
210
+
211
+ ### Attributes (merged with [&lt;boolean-checkbox-editor&gt;](#boolean-checkbox-editor))
212
+
213
+ None
214
+
215
+ ### Parameters
216
+
217
+ None
218
+
219
+
220
+ ---
221
+
222
+ <a name="editor--for-big_integer">&nbsp;</a>
223
+ ## &lt;editor for=`"big_integer"`&gt;
224
+
225
+
226
+
227
+ ### Attributes
228
+
229
+ None
230
+
231
+ ### Parameters
232
+
233
+ None
234
+
235
+
236
+ ---
237
+
238
+ <a name="editor--for-HoboFields::EnumString">&nbsp;</a>
239
+ ## &lt;editor for=`"HoboFields::EnumString"`&gt;
240
+
241
+
242
+
243
+ ### Attributes (merged with [&lt;string-select-editor&gt;](#string-select-editor))
244
+
245
+ None
246
+
247
+ ### Parameters (merged with [&lt;string-select-editor&gt;](#string-select-editor))
248
+
249
+ None
250
+
251
+
252
+ ---
253
+
254
+ <a name="autocompleter">&nbsp;</a>
255
+ ## &lt;autocompleter&gt;
256
+
257
+
258
+
259
+ ### Attributes (merged with [&lt;input&gt;](#input))
260
+
261
+ * completer-model
262
+ * completer-attr
263
+ * id
264
+ * filter
265
+ * name
266
+ * value
267
+
268
+
269
+ ### Parameters
270
+
271
+ None
272
+
273
+
274
+ ---
275
+
276
+ <a name="belongs-to-menu-editor">&nbsp;</a>
277
+ ## &lt;belongs-to-menu-editor&gt;
278
+
279
+
280
+
281
+ ### Attributes
282
+
283
+ * sort
284
+
285
+
286
+ ### Parameters
287
+
288
+ None
289
+
290
+
291
+ ---
292
+
293
+ <a name="belongs-to-autocompleting-editor">&nbsp;</a>
294
+ ## &lt;belongs-to-autocompleting-editor&gt;
295
+
296
+
297
+
298
+ ### Attributes (merged with [&lt;input&gt;](#input))
299
+
300
+ * update
301
+
302
+
303
+ ### Parameters
304
+
305
+ None
306
+
307
+
308
+ ---
309
+
310
+ <a name="string-select-editor">&nbsp;</a>
311
+ ## &lt;string-select-editor&gt;
312
+
313
+
314
+
315
+ ### Attributes (merged with [&lt;select&gt;](#select))
316
+
317
+ * update
318
+ * values
319
+
320
+
321
+ ### Parameters
322
+
323
+ None
324
+
325
+
326
+ ---
327
+
328
+ <a name="boolean-checkbox-editor">&nbsp;</a>
329
+ ## &lt;boolean-checkbox-editor&gt;
330
+
331
+
332
+
333
+ ### Attributes (merged with [&lt;input&gt;](#input))
334
+
335
+ * update
336
+ * message
337
+
338
+
339
+ ### Parameters
340
+
341
+ None
342
+
343
+
344
+ ---
345
+
346
+ <a name="sti-type-editor">&nbsp;</a>
347
+ ## &lt;sti-type-editor&gt;
348
+
349
+
350
+
351
+ ### Attributes
352
+
353
+ * update
354
+
355
+
356
+ ### Parameters
357
+
358
+ None
359
+
360
+
361
+ ---
362
+
363
+ <a name="integer-select-editor">&nbsp;</a>
364
+ ## &lt;integer-select-editor&gt;
365
+
366
+
367
+
368
+ ### Attributes (merged with [&lt;select&gt;](#select))
369
+
370
+ * min
371
+ * max
372
+ * update
373
+ * nil-option
374
+ * message
375
+
376
+
377
+ ### Parameters
378
+
379
+ None
380
+
381
+
382
+ ---
383
+
384
+ <a name="has-many-checkbox-editor">&nbsp;</a>
385
+ ## &lt;has-many-checkbox-editor&gt;
386
+
387
+
388
+
389
+ ### Attributes
390
+
391
+ * model
392
+ * update
393
+ * message
394
+
395
+
396
+ ### Parameters
397
+
398
+ None
399
+
400
+
401
+ ---
402
+
403
+ <a name="has-many-checkbox-editors">&nbsp;</a>
404
+ ## &lt;has-many-checkbox-editors&gt;
405
+
406
+
407
+
408
+ ### Attributes (merged with [&lt;has-many-checkbox-editor&gt;](#has-many-checkbox-editor))
409
+
410
+ None
411
+
412
+ ### Parameters
413
+
414
+ <ul><li>&lt;editor:&gt; (&lt;has-many-checkbox-editor&gt;)
415
+ </li>
416
+ <li>&lt;name:&gt;
417
+ </li>
418
+ </ul>