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