compony 0.11.10 → 0.11.11

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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile.lock +1 -1
  4. data/VERSION +1 -1
  5. data/compony.gemspec +2 -2
  6. data/doc/ComponentGenerator.html +1 -1
  7. data/doc/Components.html +1 -1
  8. data/doc/ComponentsGenerator.html +1 -1
  9. data/doc/Compony/Component.html +1 -1
  10. data/doc/Compony/ComponentMixins/Default/Labelling.html +1 -1
  11. data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +1 -1
  12. data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +1 -1
  13. data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +1 -1
  14. data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
  15. data/doc/Compony/ComponentMixins/Default.html +1 -1
  16. data/doc/Compony/ComponentMixins/Resourceful.html +1 -1
  17. data/doc/Compony/ComponentMixins.html +1 -1
  18. data/doc/Compony/Components/Buttons/CssButton.html +1 -1
  19. data/doc/Compony/Components/Buttons/Link.html +1 -1
  20. data/doc/Compony/Components/Buttons.html +1 -1
  21. data/doc/Compony/Components/Destroy.html +1 -1
  22. data/doc/Compony/Components/Edit.html +1 -1
  23. data/doc/Compony/Components/Form.html +1 -1
  24. data/doc/Compony/Components/Index.html +1 -1
  25. data/doc/Compony/Components/List.html +1 -1
  26. data/doc/Compony/Components/New.html +1 -1
  27. data/doc/Compony/Components/Show.html +1 -1
  28. data/doc/Compony/Components/WithForm.html +1 -1
  29. data/doc/Compony/Components.html +1 -1
  30. data/doc/Compony/ControllerMixin.html +1 -1
  31. data/doc/Compony/Engine.html +1 -1
  32. data/doc/Compony/Intent.html +1 -1
  33. data/doc/Compony/ManageIntentsDsl.html +1 -1
  34. data/doc/Compony/MethodAccessibleHash.html +1 -1
  35. data/doc/Compony/ModelFields/Anchormodel.html +1 -1
  36. data/doc/Compony/ModelFields/Association.html +1 -1
  37. data/doc/Compony/ModelFields/Attachment.html +1 -1
  38. data/doc/Compony/ModelFields/Base.html +1 -1
  39. data/doc/Compony/ModelFields/Boolean.html +1 -1
  40. data/doc/Compony/ModelFields/Color.html +1 -1
  41. data/doc/Compony/ModelFields/Currency.html +1 -1
  42. data/doc/Compony/ModelFields/Date.html +1 -1
  43. data/doc/Compony/ModelFields/Datetime.html +1 -1
  44. data/doc/Compony/ModelFields/Decimal.html +1 -1
  45. data/doc/Compony/ModelFields/Email.html +1 -1
  46. data/doc/Compony/ModelFields/Float.html +1 -1
  47. data/doc/Compony/ModelFields/Integer.html +1 -1
  48. data/doc/Compony/ModelFields/Percentage.html +1 -1
  49. data/doc/Compony/ModelFields/Phone.html +1 -1
  50. data/doc/Compony/ModelFields/RichText.html +1 -1
  51. data/doc/Compony/ModelFields/String.html +1 -1
  52. data/doc/Compony/ModelFields/Text.html +1 -1
  53. data/doc/Compony/ModelFields/Time.html +1 -1
  54. data/doc/Compony/ModelFields/Url.html +1 -1
  55. data/doc/Compony/ModelFields.html +1 -1
  56. data/doc/Compony/ModelMixin.html +1 -1
  57. data/doc/Compony/NaturalOrdering.html +1 -1
  58. data/doc/Compony/RequestContext.html +1 -1
  59. data/doc/Compony/Version.html +1 -1
  60. data/doc/Compony/ViewHelpers.html +1 -1
  61. data/doc/Compony/VirtualModel.html +1 -1
  62. data/doc/Compony.html +1 -1
  63. data/doc/ComponyController.html +1 -1
  64. data/doc/_index.html +1 -1
  65. data/doc/file.CHANGELOG.html +6 -1
  66. data/doc/file.README.html +1 -1
  67. data/doc/file.basic_component.html +1 -1
  68. data/doc/file.cookbook.html +1 -1
  69. data/doc/file.destroy.html +1 -1
  70. data/doc/file.dsl_reference.html +1 -1
  71. data/doc/file.edit.html +1 -1
  72. data/doc/file.example.html +1 -1
  73. data/doc/file.example_advanced.html +1 -1
  74. data/doc/file.feasibility.html +1 -1
  75. data/doc/file.form.html +1 -1
  76. data/doc/file.generators.html +1 -1
  77. data/doc/file.glossary.html +1 -1
  78. data/doc/file.gotchas.html +1 -1
  79. data/doc/file.index.html +1 -1
  80. data/doc/file.inheritance.html +1 -1
  81. data/doc/file.installation.html +1 -1
  82. data/doc/file.integrations.html +1 -1
  83. data/doc/file.intents.html +1 -1
  84. data/doc/file.internal_datastructures.html +1 -1
  85. data/doc/file.list.html +1 -1
  86. data/doc/file.maintaining.html +1 -1
  87. data/doc/file.model_fields.html +1 -1
  88. data/doc/file.nesting.html +1 -1
  89. data/doc/file.new.html +1 -1
  90. data/doc/file.ownership.html +1 -1
  91. data/doc/file.patterns.html +1 -1
  92. data/doc/file.pre_built_components.html +1 -1
  93. data/doc/file.resourceful.html +1 -1
  94. data/doc/file.show.html +1 -1
  95. data/doc/file.standalone.html +1 -1
  96. data/doc/file.virtual_models.html +1 -1
  97. data/doc/file.with_form.html +1 -1
  98. data/doc/index.html +1 -1
  99. data/doc/top-level-namespace.html +1 -1
  100. data/lib/compony/components/new.rb +1 -1
  101. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1399ff7edef087ca32d91983ba526d1b88e44c4135316e1db585ce400ee3724
