compony 0.5.8 → 0.5.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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/VERSION +1 -1
  4. data/compony.gemspec +2 -2
  5. data/doc/ComponentGenerator.html +2 -2
  6. data/doc/Components.html +1 -1
  7. data/doc/ComponentsGenerator.html +1 -1
  8. data/doc/Compony/Component.html +1 -1
  9. data/doc/Compony/ComponentMixins/Default/Labelling.html +1 -1
  10. data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +1 -1
  11. data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +1 -1
  12. data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +1 -1
  13. data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
  14. data/doc/Compony/ComponentMixins/Default.html +1 -1
  15. data/doc/Compony/ComponentMixins/Resourceful.html +1 -1
  16. data/doc/Compony/ComponentMixins.html +1 -1
  17. data/doc/Compony/Components/Button.html +1 -1
  18. data/doc/Compony/Components/Destroy.html +1 -1
  19. data/doc/Compony/Components/Edit.html +1 -1
  20. data/doc/Compony/Components/Form.html +1 -1
  21. data/doc/Compony/Components/New.html +1 -1
  22. data/doc/Compony/Components/WithForm.html +1 -1
  23. data/doc/Compony/Components.html +1 -1
  24. data/doc/Compony/ControllerMixin.html +1 -1
  25. data/doc/Compony/Engine.html +1 -1
  26. data/doc/Compony/MethodAccessibleHash.html +1 -1
  27. data/doc/Compony/ModelFields/Anchormodel.html +1 -1
  28. data/doc/Compony/ModelFields/Association.html +1 -1
  29. data/doc/Compony/ModelFields/Attachment.html +1 -1
  30. data/doc/Compony/ModelFields/Base.html +1 -1
  31. data/doc/Compony/ModelFields/Boolean.html +1 -1
  32. data/doc/Compony/ModelFields/Color.html +1 -1
  33. data/doc/Compony/ModelFields/Currency.html +1 -1
  34. data/doc/Compony/ModelFields/Date.html +1 -1
  35. data/doc/Compony/ModelFields/Datetime.html +1 -1
  36. data/doc/Compony/ModelFields/Decimal.html +1 -1
  37. data/doc/Compony/ModelFields/Email.html +1 -1
  38. data/doc/Compony/ModelFields/Float.html +1 -1
  39. data/doc/Compony/ModelFields/Integer.html +1 -1
  40. data/doc/Compony/ModelFields/Percentage.html +1 -1
  41. data/doc/Compony/ModelFields/Phone.html +1 -1
  42. data/doc/Compony/ModelFields/RichText.html +1 -1
  43. data/doc/Compony/ModelFields/String.html +1 -1
  44. data/doc/Compony/ModelFields/Text.html +1 -1
  45. data/doc/Compony/ModelFields/Time.html +1 -1
  46. data/doc/Compony/ModelFields/Url.html +1 -1
  47. data/doc/Compony/ModelFields.html +1 -1
  48. data/doc/Compony/ModelMixin.html +1 -1
  49. data/doc/Compony/NaturalOrdering.html +1 -1
  50. data/doc/Compony/RequestContext.html +1 -1
  51. data/doc/Compony/Version.html +1 -1
  52. data/doc/Compony/ViewHelpers.html +1 -1
  53. data/doc/Compony.html +1 -1
  54. data/doc/ComponyController.html +1 -1
  55. data/doc/_index.html +1 -1
  56. data/doc/file.README.html +1 -1
  57. data/doc/index.html +1 -1
  58. data/doc/top-level-namespace.html +1 -1
  59. data/lib/generators/component/component_generator.rb +1 -1
  60. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13adc9eeac8af83115ff6c2c436681af00b3223fa565d038642bef5e27c5589c
4
- data.tar.gz: c643784b9c0a0d96a07910b56f89c85f430144b8f256b9842aae88d4167f5bca
3
+ metadata.gz: 61238da6708d4a8baa5e37ec625d97965dd195084219139ef7307eaff47760e5
4
+ data.tar.gz: 8c34cf8463658808555cd80f8a8c8345b795c3e560dcc4bf93c06cc76f54b599
5
5
  SHA512:
