compony 0.11.8 → 0.11.10
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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.yardopts +36 -1
- data/CHANGELOG.md +43 -0
- data/CLAUDE.md +85 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -3
- data/VERSION +1 -1
- data/compony.gemspec +4 -4
- data/doc/ComponentGenerator.html +2 -2
- data/doc/Components.html +2 -2
- data/doc/ComponentsGenerator.html +2 -2
- data/doc/Compony/Component.html +55 -55
- data/doc/Compony/ComponentMixins/Default/Labelling.html +2 -2
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +2 -2
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +110 -71
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +65 -29
- data/doc/Compony/ComponentMixins/Default/Standalone.html +2 -2
- data/doc/Compony/ComponentMixins/Default.html +2 -2
- data/doc/Compony/ComponentMixins/Resourceful.html +214 -75
- data/doc/Compony/ComponentMixins.html +2 -2
- data/doc/Compony/Components/Buttons/CssButton.html +2 -2
- data/doc/Compony/Components/Buttons/Link.html +2 -2
- data/doc/Compony/Components/Buttons.html +2 -2
- data/doc/Compony/Components/Destroy.html +84 -30
- data/doc/Compony/Components/Edit.html +111 -39
- data/doc/Compony/Components/Form.html +552 -209
- data/doc/Compony/Components/Index.html +2 -2
- data/doc/Compony/Components/List.html +51 -35
- data/doc/Compony/Components/New.html +111 -39
- data/doc/Compony/Components/Show.html +2 -2
- data/doc/Compony/Components/WithForm.html +195 -48
- data/doc/Compony/Components.html +2 -2
- data/doc/Compony/ControllerMixin.html +2 -2
- data/doc/Compony/Engine.html +2 -2
- data/doc/Compony/Intent.html +3 -3
- data/doc/Compony/ManageIntentsDsl.html +2 -2
- data/doc/Compony/MethodAccessibleHash.html +2 -2
- data/doc/Compony/ModelFields/Anchormodel.html +2 -2
- data/doc/Compony/ModelFields/Association.html +2 -2
- data/doc/Compony/ModelFields/Attachment.html +2 -2
- data/doc/Compony/ModelFields/Base.html +2 -2
- data/doc/Compony/ModelFields/Boolean.html +2 -2
- data/doc/Compony/ModelFields/Color.html +2 -2
- data/doc/Compony/ModelFields/Currency.html +2 -2
- data/doc/Compony/ModelFields/Date.html +2 -2
- data/doc/Compony/ModelFields/Datetime.html +2 -2
- data/doc/Compony/ModelFields/Decimal.html +2 -2
- data/doc/Compony/ModelFields/Email.html +2 -2
- data/doc/Compony/ModelFields/Float.html +2 -2
- data/doc/Compony/ModelFields/Integer.html +2 -2
- data/doc/Compony/ModelFields/Percentage.html +2 -2
- data/doc/Compony/ModelFields/Phone.html +2 -2
- data/doc/Compony/ModelFields/RichText.html +2 -2
- data/doc/Compony/ModelFields/String.html +2 -2
- data/doc/Compony/ModelFields/Text.html +2 -2
- data/doc/Compony/ModelFields/Time.html +2 -2
- data/doc/Compony/ModelFields/Url.html +2 -2
- data/doc/Compony/ModelFields.html +2 -2
- data/doc/Compony/ModelMixin.html +36 -36
- data/doc/Compony/NaturalOrdering.html +2 -2
- data/doc/Compony/RequestContext.html +2 -2
- data/doc/Compony/Version.html +2 -2
- data/doc/Compony/ViewHelpers.html +2 -2
- data/doc/Compony/VirtualModel.html +2 -2
- data/doc/Compony.html +33 -37
- data/doc/ComponyController.html +2 -2
- data/doc/_index.html +98 -2
- data/doc/file.CHANGELOG.html +765 -0
- data/doc/file.README.html +26 -5
- data/doc/file.basic_component.html +314 -0
- data/doc/file.cookbook.html +189 -0
- data/doc/file.destroy.html +105 -0
- data/doc/file.dsl_reference.html +672 -0
- data/doc/file.edit.html +109 -0
- data/doc/file.example.html +291 -0
- data/doc/file.example_advanced.html +257 -0
- data/doc/file.feasibility.html +115 -0
- data/doc/file.form.html +195 -0
- data/doc/file.generators.html +89 -0
- data/doc/file.glossary.html +217 -0
- data/doc/file.gotchas.html +222 -0
- data/doc/file.index.html +135 -0
- data/doc/file.inheritance.html +136 -0
- data/doc/file.installation.html +115 -0
- data/doc/file.integrations.html +218 -0
- data/doc/file.intents.html +265 -0
- data/doc/file.internal_datastructures.html +129 -0
- data/doc/file.list.html +253 -0
- data/doc/file.maintaining.html +127 -0
- data/doc/file.model_fields.html +137 -0
- data/doc/file.nesting.html +237 -0
- data/doc/file.new.html +109 -0
- data/doc/file.ownership.html +98 -0
- data/doc/file.patterns.html +669 -0
- data/doc/file.pre_built_components.html +99 -0
- data/doc/file.resourceful.html +181 -0
- data/doc/file.show.html +158 -0
- data/doc/file.standalone.html +233 -0
- data/doc/file.virtual_models.html +117 -0
- data/doc/file.with_form.html +157 -0
- data/doc/file_list.html +160 -0
- data/doc/guide/cookbook.md +41 -0
- data/doc/guide/dsl_reference.md +155 -0
- data/doc/guide/example_advanced.md +209 -0
- data/doc/guide/generators.md +1 -1
- data/doc/guide/glossary.md +42 -0
- data/doc/guide/gotchas.md +125 -0
- data/doc/guide/maintaining.md +64 -0
- data/doc/guide/patterns.md +681 -0
- data/doc/guide/pre_built_components/edit.md +1 -1
- data/doc/guide/pre_built_components/index.md +64 -1
- data/doc/guide/pre_built_components/list.md +111 -7
- data/doc/guide/pre_built_components/show.md +57 -2
- data/doc/guide/pre_built_components/with_form.md +56 -9
- data/doc/guide/pre_built_components.md +7 -2
- data/doc/guide/standalone.md +16 -1
- data/doc/index.html +26 -5
- data/doc/integrations.md +61 -0
- data/doc/llms.txt +62 -0
- data/doc/top-level-namespace.html +2 -2
- data/lib/compony/component.rb +8 -3
- data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +32 -15
- data/lib/compony/component_mixins/default/standalone/verb_dsl.rb +11 -3
- data/lib/compony/component_mixins/resourceful.rb +30 -16
- data/lib/compony/components/destroy.rb +21 -1
- data/lib/compony/components/edit.rb +25 -1
- data/lib/compony/components/form.rb +63 -21
- data/lib/compony/components/list.rb +9 -1
- data/lib/compony/components/new.rb +25 -1
- data/lib/compony/components/with_form.rb +20 -5
- data/lib/compony/intent.rb +1 -1
- data/lib/compony/model_mixin.rb +66 -3
- data/lib/compony.rb +4 -6
- metadata +44 -2
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.34 (ruby-3.
|
|
227
|
+
0.9.34 (ruby-3.4.9).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
|
-
0.9.34 (ruby-3.
|
|
149
|
+
0.9.34 (ruby-3.4.9).
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
</div>
|
|
@@ -230,9 +230,9 @@
|
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<div id="footer">
|
|
233
|
-
Generated on
|
|
233
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
234
234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
|
-
0.9.34 (ruby-3.
|
|
235
|
+
0.9.34 (ruby-3.4.9).
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
</div>
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
|
-
0.9.34 (ruby-3.
|
|
149
|
+
0.9.34 (ruby-3.4.9).
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
</div>
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.34 (ruby-3.
|
|
227
|
+
0.9.34 (ruby-3.4.9).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.34 (ruby-3.
|
|
227
|
+
0.9.34 (ruby-3.4.9).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -291,9 +291,9 @@
|
|
|
291
291
|
</div>
|
|
292
292
|
|
|
293
293
|
<div id="footer">
|
|
294
|
-
Generated on
|
|
294
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
295
295
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
296
|
-
0.9.34 (ruby-3.
|
|
296
|
+
0.9.34 (ruby-3.4.9).
|
|
297
297
|
</div>
|
|
298
298
|
|
|
299
299
|
</div>
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.34 (ruby-3.
|
|
227
|
+
0.9.34 (ruby-3.4.9).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
|
-
0.9.34 (ruby-3.
|
|
149
|
+
0.9.34 (ruby-3.4.9).
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
</div>
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
|
-
0.9.34 (ruby-3.
|
|
149
|
+
0.9.34 (ruby-3.4.9).
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
</div>
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
|
-
0.9.34 (ruby-3.
|
|
149
|
+
0.9.34 (ruby-3.4.9).
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
</div>
|
|
@@ -230,9 +230,9 @@
|
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<div id="footer">
|
|
233
|
-
Generated on
|
|
233
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
234
234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
|
-
0.9.34 (ruby-3.
|
|
235
|
+
0.9.34 (ruby-3.4.9).
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
</div>
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
|
-
0.9.34 (ruby-3.
|
|
121
|
+
0.9.34 (ruby-3.4.9).
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
</div>
|
data/doc/Compony/ModelMixin.html
CHANGED
|
@@ -269,14 +269,14 @@
|
|
|
269
269
|
<pre class="lines">
|
|
270
270
|
|
|
271
271
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
181
|
|
273
|
+
182
|
|
274
|
+
183
|
|
275
|
+
184
|
|
276
|
+
185</pre>
|
|
277
277
|
</td>
|
|
278
278
|
<td>
|
|
279
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
279
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 181</span>
|
|
280
280
|
|
|
281
281
|
<span class='kw'>def</span> <span class='id identifier rubyid_feasibility_messages'>feasibility_messages</span><span class='lparen'>(</span><span class='id identifier rubyid_action_name'>action_name</span><span class='rparen'>)</span>
|
|
282
282
|
<span class='id identifier rubyid_action_name'>action_name</span> <span class='op'>=</span> <span class='id identifier rubyid_action_name'>action_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
@@ -365,26 +365,26 @@
|
|
|
365
365
|
<pre class="lines">
|
|
366
366
|
|
|
367
367
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
368
|
+
160
|
|
369
|
+
161
|
|
370
|
+
162
|
|
371
|
+
163
|
|
372
|
+
164
|
|
373
|
+
165
|
|
374
|
+
166
|
|
375
|
+
167
|
|
376
|
+
168
|
|
377
|
+
169
|
|
378
|
+
170
|
|
379
|
+
171
|
|
380
|
+
172
|
|
381
|
+
173
|
|
382
|
+
174
|
|
383
|
+
175
|
|
384
|
+
176</pre>
|
|
385
385
|
</td>
|
|
386
386
|
<td>
|
|
387
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
387
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 160</span>
|
|
388
388
|
|
|
389
389
|
<span class='kw'>def</span> <span class='id identifier rubyid_feasible?'>feasible?</span><span class='lparen'>(</span><span class='id identifier rubyid_action_name'>action_name</span><span class='comma'>,</span> <span class='label'>recompute:</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
390
390
|
<span class='id identifier rubyid_action_name'>action_name</span> <span class='op'>=</span> <span class='id identifier rubyid_action_name'>action_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
@@ -434,12 +434,12 @@
|
|
|
434
434
|
<pre class="lines">
|
|
435
435
|
|
|
436
436
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
198
|
|
438
|
+
199
|
|
439
|
+
200</pre>
|
|
440
440
|
</td>
|
|
441
441
|
<td>
|
|
442
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
442
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 198</span>
|
|
443
443
|
|
|
444
444
|
<span class='kw'>def</span> <span class='id identifier rubyid_field'>field</span><span class='lparen'>(</span><span class='id identifier rubyid_field_name'>field_name</span><span class='comma'>,</span> <span class='id identifier rubyid_controller'>controller</span><span class='rparen'>)</span>
|
|
445
445
|
<span class='id identifier rubyid_fields'>fields</span><span class='lbracket'>[</span><span class='id identifier rubyid_field_name'>field_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_value_for'>value_for</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='label'>controller:</span><span class='rparen'>)</span>
|
|
@@ -495,14 +495,14 @@
|
|
|
495
495
|
<pre class="lines">
|
|
496
496
|
|
|
497
497
|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
498
|
+
191
|
|
499
|
+
192
|
|
500
|
+
193
|
|
501
|
+
194
|
|
502
|
+
195</pre>
|
|
503
503
|
</td>
|
|
504
504
|
<td>
|
|
505
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
505
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 191</span>
|
|
506
506
|
|
|
507
507
|
<span class='kw'>def</span> <span class='id identifier rubyid_full_feasibility_messages'>full_feasibility_messages</span><span class='lparen'>(</span><span class='id identifier rubyid_action_name'>action_name</span><span class='rparen'>)</span>
|
|
508
508
|
<span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_feasibility_messages'>feasibility_messages</span><span class='lparen'>(</span><span class='id identifier rubyid_action_name'>action_name</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>, </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_upcase_first'>upcase_first</span>
|
|
@@ -519,9 +519,9 @@
|
|
|
519
519
|
</div>
|
|
520
520
|
|
|
521
521
|
<div id="footer">
|
|
522
|
-
Generated on
|
|
522
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
523
523
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
524
|
-
0.9.34 (ruby-3.
|
|
524
|
+
0.9.34 (ruby-3.4.9).
|
|
525
525
|
</div>
|
|
526
526
|
|
|
527
527
|
</div>
|
|
@@ -290,9 +290,9 @@
|
|
|
290
290
|
</div>
|
|
291
291
|
|
|
292
292
|
<div id="footer">
|
|
293
|
-
Generated on
|
|
293
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
294
294
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
295
|
-
0.9.34 (ruby-3.
|
|
295
|
+
0.9.34 (ruby-3.4.9).
|
|
296
296
|
</div>
|
|
297
297
|
|
|
298
298
|
</div>
|
|
@@ -1149,9 +1149,9 @@
|
|
|
1149
1149
|
</div>
|
|
1150
1150
|
|
|
1151
1151
|
<div id="footer">
|
|
1152
|
-
Generated on
|
|
1152
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
1153
1153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1154
|
-
0.9.34 (ruby-3.
|
|
1154
|
+
0.9.34 (ruby-3.4.9).
|
|
1155
1155
|
</div>
|
|
1156
1156
|
|
|
1157
1157
|
</div>
|
data/doc/Compony/Version.html
CHANGED
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
|
|
131
131
|
<div id="footer">
|
|
132
|
-
Generated on
|
|
132
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
133
133
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
134
|
-
0.9.34 (ruby-3.
|
|
134
|
+
0.9.34 (ruby-3.4.9).
|
|
135
135
|
</div>
|
|
136
136
|
|
|
137
137
|
</div>
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.34 (ruby-3.
|
|
227
|
+
0.9.34 (ruby-3.4.9).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -228,9 +228,9 @@
|
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
<div id="footer">
|
|
231
|
-
Generated on
|
|
231
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
232
232
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
233
|
-
0.9.34 (ruby-3.
|
|
233
|
+
0.9.34 (ruby-3.4.9).
|
|
234
234
|
</div>
|
|
235
235
|
|
|
236
236
|
</div>
|
data/doc/Compony.html
CHANGED
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
<li class="public ">
|
|
424
424
|
<span class="summary_signature">
|
|
425
425
|
|
|
426
|
-
<a href="#intent-class_method" title="intent (class method)">.<strong>intent</strong>(
|
|
426
|
+
<a href="#intent-class_method" title="intent (class method)">.<strong>intent</strong>(*args) ⇒ Object </a>
|
|
427
427
|
|
|
428
428
|
|
|
429
429
|
|
|
@@ -837,14 +837,14 @@
|
|
|
837
837
|
<pre class="lines">
|
|
838
838
|
|
|
839
839
|
|
|
840
|
+
139
|
|
841
|
+
140
|
|
840
842
|
141
|
|
841
843
|
142
|
|
842
|
-
143
|
|
843
|
-
144
|
|
844
|
-
145</pre>
|
|
844
|
+
143</pre>
|
|
845
845
|
</td>
|
|
846
846
|
<td>
|
|
847
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
847
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 139</span>
|
|
848
848
|
|
|
849
849
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_comp_class_for'>comp_class_for</span><span class='lparen'>(</span><span class='op'>...</span><span class='rparen'>)</span>
|
|
850
850
|
<span class='kw'>return</span> <span class='id identifier rubyid_intent'>intent</span><span class='lparen'>(</span><span class='op'>...</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_comp_class'>comp_class</span>
|
|
@@ -891,14 +891,14 @@
|
|
|
891
891
|
<pre class="lines">
|
|
892
892
|
|
|
893
893
|
|
|
894
|
+
148
|
|
895
|
+
149
|
|
894
896
|
150
|
|
895
897
|
151
|
|
896
|
-
152
|
|
897
|
-
153
|
|
898
|
-
154</pre>
|
|
898
|
+
152</pre>
|
|
899
899
|
</td>
|
|
900
900
|
<td>
|
|
901
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
901
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 148</span>
|
|
902
902
|
|
|
903
903
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_comp_class_for!'>comp_class_for!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
|
|
904
904
|
<span class='id identifier rubyid_comp_class_for'>comp_class_for</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span>
|
|
@@ -1254,16 +1254,16 @@
|
|
|
1254
1254
|
<pre class="lines">
|
|
1255
1255
|
|
|
1256
1256
|
|
|
1257
|
+
163
|
|
1258
|
+
164
|
|
1257
1259
|
165
|
|
1258
1260
|
166
|
|
1259
1261
|
167
|
|
1260
1262
|
168
|
|
1261
|
-
169
|
|
1262
|
-
170
|
|
1263
|
-
171</pre>
|
|
1263
|
+
169</pre>
|
|
1264
1264
|
</td>
|
|
1265
1265
|
<td>
|
|
1266
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
1266
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 163</span>
|
|
1267
1267
|
|
|
1268
1268
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_family_name_for'>family_name_for</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span><span class='rparen'>)</span>
|
|
1269
1269
|
<span class='kw'>if</span> <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:model_name</span><span class='rparen'>)</span>
|
|
@@ -1280,7 +1280,7 @@
|
|
|
1280
1280
|
<div class="method_details ">
|
|
1281
1281
|
<h3 class="signature " id="intent-class_method">
|
|
1282
1282
|
|
|
1283
|
-
.<strong>intent</strong>(
|
|
1283
|
+
.<strong>intent</strong>(*args) ⇒ <tt>Object</tt>
|
|
1284
1284
|
|
|
1285
1285
|
|
|
1286
1286
|
|
|
@@ -1307,19 +1307,15 @@
|
|
|
1307
1307
|
126
|
|
1308
1308
|
127
|
|
1309
1309
|
128
|
|
1310
|
-
129
|
|
1311
|
-
130
|
|
1312
|
-
131</pre>
|
|
1310
|
+
129</pre>
|
|
1313
1311
|
</td>
|
|
1314
1312
|
<td>
|
|
1315
1313
|
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 125</span>
|
|
1316
1314
|
|
|
1317
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_intent'>intent</span><span class='lparen'>(</span><span class='id identifier
|
|
1318
|
-
<span class='
|
|
1319
|
-
|
|
1320
|
-
<span class='kw'>
|
|
1321
|
-
<span class='kw'>return</span> <span class='const'><span class='object_link'><a href="Compony/Intent.html" title="Compony::Intent (class)">Intent</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Compony/Intent.html#initialize-instance_method" title="Compony::Intent#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_intent_or_comp_args'>intent_or_comp_args</span><span class='comma'>,</span> <span class='op'>...</span><span class='rparen'>)</span>
|
|
1322
|
-
<span class='kw'>end</span>
|
|
1315
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_intent'>intent</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
1316
|
+
<span class='id identifier rubyid_first'>first</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
|
1317
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_first'>first</span> <span class='kw'>if</span> <span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Compony/Intent.html" title="Compony::Intent (class)">Intent</a></span></span><span class='rparen'>)</span>
|
|
1318
|
+
<span class='kw'>return</span> <span class='const'><span class='object_link'><a href="Compony/Intent.html" title="Compony::Intent (class)">Intent</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Compony/Intent.html#initialize-instance_method" title="Compony::Intent#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
1323
1319
|
<span class='kw'>end</span></pre>
|
|
1324
1320
|
</td>
|
|
1325
1321
|
</tr>
|
|
@@ -1372,18 +1368,18 @@
|
|
|
1372
1368
|
<pre class="lines">
|
|
1373
1369
|
|
|
1374
1370
|
|
|
1371
|
+
173
|
|
1372
|
+
174
|
|
1375
1373
|
175
|
|
1376
1374
|
176
|
|
1377
1375
|
177
|
|
1378
1376
|
178
|
|
1379
1377
|
179
|
|
1380
1378
|
180
|
|
1381
|
-
181
|
|
1382
|
-
182
|
|
1383
|
-
183</pre>
|
|
1379
|
+
181</pre>
|
|
1384
1380
|
</td>
|
|
1385
1381
|
<td>
|
|
1386
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
1382
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 173</span>
|
|
1387
1383
|
|
|
1388
1384
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_model_field_class_for'>model_field_class_for</span><span class='lparen'>(</span><span class='id identifier rubyid_constant'>constant</span><span class='rparen'>)</span>
|
|
1389
1385
|
<span class='id identifier rubyid_model_field_namespaces'>model_field_namespaces</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_model_field_namespace'>model_field_namespace</span><span class='op'>|</span>
|
|
@@ -1534,12 +1530,12 @@
|
|
|
1534
1530
|
<pre class="lines">
|
|
1535
1531
|
|
|
1536
1532
|
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1533
|
+
133
|
|
1534
|
+
134
|
|
1535
|
+
135</pre>
|
|
1540
1536
|
</td>
|
|
1541
1537
|
<td>
|
|
1542
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
1538
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 133</span>
|
|
1543
1539
|
|
|
1544
1540
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span><span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='comma'>,</span> <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
1545
1541
|
<span class='id identifier rubyid_intent'>intent</span><span class='lparen'>(</span><span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='comma'>,</span> <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span><span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
@@ -1654,12 +1650,12 @@
|
|
|
1654
1650
|
<pre class="lines">
|
|
1655
1651
|
|
|
1656
1652
|
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1653
|
+
155
|
|
1654
|
+
156
|
|
1655
|
+
157</pre>
|
|
1660
1656
|
</td>
|
|
1661
1657
|
<td>
|
|
1662
|
-
<pre class="code"><span class="info file"># File 'lib/compony.rb', line
|
|
1658
|
+
<pre class="code"><span class="info file"># File 'lib/compony.rb', line 155</span>
|
|
1663
1659
|
|
|
1664
1660
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_root_comp'>root_comp</span>
|
|
1665
1661
|
<span class='const'>RequestStore</span><span class='period'>.</span><span class='id identifier rubyid_store'>store</span><span class='lbracket'>[</span><span class='symbol'>:compony_root_comp</span><span class='rbracket'>]</span>
|
|
@@ -1674,9 +1670,9 @@
|
|
|
1674
1670
|
</div>
|
|
1675
1671
|
|
|
1676
1672
|
<div id="footer">
|
|
1677
|
-
Generated on
|
|
1673
|
+
Generated on Thu Jun 4 20:37:17 2026 by
|
|
1678
1674
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1679
|
-
0.9.34 (ruby-3.
|
|
1675
|
+
0.9.34 (ruby-3.4.9).
|
|
1680
1676
|
</div>
|
|
1681
1677
|
|
|
1682
1678
|
</div>
|
data/doc/ComponyController.html
CHANGED
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Thu Jun 4 20:37:18 2026 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
|
-
0.9.34 (ruby-3.
|
|
119
|
+
0.9.34 (ruby-3.4.9).
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
</div>
|