4
- data.tar.gz: 2c71b2098ab04ec49010894bbecaf1bbe22238aac458188cae067bfb99fbef86
3
+ metadata.gz: 0eee63a8d1acf3a1bd5afa06dbb1d5e81e5552bf75eee54fa773f0009767e332
4
+ data.tar.gz: 794d5eb455f6eadfa5ea20addca8a3c9fd7389dd384833982c714999aba21fcb
5
5
  SHA512:
6
- metadata.gz: d9987d9f0dcd5e2e7b78567751de03272c80fae7b607901e28ae01f76a81c8658b9a446bcbd85e3a0dad3429336e0e336ad597e974ffd07de1beeae2b916a29a
7
- data.tar.gz: 1e4c208974fa5f9d7f6ad2f615d92eaa4f455235037613033bea4598c18e3a8a45e5fc379b6c8b774a1cd5e1f1d769ca0720a6ef65a5ab73162d645b9709c6c3
6
+ metadata.gz: 572f7c26d5650694611ac168214e51c73e36d64aec89cf93d4762f461804195774c11ef39a98794affeea38663f3684f633dd033a7d7b2b4e544c71751eb9a6e
7
+ data.tar.gz: eefeaea8f95f485a2f8940ca21da8f4b241f1034d365b5eb88e9b9be768f08d2dddf54313652f523dd04b26947ee5a225cc5be0d104f2f7b341f6a95fbc12737
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # 0.11.11
2
+
3
+ - Fix the `New` component's `method: :post` intent button (immediate create, no form) being hidden for
4
+ non-admin users. The POST verb's `authorize` checked `can?(:create, @data)`, but the button-visibility
5
+ probe (`standalone_access_permitted_for?`) evaluates `authorize` *without* running `load_data`, so
6
+ `@data` is `nil` at probe time. CanCan rules that target the class (e.g. `can :create, PosTransaction`)
7
+ do not match a `nil` subject, so the button vanished — while `can :manage, :all` (admins) still matched.
8
+ Changed to `can?(:create, @data || data_class)`: instance check during a real POST (where `load_data`
9
+ already set `@data`), class check during the probe — symmetric with the GET verb's `can?(:new, data_class)`.
10
+
1
11
  # 0.11.10
2
12
 
3
13
  - Fix `Compony.intent` (and thus `add` / `render_intent` for custom intents) raising `ArgumentError (given 0, expected 1+)` on Ruby 3.4+. The signature `def self.intent(intent_or_comp_args, ...)` required a leading positional; Ruby 3.4 completed keyword/positional separation, so a kwargs-only call (e.g. `add label: '...', name: :print, button: {...}`) no longer binds the keywords to that positional. Changed to `def self.intent(*args, **kwargs)`.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- compony (0.11.10.edge)
4
+ compony (0.11.11.edge)
5
5
  anchormodel (>= 0.3.0)
6
6
  cancancan (~> 3.6.1)
7
7
  dslblend (>= 0.0.3)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.10
1
+ 0.11.11
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.10 ruby lib
5
+ # stub: compony 0.11.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "compony".freeze
9
- s.version = "0.11.10".freeze
9
+ s.version = "0.11.11".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]
@@ -249,7 +249,7 @@
249
249
  </div>
250
250
 
251
251
  <div id="footer">
252
- Generated on Thu Jun 4 20:37:18 2026 by
252
+ Generated on Sat Jun 6 09:14:49 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.4.9).
255
255
  </div>