6
- metadata.gz: 03627ad9d57ffa7cdb79320f51d39416b2be0f561b3d91a7901fd8cd238fe6a655ef38574ba3e352f4a297f70ec2e5d921df46fba94c53321f5678f0d2fdecd1
7
- data.tar.gz: 828b6522e93d13b23aa606a8b7ec38102120708c26761df70c1e88bced8a624948c6570bcb4040e595b89414a13e07a4a97625a03ecdacc9aa469988b535ad83
6
+ metadata.gz: 5e4257c0dadff5d7af11babc0d19ec5603dbd311ee3cd127583725a8add65964652717799a7974e0185f6e0d2a64989a0e507edd6b87ca0e554aa90b232152db
7
+ data.tar.gz: ad5ad986c18a3919c0b7512a5151901761c6aefe1ec40ca90e0f1a714710769be423efab847e53d05750571ab17cb703479d57f8869b5986fb1549688d06efb0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.9
2
+
3
+ - Fix a bug in generator that was introduced with the previous commit
4
+
1
5
  # 0.5.8
2
6
 
3
7
  - Apply most recent rubocop recommendations
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.8
1
+ 0.5.9
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.8 ruby lib
5
+ # stub: compony 0.5.9 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "compony".freeze
9
- s.version = "0.5.8".freeze
9
+ s.version = "0.5.9".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]
@@ -207,7 +207,7 @@
207
207
  </span> <span class='ivar'>@args</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span>
208
208
 
209
209
  <span class='comment'># If BaseComponents::ComponentAboutToBeGenerated is present, inherit from that
210
- </span> <span class='kw'>if</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>BaseComponents</span><span class='period'>.</span><span class='id identifier rubyid_const_defined?'>const_defined?</span><span class='lparen'>(</span><span class='ivar'>@comp_cst</span><span class='rparen'>)</span><span class='rparen'>)</span>
210
+ </span> <span class='kw'>if</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>BaseComponents</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='const'>BaseComponents</span><span class='period'>.</span><span class='id identifier rubyid_const_defined?'>const_defined?</span><span class='lparen'>(</span><span class='ivar'>@comp_cst</span><span class='rparen'>)</span>
211
211
  <span class='ivar'>@parent_base_component_class</span> <span class='op'>=</span> <span class='const'>BaseComponents</span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span><span class='lparen'>(</span><span class='ivar'>@comp_cst</span><span class='rparen'>)</span>
212
212
  <span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>with_base_component.rb.erb</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>app/components/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@family</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@comp</span><span class='embexpr_end'>}</span><span class='tstring_content'>.rb</span><span class='tstring_end'>&quot;</span></span>
213
213
  <span class='kw'>return</span>
@@ -237,7 +237,7 @@
237
237
  </div>
238
238
 
239
239
  <div id="footer">
240
- Generated on Thu Aug 28 14:18:37 2025 by
240
+ Generated on Fri Aug 29 14:58:41 2025 by
241
241
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
242
242
  0.9.37 (ruby-3.3.5).
243
243
  </div>
data/doc/Components.html CHANGED
@@ -95,7 +95,7 @@
95
95
  </div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Thu Aug 28 14:18:36 2025 by
98
+ Generated on Fri Aug 29 14:58:40 2025 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.37 (ruby-3.3.5).
101
101
  </div>
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Thu Aug 28 14:18:37 2025 by
196
+ Generated on Fri Aug 29 14:58:41 2025 by
197
197
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.9.37 (ruby-3.3.5).
199
199
  </div>
@@ -2243,7 +2243,7 @@
2243
2243
  </div>
2244
2244
 
2245
2245
  <div id="footer">
2246
- Generated on Thu Aug 28 14:18:37 2025 by
2246
+ Generated on Fri Aug 29 14:58:40 2025 by
2247
2247
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2248
2248
  0.9.37 (ruby-3.3.5).
2249
2249
  </div>
@@ -396,7 +396,7 @@
396
396
  </div>
397
397
 
398
398
  <div id="footer">
399
- Generated on Thu Aug 28 14:18:37 2025 by
399
+ Generated on Fri Aug 29 14:58:40 2025 by
400
400
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
401
401
  0.9.37 (ruby-3.3.5).
402
402
  </div>
@@ -529,7 +529,7 @@
529
529
  </div>
