compony 0.11.8 → 0.11.9
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/.yardopts +36 -1
- data/CHANGELOG.md +31 -0
- data/CLAUDE.md +85 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -3
- data/VERSION +1 -1
- data/compony.gemspec +3 -3
- data/doc/ComponentGenerator.html +1 -1
- data/doc/Components.html +1 -1
- data/doc/ComponentsGenerator.html +1 -1
- data/doc/Compony/Component.html +54 -54
- data/doc/Compony/ComponentMixins/Default/Labelling.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +109 -70
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +64 -28
- data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
- data/doc/Compony/ComponentMixins/Default.html +1 -1
- data/doc/Compony/ComponentMixins/Resourceful.html +213 -74
- data/doc/Compony/ComponentMixins.html +1 -1
- data/doc/Compony/Components/Buttons/CssButton.html +1 -1
- data/doc/Compony/Components/Buttons/Link.html +1 -1
- data/doc/Compony/Components/Buttons.html +1 -1
- data/doc/Compony/Components/Destroy.html +83 -29
- data/doc/Compony/Components/Edit.html +110 -38
- data/doc/Compony/Components/Form.html +551 -208
- data/doc/Compony/Components/Index.html +1 -1
- data/doc/Compony/Components/List.html +3 -3
- data/doc/Compony/Components/New.html +110 -38
- data/doc/Compony/Components/Show.html +1 -1
- data/doc/Compony/Components/WithForm.html +194 -47
- data/doc/Compony/Components.html +1 -1
- data/doc/Compony/ControllerMixin.html +1 -1
- data/doc/Compony/Engine.html +1 -1
- data/doc/Compony/Intent.html +2 -2
- data/doc/Compony/ManageIntentsDsl.html +1 -1
- data/doc/Compony/MethodAccessibleHash.html +1 -1
- data/doc/Compony/ModelFields/Anchormodel.html +1 -1
- data/doc/Compony/ModelFields/Association.html +1 -1
- data/doc/Compony/ModelFields/Attachment.html +1 -1
- data/doc/Compony/ModelFields/Base.html +1 -1
- data/doc/Compony/ModelFields/Boolean.html +1 -1
- data/doc/Compony/ModelFields/Color.html +1 -1
- data/doc/Compony/ModelFields/Currency.html +1 -1
- data/doc/Compony/ModelFields/Date.html +1 -1
- data/doc/Compony/ModelFields/Datetime.html +1 -1
- data/doc/Compony/ModelFields/Decimal.html +1 -1
- data/doc/Compony/ModelFields/Email.html +1 -1
- data/doc/Compony/ModelFields/Float.html +1 -1
- data/doc/Compony/ModelFields/Integer.html +1 -1
- data/doc/Compony/ModelFields/Percentage.html +1 -1
- data/doc/Compony/ModelFields/Phone.html +1 -1
- data/doc/Compony/ModelFields/RichText.html +1 -1
- data/doc/Compony/ModelFields/String.html +1 -1
- data/doc/Compony/ModelFields/Text.html +1 -1
- data/doc/Compony/ModelFields/Time.html +1 -1
- data/doc/Compony/ModelFields/Url.html +1 -1
- data/doc/Compony/ModelFields.html +1 -1
- data/doc/Compony/ModelMixin.html +1 -1
- data/doc/Compony/NaturalOrdering.html +1 -1
- data/doc/Compony/RequestContext.html +1 -1
- data/doc/Compony/Version.html +1 -1
- data/doc/Compony/ViewHelpers.html +1 -1
- data/doc/Compony/VirtualModel.html +1 -1
- data/doc/Compony.html +1 -1
- data/doc/ComponyController.html +1 -1
- data/doc/_index.html +97 -1
- data/doc/file.CHANGELOG.html +758 -0
- data/doc/file.README.html +25 -4
- 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 +25 -4
- data/doc/integrations.md +61 -0
- data/doc/llms.txt +62 -0
- data/doc/top-level-namespace.html +1 -1
- 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 +1 -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
- metadata +43 -1
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.3.5).
|
|
228
228
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.3.5).
|
|
228
228
|
</div>
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
</div>
|
|
292
292
|
|
|
293
293
|
<div id="footer">
|
|
294
|
-
Generated on
|
|
294
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
295
295
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
296
296
|
0.9.34 (ruby-3.3.5).
|
|
297
297
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.3.5).
|
|
228
228
|
</div>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.3.5).
|
|
150
150
|
</div>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.3.5).
|
|
150
150
|
</div>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on
|
|
147
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.3.5).
|
|
150
150
|
</div>
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<div id="footer">
|
|
233
|
-
Generated on
|
|
233
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
234
234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
235
|
0.9.34 (ruby-3.3.5).
|
|
236
236
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.34 (ruby-3.3.5).
|
|
122
122
|
</div>
|
data/doc/Compony/ModelMixin.html
CHANGED
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
</div>
|
|
520
520
|
|
|
521
521
|
<div id="footer">
|
|
522
|
-
Generated on
|
|
522
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
523
523
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
524
524
|
0.9.34 (ruby-3.3.5).
|
|
525
525
|
</div>
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
</div>
|
|
291
291
|
|
|
292
292
|
<div id="footer">
|
|
293
|
-
Generated on
|
|
293
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
294
294
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
295
295
|
0.9.34 (ruby-3.3.5).
|
|
296
296
|
</div>
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
</div>
|
|
1150
1150
|
|
|
1151
1151
|
<div id="footer">
|
|
1152
|
-
Generated on
|
|
1152
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
1153
1153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1154
1154
|
0.9.34 (ruby-3.3.5).
|
|
1155
1155
|
</div>
|
data/doc/Compony/Version.html
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
|
|
131
131
|
<div id="footer">
|
|
132
|
-
Generated on
|
|
132
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
133
133
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
134
134
|
0.9.34 (ruby-3.3.5).
|
|
135
135
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.3.5).
|
|
228
228
|
</div>
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
<div id="footer">
|
|
231
|
-
Generated on
|
|
231
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
232
232
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
233
233
|
0.9.34 (ruby-3.3.5).
|
|
234
234
|
</div>
|
data/doc/Compony.html
CHANGED
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
</div>
|
|
1675
1675
|
|
|
1676
1676
|
<div id="footer">
|
|
1677
|
-
Generated on
|
|
1677
|
+
Generated on Mon May 18 13:55:35 2026 by
|
|
1678
1678
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1679
1679
|
0.9.34 (ruby-3.3.5).
|
|
1680
1680
|
</div>
|
data/doc/ComponyController.html
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Mon May 18 13:55:36 2026 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.34 (ruby-3.3.5).
|
|
120
120
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -63,6 +63,102 @@
|
|
|
63
63
|
<li class="r1"><a href="index.html" title="README">README</a></li>
|
|
64
64
|
|
|
65
65
|
|
|
66
|
+
<li class="r2"><a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a></li>
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
<li class="r1"><a href="file.installation.html" title="installation">installation</a></li>
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<li class="r2"><a href="file.example.html" title="example">example</a></li>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<li class="r1"><a href="file.example_advanced.html" title="example_advanced">example_advanced</a></li>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
<li class="r2"><a href="file.basic_component.html" title="basic_component">basic_component</a></li>
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<li class="r1"><a href="file.standalone.html" title="standalone">standalone</a></li>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<li class="r2"><a href="file.inheritance.html" title="inheritance">inheritance</a></li>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<li class="r1"><a href="file.nesting.html" title="nesting">nesting</a></li>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
<li class="r2"><a href="file.resourceful.html" title="resourceful">resourceful</a></li>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<li class="r1"><a href="file.intents.html" title="intents">intents</a></li>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
<li class="r2"><a href="file.feasibility.html" title="feasibility">feasibility</a></li>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<li class="r1"><a href="file.ownership.html" title="ownership">ownership</a></li>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
<li class="r2"><a href="file.model_fields.html" title="model_fields">model_fields</a></li>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<li class="r1"><a href="file.generators.html" title="generators">generators</a></li>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<li class="r2"><a href="file.internal_datastructures.html" title="internal_datastructures">internal_datastructures</a></li>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<li class="r1"><a href="file.virtual_models.html" title="virtual_models">virtual_models</a></li>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<li class="r2"><a href="file.pre_built_components.html" title="pre_built_components">pre_built_components</a></li>
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
<li class="r1"><a href="file.show.html" title="show">show</a></li>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<li class="r2"><a href="file.index.html" title="index">index</a></li>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
<li class="r1"><a href="file.list.html" title="list">list</a></li>
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
<li class="r2"><a href="file.destroy.html" title="destroy">destroy</a></li>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<li class="r1"><a href="file.with_form.html" title="with_form">with_form</a></li>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<li class="r2"><a href="file.form.html" title="form">form</a></li>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<li class="r1"><a href="file.new.html" title="new">new</a></li>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<li class="r2"><a href="file.edit.html" title="edit">edit</a></li>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<li class="r1"><a href="file.dsl_reference.html" title="dsl_reference">dsl_reference</a></li>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<li class="r2"><a href="file.glossary.html" title="glossary">glossary</a></li>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
<li class="r1"><a href="file.gotchas.html" title="gotchas">gotchas</a></li>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<li class="r2"><a href="file.patterns.html" title="patterns">patterns</a></li>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<li class="r1"><a href="file.cookbook.html" title="cookbook">cookbook</a></li>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<li class="r2"><a href="file.integrations.html" title="integrations">integrations</a></li>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
<li class="r1"><a href="file.maintaining.html" title="maintaining">maintaining</a></li>
|
|
160
|
+
|
|
161
|
+
|
|
66
162
|
</ul>
|
|
67
163
|
|
|
68
164
|
<div class="clear"></div>
|
|
@@ -622,7 +718,7 @@
|
|
|
622
718
|
</div>
|
|
623
719
|
|
|
624
720
|
<div id="footer">
|
|
625
|
-
Generated on
|
|
721
|
+
Generated on Mon May 18 13:55:32 2026 by
|
|
626
722
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
627
723
|
0.9.34 (ruby-3.3.5).
|
|
628
724
|
</div>
|