data/doc/Components.html CHANGED
@@ -95,7 +95,7 @@
95
95
  </div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Thu Jun 4 20:37:17 2026 by
98
+ Generated on Sat Jun 6 09:14:48 2026 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.34 (ruby-3.4.9).
101
101
  </div>
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Thu Jun 4 20:37:18 2026 by
196
+ Generated on Sat Jun 6 09:14:49 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.4.9).
199
199
  </div>
@@ -2072,7 +2072,7 @@
2072
2072
  </div>
2073
2073
 
2074
2074
  <div id="footer">
2075
- Generated on Thu Jun 4 20:37:17 2026 by
2075
+ Generated on Sat Jun 6 09:14:48 2026 by
2076
2076
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2077
2077
  0.9.34 (ruby-3.4.9).
2078
2078
  </div>
@@ -477,7 +477,7 @@
477
477
  </div>
478
478
 
479
479
  <div id="footer">
480
- Generated on Thu Jun 4 20:37:17 2026 by
480
+ Generated on Sat Jun 6 09:14:48 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.4.9).
483
483
  </div>
@@ -529,7 +529,7 @@
529
529
  </div>
530
530
 
531
531
  <div id="footer">
532
- Generated on Thu Jun 4 20:37:19 2026 by
532
+ Generated on Sat Jun 6 09:14:49 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.4.9).
535
535
  </div>
@@ -698,7 +698,7 @@
698
698
  </div>
699
699
 
700
700
  <div id="footer">
701
- Generated on Thu Jun 4 20:37:19 2026 by
701
+ Generated on Sat Jun 6 09:14:49 2026 by
702
702
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
703
703
  0.9.34 (ruby-3.4.9).
704
704
  </div>
@@ -603,7 +603,7 @@
603
603
  </div>
604
604
 
605
605
  <div id="footer">
606
- Generated on Thu Jun 4 20:37:19 2026 by
606
+ Generated on Sat Jun 6 09:14:49 2026 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.4.9).
609
609
  </div>
@@ -868,7 +868,7 @@
868
868
  </div>
869
869
 
870
870
  <div id="footer">
871
- Generated on Thu Jun 4 20:37:17 2026 by
871
+ Generated on Sat Jun 6 09:14:48 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.4.9).
874
874
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Jun 4 20:37:17 2026 by
119
+ Generated on Sat Jun 6 09:14:48 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.4.9).
122
122
  </div>
@@ -1253,7 +1253,7 @@
1253
1253
  </div>
1254
1254
 
1255
1255
  <div id="footer">
1256
- Generated on Thu Jun 4 20:37:17 2026 by
1256
+ Generated on Sat Jun 6 09:14:48 2026 by
1257
1257
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1258
1258
  0.9.34 (ruby-3.4.9).
1259
1259
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Jun 4 20:37:17 2026 by
119
+ Generated on Sat Jun 6 09:14:48 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.4.9).
122
122
  </div>
@@ -272,7 +272,7 @@
272
272
  </div>
273
273
 
274
274
  <div id="footer">
275
- Generated on Thu Jun 4 20:37:18 2026 by
275
+ Generated on Sat Jun 6 09:14:49 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.4.9).
278
278
  </div>
@@ -242,7 +242,7 @@
242
242
  </div>
243
243
 
244
244
  <div id="footer">
245
- Generated on Thu Jun 4 20:37:18 2026 by
245
+ Generated on Sat Jun 6 09:14:49 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.4.9).
248
248
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Jun 4 20:37:17 2026 by
119
+ Generated on Sat Jun 6 09:14:48 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.4.9).
122
122
  </div>
@@ -428,7 +428,7 @@
428
428
  </div>
429
429
 
430
430
  <div id="footer">
431
- Generated on Thu Jun 4 20:37:18 2026 by
431
+ Generated on Sat Jun 6 09:14:49 2026 by
432
432
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
433
433
  0.9.34 (ruby-3.4.9).
434
434
  </div>
@@ -524,7 +524,7 @@
524
524
  </div>
525
525
 
526
526
  <div id="footer">
527
- Generated on Thu Jun 4 20:37:18 2026 by
527
+ Generated on Sat Jun 6 09:14:48 2026 by
528
528
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
529
529
  0.9.34 (ruby-3.4.9).
530
530
  </div>
@@ -1825,7 +1825,7 @@
1825
1825
  </div>
1826
1826
 
1827
1827
  <div id="footer">
1828
- Generated on Thu Jun 4 20:37:18 2026 by
1828
+ Generated on Sat Jun 6 09:14:49 2026 by
1829
1829
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1830
1830
  0.9.34 (ruby-3.4.9).