530
530
 
531
531
  <div id="footer">
532
- Generated on Thu Aug 28 14:18:37 2025 by
532
+ Generated on Fri Aug 29 14:58:41 2025 by
533
533
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
534
534
  0.9.37 (ruby-3.3.5).
535
535
  </div>
@@ -659,7 +659,7 @@
659
659
  </div>
660
660
 
661
661
  <div id="footer">
662
- Generated on Thu Aug 28 14:18:37 2025 by
662
+ Generated on Fri Aug 29 14:58:41 2025 by
663
663
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
664
664
  0.9.37 (ruby-3.3.5).
665
665
  </div>
@@ -567,7 +567,7 @@
567
567
  </div>
568
568
 
569
569
  <div id="footer">
570
- Generated on Thu Aug 28 14:18:37 2025 by
570
+ Generated on Fri Aug 29 14:58:41 2025 by
571
571
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
572
572
  0.9.37 (ruby-3.3.5).
573
573
  </div>
@@ -682,7 +682,7 @@
682
682
  </div>
683
683
 
684
684
  <div id="footer">
685
- Generated on Thu Aug 28 14:18:37 2025 by
685
+ Generated on Fri Aug 29 14:58:40 2025 by
686
686
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
687
687
  0.9.37 (ruby-3.3.5).
688
688
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Aug 28 14:18:37 2025 by
119
+ Generated on Fri Aug 29 14:58:40 2025 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.37 (ruby-3.3.5).
122
122
  </div>
@@ -1183,7 +1183,7 @@
1183
1183
  </div>
1184
1184
 
1185
1185
  <div id="footer">
1186
- Generated on Thu Aug 28 14:18:37 2025 by
1186
+ Generated on Fri Aug 29 14:58:40 2025 by
1187
1187
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1188
1188
  0.9.37 (ruby-3.3.5).
1189
1189
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Aug 28 14:18:36 2025 by
119
+ Generated on Fri Aug 29 14:58:40 2025 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.37 (ruby-3.3.5).
122
122
  </div>
@@ -287,7 +287,7 @@
287
287
  </div>
288
288
 
289
289
  <div id="footer">
290
- Generated on Thu Aug 28 14:18:37 2025 by
290
+ Generated on Fri Aug 29 14:58:40 2025 by
291
291
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
292
292
  0.9.37 (ruby-3.3.5).
293
293
  </div>
@@ -374,7 +374,7 @@
374
374
  </div>
375
375
 
376
376
  <div id="footer">
377
- Generated on Thu Aug 28 14:18:37 2025 by
377
+ Generated on Fri Aug 29 14:58:40 2025 by
378
378
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
379
379
  0.9.37 (ruby-3.3.5).
380
380
  </div>
@@ -452,7 +452,7 @@
452
452
  </div>
453
453
 
454
454
  <div id="footer">
455
- Generated on Thu Aug 28 14:18:37 2025 by
455
+ Generated on Fri Aug 29 14:58:40 2025 by
456
456
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
457
457
  0.9.37 (ruby-3.3.5).
458
458
  </div>
@@ -1482,7 +1482,7 @@
1482
1482
  </div>
1483
1483
 
1484
1484
  <div id="footer">
1485
- Generated on Thu Aug 28 14:18:37 2025 by
1485
+ Generated on Fri Aug 29 14:58:40 2025 by
1486
1486
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1487
1487
  0.9.37 (ruby-3.3.5).
1488
1488
  </div>
@@ -452,7 +452,7 @@
452
452
  </div>
453
453
 
454
454
  <div id="footer">
455
- Generated on Thu Aug 28 14:18:37 2025 by
455
+ Generated on Fri Aug 29 14:58:40 2025 by
456
456
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
457
457
  0.9.37 (ruby-3.3.5).
458
458
  </div>
@@ -593,7 +593,7 @@
593
593
  </div>
594
594
 
595
595
  <div id="footer">
596
- Generated on Thu Aug 28 14:18:37 2025 by
596
+ Generated on Fri Aug 29 14:58:41 2025 by
597
597
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
598
598
  0.9.37 (ruby-3.3.5).
