compony 0.8.1 → 0.9.0
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 +12 -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 +1 -1
- 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 +13 -13
- data/doc/Compony/Components/Edit.html +17 -17
- 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 +23 -23
- 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/ExposedIntentsDsl.html +1 -1
- data/doc/Compony/Intent.html +130 -90
- data/doc/Compony/MethodAccessibleHash.html +1 -1
- data/doc/Compony/ModelFields/Anchormodel.html +1 -1
- data/doc/Compony/ModelFields/Association.html +2 -2
- 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 +11 -33
- 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 +3 -3
- data/doc/ComponyController.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/guide/intents.md +3 -3
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/compony/components/destroy.rb +4 -1
- data/lib/compony/components/edit.rb +4 -1
- data/lib/compony/components/show.rb +4 -1
- data/lib/compony/intent.rb +21 -16
- data/lib/compony/model_fields/association.rb +1 -1
- data/lib/compony/request_context.rb +2 -3
- data/lib/compony.rb +2 -2
- 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: ccae833b17ef3671a6968534d2f4795db70b063a8fb5c2be6af6ac5a2872b8b1
|
|
4
|
+
data.tar.gz: d597f4220a33154eb9de7e19fb3ab6eac3a66bbee2f41bf53db25c13f7c2a0c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b8ca6c807d7df61658bbb7e4c2124fde864c619b1e68910841a3fbacbf0a5e30d2c6b769411322f1f70344387bfae332666468cd14530bd1fb3f4acfac99872
|
|
7
|
+
data.tar.gz: 130f600ef12120bab64af6f445b32cc412580248862a7a5e408899fb7791c120b1dce3578659c1a3f5874e4ba5a30f0bdbd3a25eba70bd57119c32accaf0803d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# 0.9.0
|
|
2
|
+
|
|
3
|
+
- Enhance Intent API:
|
|
4
|
+
- Make `style` a property of the Intent rather than a button option.
|
|
5
|
+
- No longer allow arbitrary options for building intents. Instead, options for buttons must be wrapped in `button: { class: '...' }`.
|
|
6
|
+
|
|
7
|
+
## Steps to take
|
|
8
|
+
|
|
9
|
+
- Replace code like `button: { style: :link }` by simply `style: :link`
|
|
10
|
+
- Make sure that code like `button: { label: ... }` becomes simply: `label: ...`
|
|
11
|
+
- Make sure that all kwargs in intents meant for buttons are wrapped in `button: { ... }`.
|
|
12
|
+
|
|
1
13
|
# 0.8.1
|
|
2
14
|
|
|
3
15
|
- Fix a problem in List resulting in `data_class` being read too early
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.9.0
|
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.
|
|
5
|
+
# stub: compony 0.9.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "compony".freeze
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.9.0".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 Fri Nov 28
|
|
252
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
196
|
+
Generated on Fri Nov 28 12:38:45 2025 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
|
@@ -2070,7 +2070,7 @@
|
|
|
2070
2070
|
</div>
|
|
2071
2071
|
|
|
2072
2072
|
<div id="footer">
|
|
2073
|
-
Generated on Fri Nov 28
|
|
2073
|
+
Generated on Fri Nov 28 12:38:44 2025 by
|
|
2074
2074
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2075
2075
|
0.9.34 (ruby-3.3.5).
|
|
2076
2076
|
</div>
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
</div>
|
|
397
397
|
|
|
398
398
|
<div id="footer">
|
|
399
|
-
Generated on Fri Nov 28
|
|
399
|
+
Generated on Fri Nov 28 12:38:44 2025 by
|
|
400
400
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
401
401
|
0.9.34 (ruby-3.3.5).
|
|
402
402
|
</div>
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
</div>
|
|
530
530
|
|
|
531
531
|
<div id="footer">
|
|
532
|
-
Generated on Fri Nov 28
|
|
532
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
662
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
570
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
871
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
119
|
+
Generated on Fri Nov 28 12:38:44 2025 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>
|
|
@@ -1183,7 +1183,7 @@
|
|
|
1183
1183
|
</div>
|
|
1184
1184
|
|
|
1185
1185
|
<div id="footer">
|
|
1186
|
-
Generated on Fri Nov 28
|
|
1186
|
+
Generated on Fri Nov 28 12:38:44 2025 by
|
|
1187
1187
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1188
1188
|
0.9.34 (ruby-3.3.5).
|
|
1189
1189
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on Fri Nov 28
|
|
119
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
275
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
245
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
119
|
+
Generated on Fri Nov 28 12:38:44 2025 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,12 +272,12 @@
|
|
|
272
272
|
<pre class="lines">
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
86
|
|
276
|
+
87
|
|
277
|
+
88</pre>
|
|
278
278
|
</td>
|
|
279
279
|
<td>
|
|
280
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line
|
|
280
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line 86</span>
|
|
281
281
|
|
|
282
282
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_destroyed'>on_destroyed</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
283
283
|
<span class='ivar'>@on_destroyed_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -313,12 +313,12 @@
|
|
|
313
313
|
<pre class="lines">
|
|
314
314
|
|
|
315
315
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
96
|
|
317
|
+
97
|
|
318
|
+
98</pre>
|
|
319
319
|
</td>
|
|
320
320
|
<td>
|
|
321
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line
|
|
321
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line 96</span>
|
|
322
322
|
|
|
323
323
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_destroyed_redirect_path'>on_destroyed_redirect_path</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
324
324
|
<span class='ivar'>@on_destroyed_redirect_path_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -354,12 +354,12 @@
|
|
|
354
354
|
<pre class="lines">
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
91
|
|
358
|
+
92
|
|
359
|
+
93</pre>
|
|
360
360
|
</td>
|
|
361
361
|
<td>
|
|
362
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line
|
|
362
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/destroy.rb', line 91</span>
|
|
363
363
|
|
|
364
364
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_destroyed_respond'>on_destroyed_respond</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
365
365
|
<span class='ivar'>@on_destroyed_respond_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
</div>
|
|
375
375
|
|
|
376
376
|
<div id="footer">
|
|
377
|
-
Generated on Fri Nov 28
|
|
377
|
+
Generated on Fri Nov 28 12:38:45 2025 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>
|
|
@@ -309,12 +309,12 @@
|
|
|
309
309
|
<pre class="lines">
|
|
310
310
|
|
|
311
311
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
312
|
+
112
|
|
313
|
+
113
|
|
314
|
+
114</pre>
|
|
315
315
|
</td>
|
|
316
316
|
<td>
|
|
317
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
|
317
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 112</span>
|
|
318
318
|
|
|
319
319
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_update_failed'>on_update_failed</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
320
320
|
<span class='ivar'>@on_update_failed_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -350,12 +350,12 @@
|
|
|
350
350
|
<pre class="lines">
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
97
|
|
354
|
+
98
|
|
355
|
+
99</pre>
|
|
356
356
|
</td>
|
|
357
357
|
<td>
|
|
358
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
|
358
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 97</span>
|
|
359
359
|
|
|
360
360
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated'>on_updated</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
361
361
|
<span class='ivar'>@on_updated_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -391,12 +391,12 @@
|
|
|
391
391
|
<pre class="lines">
|
|
392
392
|
|
|
393
393
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
107
|
|
395
|
+
108
|
|
396
|
+
109</pre>
|
|
397
397
|
</td>
|
|
398
398
|
<td>
|
|
399
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
|
399
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 107</span>
|
|
400
400
|
|
|
401
401
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated_redirect_path'>on_updated_redirect_path</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
402
402
|
<span class='ivar'>@on_updated_redirect_path_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -432,12 +432,12 @@
|
|
|
432
432
|
<pre class="lines">
|
|
433
433
|
|
|
434
434
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
102
|
|
436
|
+
103
|
|
437
|
+
104</pre>
|
|
438
438
|
</td>
|
|
439
439
|
<td>
|
|
440
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
|
440
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 102</span>
|
|
441
441
|
|
|
442
442
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated_respond'>on_updated_respond</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
443
443
|
<span class='ivar'>@on_updated_respond_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on Fri Nov 28
|
|
455
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
1485
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
165
|
+
Generated on Fri Nov 28 12:38:45 2025 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>
|
|
@@ -2810,7 +2810,7 @@
|
|
|
2810
2810
|
</div>
|
|
2811
2811
|
|
|
2812
2812
|
<div id="footer">
|
|
2813
|
-
Generated on Fri Nov 28
|
|
2813
|
+
Generated on Fri Nov 28 12:38:45 2025 by
|
|
2814
2814
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2815
2815
|
0.9.34 (ruby-3.3.5).
|
|
2816
2816
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on Fri Nov 28
|
|
455
|
+
Generated on Fri Nov 28 12:38:44 2025 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>
|
|
@@ -341,14 +341,14 @@
|
|
|
341
341
|
<pre class="lines">
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
60
|
|
345
|
-
61
|
|
346
|
-
62
|
|
347
344
|
63
|
|
348
|
-
64
|
|
345
|
+
64
|
|
346
|
+
65
|
|
347
|
+
66
|
|
348
|
+
67</pre>
|
|
349
349
|
</td>
|
|
350
350
|
<td>
|
|
351
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line
|
|
351
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line 63</span>
|
|
352
352
|
|
|
353
353
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='comma'>,</span> <span class='label'>skip_columns:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
354
354
|
<span class='ivar'>@columns</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../NaturalOrdering.html" title="Compony::NaturalOrdering (class)">NaturalOrdering</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
@@ -413,12 +413,12 @@
|
|
|
413
413
|
<pre class="lines">
|
|
414
414
|
|
|
415
415
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
111
|
|
417
|
+
112
|
|
418
|
+
113</pre>
|
|
419
419
|
</td>
|
|
420
420
|
<td>
|
|
421
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line
|
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line 111</span>
|
|
422
422
|
|
|
423
423
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_field_columns'>all_field_columns</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
|
424
424
|
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_fields'>fields</span><span class='period'>.</span><span class='id identifier rubyid_each_key'>each_key</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_field_name'>field_name</span><span class='op'>|</span> <span class='id identifier rubyid_column'>column</span><span class='lparen'>(</span><span class='id identifier rubyid_field_name'>field_name</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
@@ -562,9 +562,6 @@
|
|
|
562
562
|
<pre class="lines">
|
|
563
563
|
|
|
564
564
|
|
|
565
|
-
73
|
|
566
|
-
74
|
|
567
|
-
75
|
|
568
565
|
76
|
|
569
566
|
77
|
|
570
567
|
78
|
|
@@ -577,10 +574,13 @@
|
|
|
577
574
|
85
|
|
578
575
|
86
|
|
579
576
|
87
|
|
580
|
-
88
|
|
577
|
+
88
|
|
578
|
+
89
|
|
579
|
+
90
|
|
580
|
+
91</pre>
|
|
581
581
|
</td>
|
|
582
582
|
<td>
|
|
583
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line
|
|
583
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line 76</span>
|
|
584
584
|
|
|
585
585
|
<span class='kw'>def</span> <span class='id identifier rubyid_column'>column</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>label:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>link_opts:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>link_to_component:</span> <span class='symbol'>:show</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>
|
|
586
586
|
<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>
|
|
@@ -649,12 +649,12 @@
|
|
|
649
649
|
<pre class="lines">
|
|
650
650
|
|
|
651
651
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
652
|
+
96
|
|
653
|
+
97
|
|
654
|
+
98</pre>
|
|
655
655
|
</td>
|
|
656
656
|
<td>
|
|
657
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line
|
|
657
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line 96</span>
|
|
658
658
|
|
|
659
659
|
<span class='kw'>def</span> <span class='id identifier rubyid_columns'>columns</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_col_names'>col_names</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
|
|
660
660
|
<span class='id identifier rubyid_col_names'>col_names</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_col_name'>col_name</span><span class='op'>|</span> <span class='id identifier rubyid_column'>column</span><span class='lparen'>(</span><span class='id identifier rubyid_col_name'>col_name</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
@@ -710,12 +710,12 @@
|
|
|
710
710
|
<pre class="lines">
|
|
711
711
|
|
|
712
712
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
713
|
+
104
|
|
714
|
+
105
|
|
715
|
+
106</pre>
|
|
716
716
|
</td>
|
|
717
717
|
<td>
|
|
718
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line
|
|
718
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/show.rb', line 104</span>
|
|
719
719
|
|
|
720
720
|
<span class='kw'>def</span> <span class='id identifier rubyid_skip_column'>skip_column</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
721
721
|
<span class='ivar'>@skipped_columns</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>
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
</div>
|
|
731
731
|
|
|
732
732
|
<div id="footer">
|
|
733
|
-
Generated on Fri Nov 28
|
|
733
|
+
Generated on Fri Nov 28 12:38:45 2025 by
|
|
734
734
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
735
735
|
0.9.34 (ruby-3.3.5).
|
|
736
736
|
</div>
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
</div>
|
|
592
592
|
|
|
593
593
|
<div id="footer">
|
|
594
|
-
Generated on Fri Nov 28
|
|
594
|
+
Generated on Fri Nov 28 12:38:45 2025 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 Fri Nov 28
|
|
121
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
129
|
+
Generated on Fri Nov 28 12:38:44 2025 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 Fri Nov 28
|
|
126
|
+
Generated on Fri Nov 28 12:38:44 2025 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>
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
</div>
|
|
394
394
|
|
|
395
395
|
<div id="footer">
|
|
396
|
-
Generated on Fri Nov 28
|
|
396
|
+
Generated on Fri Nov 28 12:38:45 2025 by
|
|
397
397
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
398
398
|
0.9.34 (ruby-3.3.5).
|
|
399
399
|
</div>
|