1831
1831
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Thu Jun 4 20:37:18 2026 by
165
+ Generated on Sat Jun 6 09:14:49 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.4.9).
168
168
  </div>
@@ -2705,7 +2705,7 @@
2705
2705
  </div>
2706
2706
 
2707
2707
  <div id="footer">
2708
- Generated on Thu Jun 4 20:37:18 2026 by
2708
+ Generated on Sat Jun 6 09:14:49 2026 by
2709
2709
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2710
2710
  0.9.34 (ruby-3.4.9).
2711
2711
  </div>
@@ -524,7 +524,7 @@
524
524
  </div>
525
525
 
526
526
  <div id="footer">
527
- Generated on Thu Jun 4 20:37:17 2026 by
527
+ Generated on Sat Jun 6 09:14:48 2026 by
528
528
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
529
529
  0.9.34 (ruby-3.4.9).
530
530
  </div>
@@ -755,7 +755,7 @@
755
755
  </div>
756
756
 
757
757
  <div id="footer">
758
- Generated on Thu Jun 4 20:37:18 2026 by
758
+ Generated on Sat Jun 6 09:14:49 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.4.9).
761
761
  </div>
@@ -738,7 +738,7 @@
738
738
  </div>
739
739
 
740
740
  <div id="footer">
741
- Generated on Thu Jun 4 20:37:18 2026 by
741
+ Generated on Sat Jun 6 09:14:49 2026 by
742
742
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
743
743
  0.9.34 (ruby-3.4.9).
744
744
  </div>
@@ -118,7 +118,7 @@
118
118
  </div>
119
119
 
120
120
  <div id="footer">
121
- Generated on Thu Jun 4 20:37:17 2026 by
121
+ Generated on Sat Jun 6 09:14:48 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.4.9).
124
124
  </div>
@@ -126,7 +126,7 @@
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Thu Jun 4 20:37:17 2026 by
129
+ Generated on Sat Jun 6 09:14:48 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.4.9).
132
132
  </div>
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Thu Jun 4 20:37:17 2026 by
126
+ Generated on Sat Jun 6 09:14:48 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.4.9).
129
129
  </div>
@@ -1561,7 +1561,7 @@
1561
1561
  </div>
1562
1562
 
1563
1563
  <div id="footer">
1564
- Generated on Thu Jun 4 20:37:17 2026 by
1564
+ Generated on Sat Jun 6 09:14:48 2026 by
1565
1565
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1566
1566
  0.9.34 (ruby-3.4.9).
1567
1567
  </div>
@@ -403,7 +403,7 @@
403
403
  </div>
404
404
 
405
405
  <div id="footer">
406
- Generated on Thu Jun 4 20:37:18 2026 by
406
+ Generated on Sat Jun 6 09:14:49 2026 by
407
407
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
408
408
  0.9.34 (ruby-3.4.9).
409
409
  </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 Jun 4 20:37:18 2026 by
446
+ Generated on Sat Jun 6 09:14:49 2026 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.4.9).
449
449
  </div>
@@ -509,7 +509,7 @@
509
509
  </div>
510
510
 
511
511
  <div id="footer">
512
- Generated on Thu Jun 4 20:37:18 2026 by
512
+ Generated on Sat Jun 6 09:14:49 2026 by
513
513
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
514
514
  0.9.34 (ruby-3.4.9).
515
515
  </div>
@@ -603,7 +603,7 @@
603
603
  </div>
604
604
 
605
605
  <div id="footer">
606
- Generated on Thu Jun 4 20:37:18 2026 by
606
+ Generated on Sat Jun 6 09:14:49 2026 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.4.9).
609
609
  </div>
@@ -495,7 +495,7 @@
495
495
  </div>
496
496
 
497
497
  <div id="footer">
498
- Generated on Thu Jun 4 20:37:18 2026 by
498
+ Generated on Sat Jun 6 09:14:49 2026 by
499
499
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
500
500
  0.9.34 (ruby-3.4.9).
501
501
  </div>
@@ -1186,7 +1186,7 @@
1186
1186
  </div>
1187
1187
 
1188
1188
  <div id="footer">
1189
- Generated on Thu Jun 4 20:37:18 2026 by
1189
+ Generated on Sat Jun 6 09:14:49 2026 by
1190
1190
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1191
1191
  0.9.34 (ruby-3.4.9).
1192
1192
  </div>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Thu Jun 4 20:37:18 2026 by
357
+ Generated on Sat Jun 6 09:14:49 2026 by
358
358
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
359
  0.9.34 (ruby-3.4.9).
360
360
  </div>
@@ -289,7 +289,7 @@
289
289
  </div>
290
290
 
291
291
  <div id="footer">