599
599
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Aug 28 14:18:36 2025 by
119
+ Generated on Fri Aug 29 14:58:40 2025 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.37 (ruby-3.3.5).
122
122
  </div>
@@ -126,7 +126,7 @@
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Thu Aug 28 14:18:36 2025 by
129
+ Generated on Fri Aug 29 14:58:40 2025 by
130
130
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
131
  0.9.37 (ruby-3.3.5).
132
132
  </div>
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Thu Aug 28 14:18:37 2025 by
126
+ Generated on Fri Aug 29 14:58:40 2025 by
127
127
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
128
128
  0.9.37 (ruby-3.3.5).
129
129
  </div>
@@ -443,7 +443,7 @@ instance_of_a_hash.roo --&gt; nil
443
443
  </div>
444
444
 
445
445
  <div id="footer">
446
- Generated on Thu Aug 28 14:18:37 2025 by
446
+ Generated on Fri Aug 29 14:58:41 2025 by
447
447
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
448
448
  0.9.37 (ruby-3.3.5).
449
449
  </div>
@@ -377,7 +377,7 @@
377
377
  </div>
378
378
 
379
379
  <div id="footer">
380
- Generated on Thu Aug 28 14:18:37 2025 by
380
+ Generated on Fri Aug 29 14:58:41 2025 by
381
381
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
382
382
  0.9.37 (ruby-3.3.5).
383
383
  </div>
@@ -603,7 +603,7 @@
603
603
  </div>
604
604
 
605
605
  <div id="footer">
606
- Generated on Thu Aug 28 14:18:37 2025 by
606
+ Generated on Fri Aug 29 14:58:41 2025 by
607
607
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
608
608
  0.9.37 (ruby-3.3.5).
609
609
  </div>
@@ -295,7 +295,7 @@
295
295
  </div>
296
296
 
297
297
  <div id="footer">
298
- Generated on Thu Aug 28 14:18:37 2025 by
298
+ Generated on Fri Aug 29 14:58:41 2025 by
299
299
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
300
300
  0.9.37 (ruby-3.3.5).
301
301
  </div>
@@ -1056,7 +1056,7 @@
1056
1056
  </div>
1057
1057
 
1058
1058
  <div id="footer">
1059
- Generated on Thu Aug 28 14:18:37 2025 by
1059
+ Generated on Fri Aug 29 14:58:40 2025 by
1060
1060
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1061
1061
  0.9.37 (ruby-3.3.5).
1062
1062
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:41 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -289,7 +289,7 @@
289
289
  </div>
290
290
 
291
291
  <div id="footer">
292
- Generated on Thu Aug 28 14:18:37 2025 by
292
+ Generated on Fri Aug 29 14:58:40 2025 by
293
293
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
294
294
  0.9.37 (ruby-3.3.5).
295
295
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:41 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:40 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:41 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:41 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -230,7 +230,7 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Thu Aug 28 14:18:37 2025 by
233
+ Generated on Fri Aug 29 14:58:40 2025 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
235
  0.9.37 (ruby-3.3.5).
236
236
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:40 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:41 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:41 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -291,7 +291,7 @@
291
291
  </div>
292
292
 
293
293
  <div id="footer">
294
- Generated on Thu Aug 28 14:18:37 2025 by
294
+ Generated on Fri Aug 29 14:58:40 2025 by
295
295
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
296
  0.9.37 (ruby-3.3.5).
297
297
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Aug 28 14:18:37 2025 by
225
+ Generated on Fri Aug 29 14:58:41 2025 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.37 (ruby-3.3.5).
228
228
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:40 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:40 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Aug 28 14:18:37 2025 by
147
+ Generated on Fri Aug 29 14:58:40 2025 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.37 (ruby-3.3.5).
150
150
  </div>
@@ -230,7 +230,7 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Thu Aug 28 14:18:37 2025 by
233
+ Generated on Fri Aug 29 14:58:40 2025 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
235
  0.9.37 (ruby-3.3.5).
236
236
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Aug 28 14:18:36 2025 by
119
+ Generated on Fri Aug 29 14:58:40 2025 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.37 (ruby-3.3.5).
122
122
  </div>
@@ -514,7 +514,7 @@
514
514
  </div>
515
515
 
516
516
  <div id="footer">
