hobo 0.7.4 → 0.7.5

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.
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,562 @@
1
+ # Rapid Forms
2
+
3
+ * [<hidden-fields>](#hidden-fields)
4
+ * [<form>](#form)
5
+ * [<submit>](#submit)
6
+ * [<input>](#input)
7
+ * [<input for=`"text"`>](#input--for-text)
8
+ * [<input for=`"boolean"`>](#input--for-boolean)
9
+ * [<input for=`"password"`>](#input--for-password)
10
+ * [<input for=`"html"`>](#input--for-html)
11
+ * [<input for=`"date"`>](#input--for-date)
12
+ * [<input for=`"datetime"`>](#input--for-datetime)
13
+ * [<input for=`"integer"`>](#input--for-integer)
14
+ * [<input for=`"float"`>](#input--for-float)
15
+ * [<input for=`"string"`>](#input--for-string)
16
+ * [<input for=`"big_integer"`>](#input--for-big_integer)
17
+ * [<input for=`"HoboFields::EnumString"`>](#input--for-HoboFields::EnumString)
18
+ * [<remote-method-button>](#remote-method-button)
19
+ * [<update-button>](#update-button)
20
+ * [<delete-button>](#delete-button)
21
+ * [<create-button>](#create-button)
22
+ * [<select-one>](#select-one)
23
+ * [<name-one>](#name-one)
24
+ * [<sti-type-input>](#sti-type-input)
25
+ * [<select-input>](#select-input)
26
+ * [<error-messages>](#error-messages)
27
+ * [<select-many>](#select-many)
28
+ * [<after-submit>](#after-submit)
29
+ * [<hidden-field>](#hidden-field)
30
+ * [<select-menu>](#select-menu)
31
+
32
+
33
+ ---
34
+
35
+ <a name="hidden-fields">&nbsp;</a>
36
+ ## &lt;hidden-fields&gt;
37
+
38
+
39
+
40
+ ### Attributes
41
+
42
+ * fields
43
+ * skip
44
+ * for-query-string
45
+
46
+
47
+ ### Parameters
48
+
49
+ None
50
+
51
+
52
+ ---
53
+
54
+ <a name="form">&nbsp;</a>
55
+ ## &lt;form&gt;
56
+
57
+
58
+
59
+ ### Attributes
60
+
61
+ * update
62
+ * hidden-fields
63
+ * action
64
+ * method
65
+ * web-method
66
+
67
+
68
+ ### Parameters
69
+
70
+ None
71
+
72
+
73
+ ---
74
+
75
+ <a name="submit">&nbsp;</a>
76
+ ## &lt;submit&gt;
77
+
78
+
79
+
80
+ ### Attributes (merged with [&lt;input&gt;](#input))
81
+
82
+ * label
83
+ * image
84
+
85
+
86
+ ### Parameters
87
+
88
+ None
89
+
90
+
91
+ ---
92
+
93
+ <a name="input">&nbsp;</a>
94
+ ## &lt;input&gt;
95
+
96
+
97
+
98
+ ### Attributes
99
+
100
+ None
101
+
102
+ ### Parameters
103
+
104
+ None
105
+
106
+
107
+ ---
108
+
109
+ <a name="input--for-text">&nbsp;</a>
110
+ ## &lt;input for=`"text"`&gt;
111
+
112
+
113
+
114
+ ### Attributes
115
+
116
+ * name
117
+
118
+
119
+ ### Parameters
120
+
121
+ None
122
+
123
+
124
+ ---
125
+
126
+ <a name="input--for-boolean">&nbsp;</a>
127
+ ## &lt;input for=`"boolean"`&gt;
128
+
129
+
130
+
131
+ ### Attributes
132
+
133
+ * name
134
+
135
+
136
+ ### Parameters
137
+
138
+ None
139
+
140
+
141
+ ---
142
+
143
+ <a name="input--for-password">&nbsp;</a>
144
+ ## &lt;input for=`"password"`&gt;
145
+
146
+
147
+
148
+ ### Attributes
149
+
150
+ * name
151
+
152
+
153
+ ### Parameters
154
+
155
+ None
156
+
157
+
158
+ ---
159
+
160
+ <a name="input--for-html">&nbsp;</a>
161
+ ## &lt;input for=`"html"`&gt;
162
+
163
+
164
+
165
+ ### Attributes
166
+
167
+ * name
168
+
169
+
170
+ ### Parameters
171
+
172
+ None
173
+
174
+
175
+ ---
176
+
177
+ <a name="input--for-date">&nbsp;</a>
178
+ ## &lt;input for=`"date"`&gt;
179
+
180
+
181
+
182
+ ### Attributes
183
+
184
+ * order
185
+
186
+
187
+ ### Parameters
188
+
189
+ None
190
+
191
+
192
+ ---
193
+
194
+ <a name="input--for-datetime">&nbsp;</a>
195
+ ## &lt;input for=`"datetime"`&gt;
196
+
197
+
198
+
199
+ ### Attributes
200
+
201
+ * order
202
+
203
+
204
+ ### Parameters
205
+
206
+ None
207
+
208
+
209
+ ---
210
+
211
+ <a name="input--for-integer">&nbsp;</a>
212
+ ## &lt;input for=`"integer"`&gt;
213
+
214
+
215
+
216
+ ### Attributes
217
+
218
+ * name
219
+
220
+
221
+ ### Parameters
222
+
223
+ None
224
+
225
+
226
+ ---
227
+
228
+ <a name="input--for-float">&nbsp;</a>
229
+ ## &lt;input for=`"float"`&gt;
230
+
231
+
232
+
233
+ ### Attributes
234
+
235
+ * name
236
+
237
+
238
+ ### Parameters
239
+
240
+ None
241
+
242
+
243
+ ---
244
+
245
+ <a name="input--for-string">&nbsp;</a>
246
+ ## &lt;input for=`"string"`&gt;
247
+
248
+
249
+
250
+ ### Attributes
251
+
252
+ * name
253
+
254
+
255
+ ### Parameters
256
+
257
+ None
258
+
259
+
260
+ ---
261
+
262
+ <a name="input--for-big_integer">&nbsp;</a>
263
+ ## &lt;input for=`"big_integer"`&gt;
264
+
265
+
266
+
267
+ ### Attributes
268
+
269
+ * name
270
+
271
+
272
+ ### Parameters
273
+
274
+ None
275
+
276
+
277
+ ---
278
+
279
+ <a name="input--for-HoboFields::EnumString">&nbsp;</a>
280
+ ## &lt;input for=`"HoboFields::EnumString"`&gt;
281
+
282
+
283
+
284
+ ### Attributes (merged with [&lt;select&gt;](#select))
285
+
286
+ * labels
287
+ * titleize
288
+
289
+
290
+ ### Parameters
291
+
292
+ None
293
+
294
+
295
+ ---
296
+
297
+ <a name="remote-method-button">&nbsp;</a>
298
+ ## &lt;remote-method-button&gt;
299
+
300
+
301
+
302
+ ### Attributes
303
+
304
+ * method
305
+ * update
306
+ * label
307
+
308
+
309
+ ### Parameters
310
+
311
+ None
312
+
313
+
314
+ ---
315
+
316
+ <a name="update-button">&nbsp;</a>
317
+ ## &lt;update-button&gt;
318
+
319
+
320
+
321
+ ### Attributes
322
+
323
+ * label
324
+ * update
325
+ * fields
326
+ * params
327
+
328
+
329
+ ### Parameters
330
+
331
+ None
332
+
333
+
334
+ ---
335
+
336
+ <a name="delete-button">&nbsp;</a>
337
+ ## &lt;delete-button&gt;
338
+
339
+
340
+
341
+ ### Attributes
342
+
343
+ * label
344
+ * update
345
+ * in-place
346
+ * image
347
+ * confirm
348
+ * fade
349
+ * subsite
350
+
351
+
352
+ ### Parameters
353
+
354
+ None
355
+
356
+
357
+ ---
358
+
359
+ <a name="create-button">&nbsp;</a>
360
+ ## &lt;create-button&gt;
361
+
362
+
363
+
364
+ ### Attributes
365
+
366
+ * model
367
+ * update
368
+ * label
369
+ * fields
370
+ * message
371
+
372
+
373
+ ### Parameters
374
+
375
+ None
376
+
377
+
378
+ ---
379
+
380
+ <a name="select-one">&nbsp;</a>
381
+ ## &lt;select-one&gt;
382
+
383
+
384
+
385
+ ### Attributes (merged with [&lt;select&gt;](#select))
386
+
387
+ * include-none
388
+ * blank-message
389
+ * options
390
+ * sort
391
+
392
+
393
+ ### Parameters
394
+
395
+ None
396
+
397
+
398
+ ---
399
+
400
+ <a name="name-one">&nbsp;</a>
401
+ ## &lt;name-one&gt;
402
+
403
+
404
+
405
+ ### Attributes (merged with [&lt;input&gt;](#input))
406
+
407
+ * complete-target
408
+ * completer
409
+
410
+
411
+ ### Parameters
412
+
413
+ None
414
+
415
+
416
+ ---
417
+
418
+ <a name="sti-type-input">&nbsp;</a>
419
+ ## &lt;sti-type-input&gt;
420
+
421
+
422
+
423
+ ### Attributes
424
+
425
+ None
426
+
427
+ ### Parameters
428
+
429
+ None
430
+
431
+
432
+ ---
433
+
434
+ <a name="select-input">&nbsp;</a>
435
+ ## &lt;select-input&gt;
436
+
437
+
438
+
439
+ ### Attributes
440
+
441
+ None
442
+
443
+ ### Parameters
444
+
445
+ <ul><li>&lt;default:&gt; (&lt;do&gt;)
446
+ </li>
447
+ </ul>
448
+
449
+
450
+ ---
451
+
452
+ <a name="error-messages">&nbsp;</a>
453
+ ## &lt;error-messages&gt;
454
+
455
+
456
+
457
+ ### Attributes (merged with [&lt;section&gt;](#section))
458
+
459
+ None
460
+
461
+ ### Parameters
462
+
463
+ <ul><li>&lt;heading:&gt; (&lt;h2&gt;)
464
+ </li>
465
+ <li>&lt;errors.full_messages:&gt;
466
+ <ul><li>&lt;li:&gt;
467
+ </li>
468
+ </ul></li>
469
+ </ul>
470
+
471
+
472
+ ---
473
+
474
+ <a name="select-many">&nbsp;</a>
475
+ ## &lt;select-many&gt;
476
+
477
+
478
+
479
+ ### Attributes (merged with [&lt;div&gt;](#div))
480
+
481
+ * options
482
+ * targets
483
+ * remove-label
484
+ * prompt
485
+
486
+
487
+ ### Parameters
488
+
489
+ <ul><li>&lt;proto-item:&gt; (&lt;div&gt;)
490
+ <ul><li>&lt;proto-hidden:&gt; (&lt;input&gt;)
491
+ </li>
492
+ <li>&lt;proto-remove-button:&gt; (&lt;input&gt;)
493
+ </li>
494
+ </ul></li>
495
+ <li>&lt;item:&gt; (&lt;div&gt;)
496
+ <ul><li>&lt;hidden:&gt; (&lt;input&gt;)
497
+ </li>
498
+ <li>&lt;remove-button:&gt; (&lt;input&gt;)
499
+ </li>
500
+ </ul></li>
501
+ </ul>
502
+
503
+
504
+ ---
505
+
506
+ <a name="after-submit">&nbsp;</a>
507
+ ## &lt;after-submit&gt;
508
+
509
+
510
+
511
+ ### Attributes
512
+
513
+ * uri
514
+ * stay-here
515
+ * go-back
516
+
517
+
518
+ ### Parameters
519
+
520
+ None
521
+
522
+
523
+ ---
524
+
525
+ <a name="hidden-field">&nbsp;</a>
526
+ ## &lt;hidden-field&gt;
527
+
528
+
529
+
530
+ ### Attributes (merged with [&lt;input&gt;](#input))
531
+
532
+ * name
533
+ * value
534
+
535
+
536
+ ### Parameters
537
+
538
+ None
539
+
540
+
541
+ ---
542
+
543
+ <a name="select-menu">&nbsp;</a>
544
+ ## &lt;select-menu&gt;
545
+
546
+
547
+
548
+ ### Attributes (merged with [&lt;select&gt;](#select))
549
+
550
+ * options
551
+ * selected
552
+ * first-option
553
+ * first-value
554
+
555
+
556
+ ### Parameters
557
+
558
+ <ul><li>&lt;default:&gt; (&lt;select&gt;)
559
+ <ul><li>&lt;options:&gt; (&lt;do&gt;)
560
+ </li>
561
+ </ul></li>
562
+ </ul>