292
- Generated on Thu Jun 4 20:37:18 2026 by
292
+ Generated on Sat Jun 6 09:14:49 2026 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.4.9).
295
295
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Jun 4 20:37:18 2026 by
147
+ Generated on Sat Jun 6 09:14:49 2026 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.34 (ruby-3.4.9).
150
150
  </div>
@@ -230,7 +230,7 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Thu Jun 4 20:37:18 2026 by
233
+ Generated on Sat Jun 6 09:14:49 2026 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
235
  0.9.34 (ruby-3.4.9).
236
236
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Jun 4 20:37:18 2026 by
147
+ Generated on Sat Jun 6 09:14:49 2026 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.34 (ruby-3.4.9).
150
150
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -291,7 +291,7 @@
291
291
  </div>
292
292
 
293
293
  <div id="footer">
294
- Generated on Thu Jun 4 20:37:18 2026 by
294
+ Generated on Sat Jun 6 09:14:49 2026 by
295
295
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
296
  0.9.34 (ruby-3.4.9).
297
297
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:18 2026 by
225
+ Generated on Sat Jun 6 09:14:49 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Jun 4 20:37:18 2026 by
147
+ Generated on Sat Jun 6 09:14:49 2026 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.34 (ruby-3.4.9).
150
150
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Jun 4 20:37:18 2026 by
147
+ Generated on Sat Jun 6 09:14:49 2026 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.34 (ruby-3.4.9).
150
150
  </div>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Thu Jun 4 20:37:18 2026 by
147
+ Generated on Sat Jun 6 09:14:49 2026 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
149
  0.9.34 (ruby-3.4.9).
150
150
  </div>
@@ -230,7 +230,7 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Thu Jun 4 20:37:18 2026 by
233
+ Generated on Sat Jun 6 09:14:49 2026 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
235
  0.9.34 (ruby-3.4.9).
236
236
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Jun 4 20:37:17 2026 by
119
+ Generated on Sat Jun 6 09:14:48 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.4.9).
122
122
  </div>
@@ -519,7 +519,7 @@
519
519
  </div>
520
520
 
521
521
  <div id="footer">
522
- Generated on Thu Jun 4 20:37:17 2026 by
522
+ Generated on Sat Jun 6 09:14:48 2026 by
523
523
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
524
524
  0.9.34 (ruby-3.4.9).
525
525
  </div>
@@ -290,7 +290,7 @@
290
290
  </div>
291
291
 
292
292
  <div id="footer">
293
- Generated on Thu Jun 4 20:37:18 2026 by
293
+ Generated on Sat Jun 6 09:14:49 2026 by
294
294
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
295
295
  0.9.34 (ruby-3.4.9).
296
296
  </div>
@@ -1149,7 +1149,7 @@
1149
1149
  </div>
1150
1150
 
1151
1151
  <div id="footer">
1152
- Generated on Thu Jun 4 20:37:18 2026 by
1152
+ Generated on Sat Jun 6 09:14:49 2026 by
1153
1153
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1154
1154
  0.9.34 (ruby-3.4.9).
1155
1155
  </div>
@@ -129,7 +129,7 @@
129
129
  </div>
130
130
 
131
131
  <div id="footer">
132
- Generated on Thu Jun 4 20:37:17 2026 by
132
+ Generated on Sat Jun 6 09:14:48 2026 by
133
133
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
134
134
  0.9.34 (ruby-3.4.9).
135
135
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu Jun 4 20:37:17 2026 by
225
+ Generated on Sat Jun 6 09:14:48 2026 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.34 (ruby-3.4.9).
228
228
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Thu Jun 4 20:37:17 2026 by
231
+ Generated on Sat Jun 6 09:14:48 2026 by
232
232
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.34 (ruby-3.4.9).
234
234
  </div>
data/doc/Compony.html CHANGED
@@ -1670,7 +1670,7 @@
1670
1670
  </div>
1671
1671
 
1672
1672
  <div id="footer">
1673
- Generated on Thu Jun 4 20:37:17 2026 by
1673
+ Generated on Sat Jun 6 09:14:48 2026 by
1674
1674
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1675
1675
  0.9.34 (ruby-3.4.9).
1676
1676
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Jun 4 20:37:18 2026 by
117
+ Generated on Sat Jun 6 09:14:49 2026 by
118
118
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.34 (ruby-3.4.9).
120
120
  </div>
data/doc/_index.html CHANGED
@@ -718,7 +718,7 @@
718
718
  </div>
719
719
 
720
720
  <div id="footer">
721
- Generated on Thu Jun 4 20:37:14 2026 by
721
+ Generated on Sat Jun 6 09:14:45 2026 by
722
722
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
723
723
  0.9.34 (ruby-3.4.9).