517
- Generated on Thu Aug 28 14:18:36 2025 by
517
+ Generated on Fri Aug 29 14:58:40 2025 by
518
518
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
519
519
  0.9.37 (ruby-3.3.5).
520
520
  </div>
@@ -290,7 +290,7 @@
290
290
  </div>
291
291
 
292
292
  <div id="footer">
293
- Generated on Thu Aug 28 14:18:37 2025 by
293
+ Generated on Fri Aug 29 14:58:40 2025 by
294
294
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
295
295
  0.9.37 (ruby-3.3.5).
296
296
  </div>
@@ -931,7 +931,7 @@
931
931
  </div>
932
932
 
933
933
  <div id="footer">
934
- Generated on Thu Aug 28 14:18:37 2025 by
934
+ Generated on Fri Aug 29 14:58:40 2025 by
935
935
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
936
936
  0.9.37 (ruby-3.3.5).
937
937
  </div>
@@ -129,7 +129,7 @@
129
129
  </div>
130
130
 
131
131
  <div id="footer">
132
- Generated on Thu Aug 28 14:18:36 2025 by
132
+ Generated on Fri Aug 29 14:58:40 2025 by
133
133
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
134
134
  0.9.37 (ruby-3.3.5).
135
135
  </div>
@@ -479,7 +479,7 @@
479
479
  </div>
480
480
 
481
481
  <div id="footer">
482
- Generated on Thu Aug 28 14:18:36 2025 by
482
+ Generated on Fri Aug 29 14:58:40 2025 by
483
483
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
484
484
  0.9.37 (ruby-3.3.5).
485
485
  </div>
data/doc/Compony.html CHANGED
@@ -2206,7 +2206,7 @@
2206
2206
  </div>
2207
2207
 
2208
2208
  <div id="footer">
2209
- Generated on Thu Aug 28 14:18:36 2025 by
2209
+ Generated on Fri Aug 29 14:58:40 2025 by
2210
2210
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2211
2211
  0.9.37 (ruby-3.3.5).
2212
2212
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Aug 28 14:18:37 2025 by
117
+ Generated on Fri Aug 29 14:58:41 2025 by
118
118
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.37 (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 Thu Aug 28 14:18:34 2025 by
569
+ Generated on Fri Aug 29 14:58:37 2025 by
570
570
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
571
571
  0.9.37 (ruby-3.3.5).
572
572
  </div>
data/doc/file.README.html CHANGED
@@ -1752,7 +1752,7 @@ my_button = Compony.button(:index, :users, enabled: -&gt; { |controller| control
1752
1752
  </div></div>
1753
1753
 
1754
1754
  <div id="footer">
1755
- Generated on Thu Aug 28 14:18:36 2025 by
1755
+ Generated on Fri Aug 29 14:58:40 2025 by
1756
1756
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1757
1757
  0.9.37 (ruby-3.3.5).
1758
1758
  </div>
data/doc/index.html CHANGED
@@ -1752,7 +1752,7 @@ my_button = Compony.button(:index, :users, enabled: -&gt; { |controller| control
1752
1752
  </div></div>
1753
1753
 
1754
1754
  <div id="footer">
1755
- Generated on Thu Aug 28 14:18:35 2025 by
1755
+ Generated on Fri Aug 29 14:58:38 2025 by
1756
1756
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1757
1757
  0.9.37 (ruby-3.3.5).
1758
1758
  </div>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Thu Aug 28 14:18:36 2025 by
105
+ Generated on Fri Aug 29 14:58:40 2025 by
106
106
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.37 (ruby-3.3.5).
108
108
  </div>
@@ -11,7 +11,7 @@ class ComponentGenerator < Rails::Generators::NamedBase
11
11
  @args = args
12
12
 
13
13
  # If BaseComponents::ComponentAboutToBeGenerated is present, inherit from that
14
- if defined?(BaseComponents.const_defined?(@comp_cst))
14
+ if defined?(BaseComponents) && BaseComponents.const_defined?(@comp_cst)
15
15
  @parent_base_component_class = BaseComponents.const_get(@comp_cst)
16
16
  template 'with_base_component.rb.erb', "app/components/#{@family}/#{@comp}.rb"
17
17
  return
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compony
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Kalbermatter