compony 0.5.0 → 0.5.1
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 +4 -0
- 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/Button.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/New.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/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 +23 -23
- 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.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/top-level-namespace.html +1 -1
- data/lib/compony/model_mixin.rb +5 -1
- 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: c39bdd69d9086e8b0b6cd76efa53c4c26327d540c814ec7d89d72b4a5e16b792
|
|
4
|
+
data.tar.gz: 87a0825429e03111aa260e688a54c45d1c296efce68b225cee100036ab627023
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 534cd84ccc5d6de9f7ccc570d4b571b0f6f62cc3ca166375f92ba21bcf19fab989904a003db0336862a6b641289c506f524fd71274fd9aec24709029d9a91ad6
|
|
7
|
+
data.tar.gz: df5ff5b6ba7c2dd1e8141549684314621a1a993ac5322ca0e95e00cd8a0abd017a76c3a7a01abec6b90125393aa906506d23dc7c3f20090851e3a2a4baf4d47c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
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.
|
|
5
|
+
# stub: compony 0.5.1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "compony".freeze
|
|
9
|
-
s.version = "0.5.
|
|
9
|
+
s.version = "0.5.1".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
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
</div>
|
|
222
222
|
|
|
223
223
|
<div id="footer">
|
|
224
|
-
Generated on Mon Sep 16
|
|
224
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
225
225
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
226
226
|
0.9.34 (ruby-3.3.5).
|
|
227
227
|
</div>
|
data/doc/Components.html
CHANGED
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
</div>
|
|
194
194
|
|
|
195
195
|
<div id="footer">
|
|
196
|
-
Generated on Mon Sep 16
|
|
196
|
+
Generated on Mon Sep 16 14:57:52 2024 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
|
@@ -2503,7 +2503,7 @@
|
|
|
2503
2503
|
</div>
|
|
2504
2504
|
|
|
2505
2505
|
<div id="footer">
|
|
2506
|
-
Generated on Mon Sep 16
|
|
2506
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
2507
2507
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2508
2508
|
0.9.34 (ruby-3.3.5).
|
|
2509
2509
|
</div>
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
</div>
|
|
397
397
|
|
|
398
398
|
<div id="footer">
|
|
399
|
-
Generated on Mon Sep 16
|
|
399
|
+
Generated on Mon Sep 16 14:57:51 2024 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 Mon Sep 16
|
|
532
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
</div>
|
|
579
579
|
|
|
580
580
|
<div id="footer">
|
|
581
|
-
Generated on Mon Sep 16
|
|
581
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
582
582
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
583
583
|
0.9.34 (ruby-3.3.5).
|
|
584
584
|
</div>
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
</div>
|
|
568
568
|
|
|
569
569
|
<div id="footer">
|
|
570
|
-
Generated on Mon Sep 16
|
|
570
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
</div>
|
|
683
683
|
|
|
684
684
|
<div id="footer">
|
|
685
|
-
Generated on Mon Sep 16
|
|
685
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
686
686
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
687
687
|
0.9.34 (ruby-3.3.5).
|
|
688
688
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on Mon Sep 16
|
|
119
|
+
Generated on Mon Sep 16 14:57:51 2024 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 Mon Sep 16
|
|
1186
|
+
Generated on Mon Sep 16 14:57:51 2024 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 Mon Sep 16
|
|
119
|
+
Generated on Mon Sep 16 14:57:51 2024 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>
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
</div>
|
|
284
284
|
|
|
285
285
|
<div id="footer">
|
|
286
|
-
Generated on Mon Sep 16
|
|
286
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
287
287
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
288
288
|
0.9.34 (ruby-3.3.5).
|
|
289
289
|
</div>
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
</div>
|
|
375
375
|
|
|
376
376
|
<div id="footer">
|
|
377
|
-
Generated on Mon Sep 16
|
|
377
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
455
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -1328,7 +1328,7 @@
|
|
|
1328
1328
|
</div>
|
|
1329
1329
|
|
|
1330
1330
|
<div id="footer">
|
|
1331
|
-
Generated on Mon Sep 16
|
|
1331
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
1332
1332
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1333
1333
|
0.9.34 (ruby-3.3.5).
|
|
1334
1334
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on Mon Sep 16
|
|
455
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
</div>
|
|
594
594
|
|
|
595
595
|
<div id="footer">
|
|
596
|
-
Generated on Mon Sep 16
|
|
596
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
597
597
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
598
598
|
0.9.34 (ruby-3.3.5).
|
|
599
599
|
</div>
|
data/doc/Compony/Components.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on Mon Sep 16
|
|
119
|
+
Generated on Mon Sep 16 14:57:51 2024 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>
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
</div>
|
|
127
127
|
|
|
128
128
|
<div id="footer">
|
|
129
|
-
Generated on Mon Sep 16
|
|
129
|
+
Generated on Mon Sep 16 14:57:51 2024 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 Mon Sep 16
|
|
126
|
+
Generated on Mon Sep 16 14:57:51 2024 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>
|
|
@@ -443,7 +443,7 @@ instance_of_a_hash.roo --> nil
|
|
|
443
443
|
</div>
|
|
444
444
|
|
|
445
445
|
<div id="footer">
|
|
446
|
-
Generated on Mon Sep 16
|
|
446
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
447
447
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
448
448
|
0.9.34 (ruby-3.3.5).
|
|
449
449
|
</div>
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
</div>
|
|
378
378
|
|
|
379
379
|
<div id="footer">
|
|
380
|
-
Generated on Mon Sep 16
|
|
380
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
381
381
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
382
382
|
0.9.34 (ruby-3.3.5).
|
|
383
383
|
</div>
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
</div>
|
|
604
604
|
|
|
605
605
|
<div id="footer">
|
|
606
|
-
Generated on Mon Sep 16
|
|
606
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
607
607
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
608
608
|
0.9.34 (ruby-3.3.5).
|
|
609
609
|
</div>
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
</div>
|
|
296
296
|
|
|
297
297
|
<div id="footer">
|
|
298
|
-
Generated on Mon Sep 16
|
|
298
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
299
299
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
300
300
|
0.9.34 (ruby-3.3.5).
|
|
301
301
|
</div>
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
</div>
|
|
1057
1057
|
|
|
1058
1058
|
<div id="footer">
|
|
1059
|
-
Generated on Mon Sep 16
|
|
1059
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
1060
1060
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1061
1061
|
0.9.34 (ruby-3.3.5).
|
|
1062
1062
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
</div>
|
|
290
290
|
|
|
291
291
|
<div id="footer">
|
|
292
|
-
Generated on Mon Sep 16
|
|
292
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
293
293
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
294
294
|
0.9.34 (ruby-3.3.5).
|
|
295
295
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
233
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div id="footer">
|
|
147
|
-
Generated on Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
294
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
225
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
147
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
233
|
+
Generated on Mon Sep 16 14:57:52 2024 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 Mon Sep 16
|
|
119
|
+
Generated on Mon Sep 16 14:57:51 2024 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
|
@@ -264,14 +264,14 @@
|
|
|
264
264
|
<pre class="lines">
|
|
265
265
|
|
|
266
266
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
103
|
|
268
|
+
104
|
|
269
|
+
105
|
|
270
|
+
106
|
|
271
|
+
107</pre>
|
|
272
272
|
</td>
|
|
273
273
|
<td>
|
|
274
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
274
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 103</span>
|
|
275
275
|
|
|
276
276
|
<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>
|
|
277
277
|
<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>
|
|
@@ -360,10 +360,6 @@
|
|
|
360
360
|
<pre class="lines">
|
|
361
361
|
|
|
362
362
|
|
|
363
|
-
78
|
|
364
|
-
79
|
|
365
|
-
80
|
|
366
|
-
81
|
|
367
363
|
82
|
|
368
364
|
83
|
|
369
365
|
84
|
|
@@ -376,10 +372,14 @@
|
|
|
376
372
|
91
|
|
377
373
|
92
|
|
378
374
|
93
|
|
379
|
-
94
|
|
375
|
+
94
|
|
376
|
+
95
|
|
377
|
+
96
|
|
378
|
+
97
|
|
379
|
+
98</pre>
|
|
380
380
|
</td>
|
|
381
381
|
<td>
|
|
382
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
382
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 82</span>
|
|
383
383
|
|
|
384
384
|
<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>
|
|
385
385
|
<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>
|
|
@@ -429,12 +429,12 @@
|
|
|
429
429
|
<pre class="lines">
|
|
430
430
|
|
|
431
431
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
432
|
+
120
|
|
433
|
+
121
|
|
434
|
+
122</pre>
|
|
435
435
|
</td>
|
|
436
436
|
<td>
|
|
437
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
437
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 120</span>
|
|
438
438
|
|
|
439
439
|
<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>
|
|
440
440
|
<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>
|
|
@@ -490,14 +490,14 @@
|
|
|
490
490
|
<pre class="lines">
|
|
491
491
|
|
|
492
492
|
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
493
|
+
113
|
|
494
|
+
114
|
|
495
|
+
115
|
|
496
|
+
116
|
|
497
|
+
117</pre>
|
|
498
498
|
</td>
|
|
499
499
|
<td>
|
|
500
|
-
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line
|
|
500
|
+
<pre class="code"><span class="info file"># File 'lib/compony/model_mixin.rb', line 113</span>
|
|
501
501
|
|
|
502
502
|
<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>
|
|
503
503
|
<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>
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
</div>
|
|
515
515
|
|
|
516
516
|
<div id="footer">
|
|
517
|
-
Generated on Mon Sep 16
|
|
517
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
518
518
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
519
519
|
0.9.34 (ruby-3.3.5).
|
|
520
520
|
</div>
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
</div>
|
|
291
291
|
|
|
292
292
|
<div id="footer">
|
|
293
|
-
Generated on Mon Sep 16
|
|
293
|
+
Generated on Mon Sep 16 14:57:52 2024 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>
|
|
@@ -931,7 +931,7 @@
|
|
|
931
931
|
</div>
|
|
932
932
|
|
|
933
933
|
<div id="footer">
|
|
934
|
-
Generated on Mon Sep 16
|
|
934
|
+
Generated on Mon Sep 16 14:57:52 2024 by
|
|
935
935
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
936
936
|
0.9.34 (ruby-3.3.5).
|
|
937
937
|
</div>
|
data/doc/Compony/Version.html
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
|
|
131
131
|
<div id="footer">
|
|
132
|
-
Generated on Mon Sep 16
|
|
132
|
+
Generated on Mon Sep 16 14:57:51 2024 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>
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
</div>
|
|
434
434
|
|
|
435
435
|
<div id="footer">
|
|
436
|
-
Generated on Mon Sep 16
|
|
436
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
437
437
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
438
438
|
0.9.34 (ruby-3.3.5).
|
|
439
439
|
</div>
|
data/doc/Compony.html
CHANGED
|
@@ -2206,7 +2206,7 @@
|
|
|
2206
2206
|
</div>
|
|
2207
2207
|
|
|
2208
2208
|
<div id="footer">
|
|
2209
|
-
Generated on Mon Sep 16
|
|
2209
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
2210
2210
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2211
2211
|
0.9.34 (ruby-3.3.5).
|
|
2212
2212
|
</div>
|
data/doc/ComponyController.html
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on Mon Sep 16
|
|
117
|
+
Generated on Mon Sep 16 14:57:52 2024 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
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
</div>
|
|
567
567
|
|
|
568
568
|
<div id="footer">
|
|
569
|
-
Generated on Mon Sep 16
|
|
569
|
+
Generated on Mon Sep 16 14:57:49 2024 by
|
|
570
570
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
571
571
|
0.9.34 (ruby-3.3.5).
|
|
572
572
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -1662,7 +1662,7 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
|
1662
1662
|
</div></div>
|
|
1663
1663
|
|
|
1664
1664
|
<div id="footer">
|
|
1665
|
-
Generated on Mon Sep 16
|
|
1665
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
1666
1666
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1667
1667
|
0.9.34 (ruby-3.3.5).
|
|
1668
1668
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -1662,7 +1662,7 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control
|
|
|
1662
1662
|
</div></div>
|
|
1663
1663
|
|
|
1664
1664
|
<div id="footer">
|
|
1665
|
-
Generated on Mon Sep 16
|
|
1665
|
+
Generated on Mon Sep 16 14:57:50 2024 by
|
|
1666
1666
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1667
1667
|
0.9.34 (ruby-3.3.5).
|
|
1668
1668
|
</div>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
<div id="footer">
|
|
105
|
-
Generated on Mon Sep 16
|
|
105
|
+
Generated on Mon Sep 16 14:57:51 2024 by
|
|
106
106
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
107
107
|
0.9.34 (ruby-3.3.5).
|
|
108
108
|
</div>
|
data/lib/compony/model_mixin.rb
CHANGED
|
@@ -28,7 +28,11 @@ module Compony
|
|
|
28
28
|
fail "Please add `include ActiveModel::Attributes` at the top of the class #{self}, as attributes cannot be registered otherwise with ActiveType."
|
|
29
29
|
end
|
|
30
30
|
# Register the field as an attribute
|
|
31
|
-
|
|
31
|
+
if defined?(ActiveType) && self <= ActiveType::Object
|
|
32
|
+
ar_attribute(name)
|
|
33
|
+
else
|
|
34
|
+
attribute(name)
|
|
35
|
+
end
|
|
32
36
|
fields[name] = field
|
|
33
37
|
end
|
|
34
38
|
|