724
724
  </div>
@@ -58,6 +58,11 @@
58
58
  </div>
59
59
 
60
60
  <div id="content"><div id='filecontents'>
61
+ <h1 id="label-0.11.11">0.11.11</h1>
62
+ <ul><li>
63
+ <p>Fix the <code>New</code> component’s <code>method: :post</code> intent button (immediate create, no form) being hidden for non-admin users. The POST verb’s <code>authorize</code> checked <code>can?(:create, @data)</code>, but the button-visibility probe (<code>standalone_access_permitted_for?</code>) evaluates <code>authorize</code> <em>without</em> running <code>load_data</code>, so <code>@data</code> is <code>nil</code> at probe time. CanCan rules that target the class (e.g. <code>can :create, PosTransaction</code>) do not match a <code>nil</code> subject, so the button vanished — while <code>can :manage, :all</code> (admins) still matched. Changed to <code>can?(:create, @data || data_class)</code>: instance check during a real POST (where <code>load_data</code> already set <code>@data</code>), class check during the probe — symmetric with the GET verb’s <code>can?(:new, data_class)</code>.</p>
64
+ </li></ul>
65
+
61
66
  <h1 id="label-0.11.10">0.11.10</h1>
62
67
  <ul><li>
63
68
  <p>Fix <code>Compony.intent</code> (and thus <code>add</code> / <code>render_intent</code> for custom intents) raising <code>ArgumentError (given 0, expected 1+)</code> on Ruby 3.4+. The signature <code>def self.intent(intent_or_comp_args, ...)</code> required a leading positional; Ruby 3.4 completed keyword/positional separation, so a kwargs-only call (e.g. <code>add label: &#39;...&#39;, name: :print, button: {...}</code>) no longer binds the keywords to that positional. Changed to <code>def self.intent(*args, **kwargs)</code>.</p>
@@ -755,7 +760,7 @@
755
760
  </div></div>
756
761
 
757
762
  <div id="footer">
758
- Generated on Thu Jun 4 20:37:15 2026 by
763
+ Generated on Sat Jun 6 09:14:46 2026 by
759
764
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
760
765
  0.9.34 (ruby-3.4.9).
761
766
  </div>
data/doc/file.README.html CHANGED
@@ -220,7 +220,7 @@
220
220
  </div></div>
221
221
 
222
222
  <div id="footer">
223
- Generated on Thu Jun 4 20:37:14 2026 by
223
+ Generated on Sat Jun 6 09:14:45 2026 by
224
224
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
225
225
  0.9.34 (ruby-3.4.9).
226
226
  </div>
@@ -304,7 +304,7 @@
304
304
  </div></div>
305
305
 
306
306
  <div id="footer">
307
- Generated on Thu Jun 4 20:37:15 2026 by
307
+ Generated on Sat Jun 6 09:14:46 2026 by
308
308
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
309
309
  0.9.34 (ruby-3.4.9).
310
310
  </div>
@@ -179,7 +179,7 @@
179
179
  </div></div>
180
180
 
181
181
  <div id="footer">
182
- Generated on Thu Jun 4 20:37:17 2026 by
182
+ Generated on Sat Jun 6 09:14:48 2026 by
183
183
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
184
184
  0.9.34 (ruby-3.4.9).
185
185
  </div>
@@ -95,7 +95,7 @@
95
95
  </div></div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Thu Jun 4 20:37:16 2026 by
98
+ Generated on Sat Jun 6 09:14:47 2026 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.34 (ruby-3.4.9).
101
101
  </div>
@@ -662,7 +662,7 @@
662
662
  </div></div>
663
663
 
664
664
  <div id="footer">
665
- Generated on Thu Jun 4 20:37:16 2026 by
665
+ Generated on Sat Jun 6 09:14:47 2026 by
666
666
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
667
667
  0.9.34 (ruby-3.4.9).
668
668
  </div>
data/doc/file.edit.html CHANGED
@@ -99,7 +99,7 @@
99
99
  </div></div>
100
100
 
101
101
  <div id="footer">
102
- Generated on Thu Jun 4 20:37:16 2026 by
102
+ Generated on Sat Jun 6 09:14:47 2026 by
103
103
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
104
104
  0.9.34 (ruby-3.4.9).
105
105
  </div>
@@ -281,7 +281,7 @@
281
281
  </div></div>
282
282
 
283
283
  <div id="footer">
284
- Generated on Thu Jun 4 20:37:15 2026 by
284
+ Generated on Sat Jun 6 09:14:46 2026 by
285
285
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
286
286
  0.9.34 (ruby-3.4.9).
287
287
  </div>
@@ -247,7 +247,7 @@
247
247
  </div></div>
248
248
 
249
249
  <div id="footer">
250
- Generated on Thu Jun 4 20:37:15 2026 by
250
+ Generated on Sat Jun 6 09:14:46 2026 by
251
251
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
252
252
  0.9.34 (ruby-3.4.9).
253
253
  </div>
@@ -105,7 +105,7 @@
105
105
  </div></div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Thu Jun 4 20:37:16 2026 by
108
+ Generated on Sat Jun 6 09:14:46 2026 by
109
109
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.34 (ruby-3.4.9).
111
111
  </div>
data/doc/file.form.html CHANGED
@@ -185,7 +185,7 @@
185
185
  </div></div>
186
186
 
187
187
  <div id="footer">
188
- Generated on Thu Jun 4 20:37:16 2026 by
188
+ Generated on Sat Jun 6 09:14:47 2026 by
189
189
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
190
190
  0.9.34 (ruby-3.4.9).
191
191
  </div>
@@ -79,7 +79,7 @@
79
79
  </div></div>
80
80
 
81
81
  <div id="footer">
82
- Generated on Thu Jun 4 20:37:16 2026 by
82
+ Generated on Sat Jun 6 09:14:46 2026 by
83
83
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
84
84
  0.9.34 (ruby-3.4.9).
85
85
  </div>
@@ -207,7 +207,7 @@
207
207
  </div></div>
208
208
 
209
209
  <div id="footer">
210
- Generated on Thu Jun 4 20:37:16 2026 by
210
+ Generated on Sat Jun 6 09:14:47 2026 by
211
211
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
212
212
  0.9.34 (ruby-3.4.9).
213
213
  </div>
@@ -212,7 +212,7 @@
212
212
  </div></div>
213
213
 
214
214
  <div id="footer">
215
- Generated on Thu Jun 4 20:37:16 2026 by
215
+ Generated on Sat Jun 6 09:14:47 2026 by
216
216
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
217
217
  0.9.34 (ruby-3.4.9).
218
218
  </div>
data/doc/file.index.html CHANGED
@@ -125,7 +125,7 @@
125
125
  </div></div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Thu Jun 4 20:37:16 2026 by
128
+ Generated on Sat Jun 6 09:14:47 2026 by
129
129
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.34 (ruby-3.4.9).
131
131
  </div>
@@ -126,7 +126,7 @@
126
126
  </div></div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Thu Jun 4 20:37:15 2026 by
129
+ Generated on Sat Jun 6 09:14:46 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.4.9).
132
132
  </div>
