compony 0.11.5 → 0.11.6
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/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/compony.gemspec +2 -2
- data/doc/ComponentGenerator.html +1 -1
- data/doc/Components.html +1 -1
- data/doc/ComponentsGenerator.html +1 -1
- data/doc/Compony/Component.html +50 -48
- 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 +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
- data/doc/Compony/ComponentMixins/Default.html +1 -1
- data/doc/Compony/ComponentMixins/Resourceful.html +1 -1
- 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 +1 -1
- data/doc/Compony/Components/Edit.html +1 -1
- data/doc/Compony/Components/Form.html +1 -1
- data/doc/Compony/Components/Index.html +1 -1
- data/doc/Compony/Components/List.html +1 -1
- data/doc/Compony/Components/New.html +1 -1
- data/doc/Compony/Components/Show.html +1 -1
- data/doc/Compony/Components/WithForm.html +1 -1
- 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 +1 -1
- 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 +66 -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 +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +31 -23
- data/doc/top-level-namespace.html +1 -1
- data/lib/compony/component.rb +2 -1
- data/lib/compony/request_context.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3baddea8daa6ffeaff25aae250cefeb2cfac4f9a42bff62068d343a11f35bc1c
|
|
4
|
+
data.tar.gz: 9b5ceaed0bb5af06ba0bac0d30292a2b84f46bad1321d77371a4a1391cf1b62f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 146c33eca2c548ba2f43527360f7a7040cb92141806f6fdd5e59b12f7f39d8f97f2281cb1d6616fc55e062a831481cf197ec78bc04980c6099c2170d4ddff9ae
|
|
7
|
+
data.tar.gz: e4e2beca4be46699d1a5a8301ac151bf96af72486eec9281b64db46477c814b36ac4683f0b19ad96ae15294c83bf125a38da399cb28f7ca559ec421be5b58e21
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.11.
|
|
1
|
+
0.11.6
|
data/compony.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# This file is auto-generated via: 'rake gemspec'.
|
|
3
3
|
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: compony 0.11.
|
|
5
|
+
# stub: compony 0.11.6 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "compony".freeze
|
|
9
|
-
s.version = "0.11.
|
|
9
|
+
s.version = "0.11.6".freeze
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
data/doc/ComponentGenerator.html
CHANGED
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
</div>
|
|
250
250
|
|
|
251
251
|
<div id="footer">
|
|
252
|
-
Generated on
|
|
252
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
253
253
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
254
254
|
0.9.34 (ruby-3.3.5).
|
|
255
255
|
</div>
|
data/doc/Components.html
CHANGED
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
</div>
|
|
194
194
|
|
|
195
195
|
<div id="footer">
|
|
196
|
-
Generated on
|
|
196
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
197
197
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
198
198
|
0.9.34 (ruby-3.3.5).
|
|
199
199
|
</div>
|
data/doc/Compony/Component.html
CHANGED
|
@@ -1155,13 +1155,13 @@
|
|
|
1155
1155
|
<pre class="lines">
|
|
1156
1156
|
|
|
1157
1157
|
|
|
1158
|
-
141
|
|
1159
1158
|
142
|
|
1160
1159
|
143
|
|
1161
|
-
144
|
|
1160
|
+
144
|
|
1161
|
+
145</pre>
|
|
1162
1162
|
</td>
|
|
1163
1163
|
<td>
|
|
1164
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1164
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 142</span>
|
|
1165
1165
|
|
|
1166
1166
|
<span class='kw'>def</span> <span class='id identifier rubyid_before_render'>before_render</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
1167
1167
|
<span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>`before_render` expects a block in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
|
@@ -1270,16 +1270,16 @@
|
|
|
1270
1270
|
<pre class="lines">
|
|
1271
1271
|
|
|
1272
1272
|
|
|
1273
|
-
152
|
|
1274
1273
|
153
|
|
1275
1274
|
154
|
|
1276
1275
|
155
|
|
1277
1276
|
156
|
|
1278
1277
|
157
|
|
1279
|
-
158
|
|
1278
|
+
158
|
|
1279
|
+
159</pre>
|
|
1280
1280
|
</td>
|
|
1281
1281
|
<td>
|
|
1282
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1282
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 153</span>
|
|
1283
1283
|
|
|
1284
1284
|
<span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
1285
1285
|
<span class='comment'># A block is required here, but if this is an override (e.g. to hide another content block), we can tolerate the missing block.
|
|
@@ -1319,7 +1319,6 @@
|
|
|
1319
1319
|
<pre class="lines">
|
|
1320
1320
|
|
|
1321
1321
|
|
|
1322
|
-
218
|
|
1323
1322
|
219
|
|
1324
1323
|
220
|
|
1325
1324
|
221
|
|
@@ -1330,10 +1329,11 @@
|
|
|
1330
1329
|
226
|
|
1331
1330
|
227
|
|
1332
1331
|
228
|
|
1333
|
-
229
|
|
1332
|
+
229
|
|
1333
|
+
230</pre>
|
|
1334
1334
|
</td>
|
|
1335
1335
|
<td>
|
|
1336
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1336
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 219</span>
|
|
1337
1337
|
|
|
1338
1338
|
<span class='kw'>def</span> <span class='id identifier rubyid_exposed_intents'>exposed_intents</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
1339
1339
|
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
|
@@ -1378,12 +1378,12 @@
|
|
|
1378
1378
|
<pre class="lines">
|
|
1379
1379
|
|
|
1380
1380
|
|
|
1381
|
-
81
|
|
1382
1381
|
82
|
|
1383
|
-
83
|
|
1382
|
+
83
|
|
1383
|
+
84</pre>
|
|
1384
1384
|
</td>
|
|
1385
1385
|
<td>
|
|
1386
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1386
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 82</span>
|
|
1387
1387
|
|
|
1388
1388
|
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
|
1389
1389
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_family_name'>family_name</span><span class='embexpr_end'>}</span><span class='tstring_content'>_</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_comp_name'>comp_name</span><span class='embexpr_end'>}</span><span class='tstring_content'>_</span><span class='embexpr_beg'>#{</span><span class='ivar'>@index</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
|
@@ -1419,16 +1419,16 @@
|
|
|
1419
1419
|
<pre class="lines">
|
|
1420
1420
|
|
|
1421
1421
|
|
|
1422
|
-
87
|
|
1423
1422
|
88
|
|
1424
1423
|
89
|
|
1425
1424
|
90
|
|
1426
1425
|
91
|
|
1427
1426
|
92
|
|
1428
|
-
93
|
|
1427
|
+
93
|
|
1428
|
+
94</pre>
|
|
1429
1429
|
</td>
|
|
1430
1430
|
<td>
|
|
1431
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1431
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 88</span>
|
|
1432
1432
|
|
|
1433
1433
|
<span class='kw'>def</span> <span class='id identifier rubyid_id_path'>id_path</span>
|
|
1434
1434
|
<span class='kw'>if</span> <span class='id identifier rubyid_root_comp?'>root_comp?</span>
|
|
@@ -1468,12 +1468,12 @@
|
|
|
1468
1468
|
<pre class="lines">
|
|
1469
1469
|
|
|
1470
1470
|
|
|
1471
|
-
97
|
|
1472
1471
|
98
|
|
1473
|
-
99
|
|
1472
|
+
99
|
|
1473
|
+
100</pre>
|
|
1474
1474
|
</td>
|
|
1475
1475
|
<td>
|
|
1476
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1476
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 98</span>
|
|
1477
1477
|
|
|
1478
1478
|
<span class='kw'>def</span> <span class='id identifier rubyid_id_path_hash'>id_path_hash</span>
|
|
1479
1479
|
<span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA1</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='id identifier rubyid_id_path'>id_path</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='op'>..</span><span class='int'>4</span><span class='rbracket'>]</span>
|
|
@@ -1509,13 +1509,15 @@
|
|
|
1509
1509
|
|
|
1510
1510
|
62
|
|
1511
1511
|
63
|
|
1512
|
-
64
|
|
1512
|
+
64
|
|
1513
|
+
65</pre>
|
|
1513
1514
|
</td>
|
|
1514
1515
|
<td>
|
|
1515
1516
|
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 62</span>
|
|
1516
1517
|
|
|
1517
1518
|
<span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
|
|
1518
|
-
<span class='
|
|
1519
|
+
<span class='id identifier rubyid_standalone_paths'>standalone_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_standalone_configs'>standalone_configs</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='lbracket'>[</span><span class='id identifier rubyid_c'>c</span><span class='lbracket'>[</span><span class='symbol'>:path</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_verbs'>verbs</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
|
|
1520
|
+
<span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>#<</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> id_path: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id_path'>id_path</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>, standalone_paths: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_standalone_paths'>standalone_paths</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>, data: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>></span><span class='tstring_end'>"</span></span>
|
|
1519
1521
|
<span class='kw'>end</span></pre>
|
|
1520
1522
|
</td>
|
|
1521
1523
|
</tr>
|
|
@@ -1548,12 +1550,12 @@
|
|
|
1548
1550
|
<pre class="lines">
|
|
1549
1551
|
|
|
1550
1552
|
|
|
1551
|
-
103
|
|
1552
1553
|
104
|
|
1553
|
-
105
|
|
1554
|
+
105
|
|
1555
|
+
106</pre>
|
|
1554
1556
|
</td>
|
|
1555
1557
|
<td>
|
|
1556
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1558
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 104</span>
|
|
1557
1559
|
|
|
1558
1560
|
<span class='kw'>def</span> <span class='id identifier rubyid_param_name'>param_name</span><span class='lparen'>(</span><span class='id identifier rubyid_unprefixed_param_name'>unprefixed_param_name</span><span class='rparen'>)</span>
|
|
1559
1561
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id_path_hash'>id_path_hash</span><span class='embexpr_end'>}</span><span class='tstring_content'>_</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_unprefixed_param_name'>unprefixed_param_name</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
|
@@ -1589,17 +1591,17 @@
|
|
|
1589
1591
|
<pre class="lines">
|
|
1590
1592
|
|
|
1591
1593
|
|
|
1592
|
-
126
|
|
1593
1594
|
127
|
|
1594
1595
|
128
|
|
1595
1596
|
129
|
|
1596
1597
|
130
|
|
1597
1598
|
131
|
|
1598
1599
|
132
|
|
1599
|
-
133
|
|
1600
|
+
133
|
|
1601
|
+
134</pre>
|
|
1600
1602
|
</td>
|
|
1601
1603
|
<td>
|
|
1602
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1604
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 127</span>
|
|
1603
1605
|
|
|
1604
1606
|
<span class='kw'>def</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='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
1605
1607
|
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
|
@@ -1660,7 +1662,6 @@
|
|
|
1660
1662
|
<pre class="lines">
|
|
1661
1663
|
|
|
1662
1664
|
|
|
1663
|
-
163
|
|
1664
1665
|
164
|
|
1665
1666
|
165
|
|
1666
1667
|
166
|
|
@@ -1668,10 +1669,11 @@
|
|
|
1668
1669
|
168
|
|
1669
1670
|
169
|
|
1670
1671
|
170
|
|
1671
|
-
171
|
|
1672
|
+
171
|
|
1673
|
+
172</pre>
|
|
1672
1674
|
</td>
|
|
1673
1675
|
<td>
|
|
1674
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1676
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 164</span>
|
|
1675
1677
|
|
|
1676
1678
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_content'>remove_content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='comment'># rubocop:disable Naming/PredicateMethod
|
|
1677
1679
|
</span> <span class='id identifier rubyid_existing_index'>existing_index</span> <span class='op'>=</span> <span class='ivar'>@content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_find_index'>find_index</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_el'>el</span><span class='op'>|</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span> <span class='rbrace'>}</span>
|
|
@@ -1733,12 +1735,12 @@
|
|
|
1733
1735
|
<pre class="lines">
|
|
1734
1736
|
|
|
1735
1737
|
|
|
1736
|
-
176
|
|
1737
1738
|
177
|
|
1738
|
-
178
|
|
1739
|
+
178
|
|
1740
|
+
179</pre>
|
|
1739
1741
|
</td>
|
|
1740
1742
|
<td>
|
|
1741
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1743
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 177</span>
|
|
1742
1744
|
|
|
1743
1745
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_content!'>remove_content!</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1744
1746
|
<span class='id identifier rubyid_remove_content'>remove_content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Content block </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> not found for removal in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
@@ -1796,7 +1798,6 @@
|
|
|
1796
1798
|
<pre class="lines">
|
|
1797
1799
|
|
|
1798
1800
|
|
|
1799
|
-
183
|
|
1800
1801
|
184
|
|
1801
1802
|
185
|
|
1802
1803
|
186
|
|
@@ -1826,10 +1827,11 @@
|
|
|
1826
1827
|
210
|
|
1827
1828
|
211
|
|
1828
1829
|
212
|
|
1829
|
-
213
|
|
1830
|
+
213
|
|
1831
|
+
214</pre>
|
|
1830
1832
|
</td>
|
|
1831
1833
|
<td>
|
|
1832
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1834
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 184</span>
|
|
1833
1835
|
|
|
1834
1836
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_controller'>controller</span><span class='comma'>,</span> <span class='label'>standalone:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_locals'>locals</span><span class='rparen'>)</span>
|
|
1835
1837
|
<span class='comment'># Call before_render hooks (if any) and backfire instance variables back to the component
|
|
@@ -1906,12 +1908,12 @@
|
|
|
1906
1908
|
<pre class="lines">
|
|
1907
1909
|
|
|
1908
1910
|
|
|
1909
|
-
232
|
|
1910
1911
|
233
|
|
1911
|
-
234
|
|
1912
|
+
234
|
|
1913
|
+
235</pre>
|
|
1912
1914
|
</td>
|
|
1913
1915
|
<td>
|
|
1914
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1916
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 233</span>
|
|
1915
1917
|
|
|
1916
1918
|
<span class='kw'>def</span> <span class='id identifier rubyid_resourceful?'>resourceful?</span>
|
|
1917
1919
|
<span class='kw'>return</span> <span class='kw'>false</span>
|
|
@@ -1947,13 +1949,13 @@
|
|
|
1947
1949
|
<pre class="lines">
|
|
1948
1950
|
|
|
1949
1951
|
|
|
1950
|
-
68
|
|
1951
1952
|
69
|
|
1952
1953
|
70
|
|
1953
|
-
71
|
|
1954
|
+
71
|
|
1955
|
+
72</pre>
|
|
1954
1956
|
</td>
|
|
1955
1957
|
<td>
|
|
1956
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
1958
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 69</span>
|
|
1957
1959
|
|
|
1958
1960
|
<span class='kw'>def</span> <span class='id identifier rubyid_root_comp'>root_comp</span>
|
|
1959
1961
|
<span class='kw'>return</span> <span class='kw'>self</span> <span class='kw'>unless</span> <span class='id identifier rubyid_parent_comp'>parent_comp</span>
|
|
@@ -2003,12 +2005,12 @@
|
|
|
2003
2005
|
<pre class="lines">
|
|
2004
2006
|
|
|
2005
2007
|
|
|
2006
|
-
75
|
|
2007
2008
|
76
|
|
2008
|
-
77
|
|
2009
|
+
77
|
|
2010
|
+
78</pre>
|
|
2009
2011
|
</td>
|
|
2010
2012
|
<td>
|
|
2011
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
2013
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 76</span>
|
|
2012
2014
|
|
|
2013
2015
|
<span class='kw'>def</span> <span class='id identifier rubyid_root_comp?'>root_comp?</span>
|
|
2014
2016
|
<span class='id identifier rubyid_parent_comp'>parent_comp</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
@@ -2044,15 +2046,15 @@
|
|
|
2044
2046
|
<pre class="lines">
|
|
2045
2047
|
|
|
2046
2048
|
|
|
2047
|
-
108
|
|
2048
2049
|
109
|
|
2049
2050
|
110
|
|
2050
2051
|
111
|
|
2051
2052
|
112
|
|
2052
|
-
113
|
|
2053
|
+
113
|
|
2054
|
+
114</pre>
|
|
2053
2055
|
</td>
|
|
2054
2056
|
<td>
|
|
2055
|
-
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line
|
|
2057
|
+
<pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 109</span>
|
|
2056
2058
|
|
|
2057
2059
|
<span class='kw'>def</span> <span class='id identifier rubyid_sub_comp'>sub_comp</span><span class='lparen'>(</span><span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_comp_opts'>comp_opts</span><span class='rparen'>)</span>
|
|
2058
2060
|
<span class='id identifier rubyid_intent'>intent</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Compony.html" title="Compony (module)">Compony</a></span></span><span class='period'>.</span><span class='id identifier rubyid_intent'><span class='object_link'><a href="../Compony.html#intent-class_method" title="Compony.intent (method)">intent</a></span></span><span class='lparen'>(</span><span class='op'>*</span><span class='rparen'>)</span>
|
|
@@ -2070,7 +2072,7 @@
|
|
|
2070
2072
|
</div>
|
|
2071
2073
|
|
|
2072
2074
|
<div id="footer">
|
|
2073
|
-
Generated on
|
|
2075
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
2074
2076
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2075
2077
|
0.9.34 (ruby-3.3.5).
|
|
2076
2078
|
</div>
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
</div>
|
|
478
478
|
|
|
479
479
|
<div id="footer">
|
|
480
|
-
Generated on
|
|
480
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
481
481
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
482
482
|
0.9.34 (ruby-3.3.5).
|
|
483
483
|
</div>
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
</div>
|
|
530
530
|
|
|
531
531
|
<div id="footer">
|
|
532
|
-
Generated on
|
|
532
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
533
533
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
534
534
|
0.9.34 (ruby-3.3.5).
|
|
535
535
|
</div>
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
</div>
|
|
660
660
|
|
|
661
661
|
<div id="footer">
|
|
662
|
-
Generated on
|
|
662
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
663
663
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
664
664
|
0.9.34 (ruby-3.3.5).
|
|
665
665
|
</div>
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
</div>
|
|
568
568
|
|
|
569
569
|
<div id="footer">
|
|
570
|
-
Generated on
|
|
570
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
571
571
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
572
572
|
0.9.34 (ruby-3.3.5).
|
|
573
573
|
</div>
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
</div>
|
|
869
869
|
|
|
870
870
|
<div id="footer">
|
|
871
|
-
Generated on
|
|
871
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
872
872
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
873
873
|
0.9.34 (ruby-3.3.5).
|
|
874
874
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Tue Apr 7 09:32:01 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>
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
</div>
|
|
1115
1115
|
|
|
1116
1116
|
<div id="footer">
|
|
1117
|
-
Generated on
|
|
1117
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
1118
1118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1119
1119
|
0.9.34 (ruby-3.3.5).
|
|
1120
1120
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Tue Apr 7 09:32:00 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>
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
</div>
|
|
273
273
|
|
|
274
274
|
<div id="footer">
|
|
275
|
-
Generated on
|
|
275
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
276
276
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
277
277
|
0.9.34 (ruby-3.3.5).
|
|
278
278
|
</div>
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
</div>
|
|
243
243
|
|
|
244
244
|
<div id="footer">
|
|
245
|
-
Generated on
|
|
245
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
246
246
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
247
247
|
0.9.34 (ruby-3.3.5).
|
|
248
248
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Tue Apr 7 09:32:00 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>
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
</div>
|
|
375
375
|
|
|
376
376
|
<div id="footer">
|
|
377
|
-
Generated on
|
|
377
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
378
378
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
379
379
|
0.9.34 (ruby-3.3.5).
|
|
380
380
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on
|
|
455
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
456
456
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
457
457
|
0.9.34 (ruby-3.3.5).
|
|
458
458
|
</div>
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
</div>
|
|
1483
1483
|
|
|
1484
1484
|
<div id="footer">
|
|
1485
|
-
Generated on
|
|
1485
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
1486
1486
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1487
1487
|
0.9.34 (ruby-3.3.5).
|
|
1488
1488
|
</div>
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
</div>
|
|
163
163
|
|
|
164
164
|
<div id="footer">
|
|
165
|
-
Generated on
|
|
165
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
166
166
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
167
167
|
0.9.34 (ruby-3.3.5).
|
|
168
168
|
</div>
|
|
@@ -2689,7 +2689,7 @@
|
|
|
2689
2689
|
</div>
|
|
2690
2690
|
|
|
2691
2691
|
<div id="footer">
|
|
2692
|
-
Generated on
|
|
2692
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
2693
2693
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2694
2694
|
0.9.34 (ruby-3.3.5).
|
|
2695
2695
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on
|
|
455
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
456
456
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
457
457
|
0.9.34 (ruby-3.3.5).
|
|
458
458
|
</div>
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
</div>
|
|
756
756
|
|
|
757
757
|
<div id="footer">
|
|
758
|
-
Generated on
|
|
758
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
759
759
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
760
760
|
0.9.34 (ruby-3.3.5).
|
|
761
761
|
</div>
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
</div>
|
|
592
592
|
|
|
593
593
|
<div id="footer">
|
|
594
|
-
Generated on
|
|
594
|
+
Generated on Tue Apr 7 09:32:02 2026 by
|
|
595
595
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
596
596
|
0.9.34 (ruby-3.3.5).
|
|
597
597
|
</div>
|
data/doc/Compony/Components.html
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on
|
|
121
|
+
Generated on Tue Apr 7 09:32:00 2026 by
|
|
122
122
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.9.34 (ruby-3.3.5).
|
|
124
124
|
</div>
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
</div>
|
|
127
127
|
|
|
128
128
|
<div id="footer">
|
|
129
|
-
Generated on
|
|
129
|
+
Generated on Tue Apr 7 09:32:00 2026 by
|
|
130
130
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
131
131
|
0.9.34 (ruby-3.3.5).
|
|
132
132
|
</div>
|
data/doc/Compony/Engine.html
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div id="footer">
|
|
126
|
-
Generated on
|
|
126
|
+
Generated on Tue Apr 7 09:32:01 2026 by
|
|
127
127
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
128
128
|
0.9.34 (ruby-3.3.5).
|
|
129
129
|
</div>
|