@@ -105,7 +105,7 @@
105
105
  </div></div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Thu Jun 4 20:37:15 2026 by
108
+ Generated on Sat Jun 6 09:14:46 2026 by
109
109
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.34 (ruby-3.4.9).
111
111
  </div>
@@ -208,7 +208,7 @@
208
208
  </div></div>
209
209
 
210
210
  <div id="footer">
211
- Generated on Thu Jun 4 20:37:17 2026 by
211
+ Generated on Sat Jun 6 09:14:48 2026 by
212
212
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
213
213
  0.9.34 (ruby-3.4.9).
214
214
  </div>
@@ -255,7 +255,7 @@ end
255
255
  </div></div>
256
256
 
257
257
  <div id="footer">
258
- Generated on Thu Jun 4 20:37:16 2026 by
258
+ Generated on Sat Jun 6 09:14:46 2026 by
259
259
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
260
260
  0.9.34 (ruby-3.4.9).
261
261
  </div>
@@ -119,7 +119,7 @@
119
119
  </div></div>
120
120
 
121
121
  <div id="footer">
122
- Generated on Thu Jun 4 20:37:16 2026 by
122
+ Generated on Sat Jun 6 09:14:46 2026 by
123
123
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
124
124
  0.9.34 (ruby-3.4.9).
125
125
  </div>
data/doc/file.list.html CHANGED
@@ -243,7 +243,7 @@
243
243
  </div></div>
244
244
 
245
245
  <div id="footer">
246
- Generated on Thu Jun 4 20:37:16 2026 by
246
+ Generated on Sat Jun 6 09:14:47 2026 by
247
247
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
248
248
  0.9.34 (ruby-3.4.9).
249
249
  </div>
@@ -117,7 +117,7 @@
117
117
  </div></div>
118
118
 
119
119
  <div id="footer">
120
- Generated on Thu Jun 4 20:37:17 2026 by
120
+ Generated on Sat Jun 6 09:14:48 2026 by
121
121
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
122
122
  0.9.34 (ruby-3.4.9).
123
123
  </div>
@@ -127,7 +127,7 @@
127
127
  </div></div>
128
128
 
129
129
  <div id="footer">
130
- Generated on Thu Jun 4 20:37:16 2026 by
130
+ Generated on Sat Jun 6 09:14:46 2026 by
131
131
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132
132
  0.9.34 (ruby-3.4.9).
133
133
  </div>
@@ -227,7 +227,7 @@ The number 8 has the binary form 1000. Enter a number and press ENTER: [8]
227
227
  </div></div>
228
228
 
229
229
  <div id="footer">
230
- Generated on Thu Jun 4 20:37:15 2026 by
230
+ Generated on Sat Jun 6 09:14:46 2026 by
231
231
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
232
232
  0.9.34 (ruby-3.4.9).
233
233
  </div>
data/doc/file.new.html CHANGED
@@ -99,7 +99,7 @@
99
99
  </div></div>
100
100
 
101
101
  <div id="footer">
102
- Generated on Thu Jun 4 20:37:16 2026 by
102
+ Generated on Sat Jun 6 09:14:47 2026 by
103
103
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
104
104
  0.9.34 (ruby-3.4.9).
105
105
  </div>
@@ -88,7 +88,7 @@
88
88
  </div></div>
89
89
 
90
90
  <div id="footer">
91
- Generated on Thu Jun 4 20:37:16 2026 by
91
+ Generated on Sat Jun 6 09:14:46 2026 by
92
92
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
93
93
  0.9.34 (ruby-3.4.9).
94
94
  </div>
@@ -659,7 +659,7 @@
659
659
  </div></div>
660
660
 
661
661
  <div id="footer">
662
- Generated on Thu Jun 4 20:37:17 2026 by
662
+ Generated on Sat Jun 6 09:14:48 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.4.9).
665
665
  </div>
@@ -89,7 +89,7 @@
89
89
  </div></div>
90
90
 
91
91
  <div id="footer">
92
- Generated on Thu Jun 4 20:37:16 2026 by
92
+ Generated on Sat Jun 6 09:14:47 2026 by
93
93
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
94
94
  0.9.34 (ruby-3.4.9).
95
95
  </div>
@@ -171,7 +171,7 @@
171
171
  </div></div>
172
172
 
173
173
  <div id="footer">
174
- Generated on Thu Jun 4 20:37:15 2026 by
174
+ Generated on Sat Jun 6 09:14:46 2026 by
175
175
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
176
176
  0.9.34 (ruby-3.4.9).
177
177
  </div>
data/doc/file.show.html CHANGED
@@ -148,7 +148,7 @@
148
148
  </div></div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Thu Jun 4 20:37:16 2026 by
151
+ Generated on Sat Jun 6 09:14:47 2026 by
152
152
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.34 (ruby-3.4.9).
154
154
  </div>
@@ -223,7 +223,7 @@
223
223
  </div></div>
224
224
 
225
225
  <div id="footer">
226
- Generated on Thu Jun 4 20:37:15 2026 by
226
+ Generated on Sat Jun 6 09:14:46 2026 by
227
227
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
228
228
  0.9.34 (ruby-3.4.9).
229
229
  </div>
@@ -107,7 +107,7 @@
107
107
  </div></div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Thu Jun 4 20:37:16 2026 by
110
+ Generated on Sat Jun 6 09:14:46 2026 by
111
111
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.34 (ruby-3.4.9).
113
113
  </div>
@@ -147,7 +147,7 @@
147
147
  </div></div>
148
148
 
149
149
  <div id="footer">
150
- Generated on Thu Jun 4 20:37:16 2026 by
150
+ Generated on Sat Jun 6 09:14:47 2026 by
151
151
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
152
  0.9.34 (ruby-3.4.9).
153
153
  </div>
data/doc/index.html CHANGED
@@ -220,7 +220,7 @@
220
220
  </div></div>
221
221
 
222
222
  <div id="footer">
223
- Generated on Thu Jun 4 20:37:14 2026 by
223
+ Generated on Sat Jun 6 09:14:45 2026 by
224
224
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
225
225
  0.9.34 (ruby-3.4.9).
226
226
  </div>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Thu Jun 4 20:37:17 2026 by
105
+ Generated on Sat Jun 6 09:14:48 2026 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.4.9).
108
108
  </div>
@@ -14,7 +14,7 @@ module Compony
14
14
  assign_attributes # This enables the global assign_attributes block defined below for this path and verb.
15
15
  end
16
16
  verb submit_verb do
17
- authorize { can?(:create, @data) }
17
+ authorize { can?(:create, @data || data_class) } # the latter is needed for an intent going straight to POST
18
18
  assign_attributes # This enables the global assign_attributes block defined below for this path and verb.
19
19
  store_data # This enables the global store_data block defined below for this path and verb.
20
20
  respond do
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.11.10
4
+ version: 0.11.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Kalbermatter