compony 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/Gemfile.lock +3 -3
  4. data/README.md +41 -0
  5. data/Rakefile +2 -2
  6. data/VERSION +1 -1
  7. data/compony.gemspec +5 -5
  8. data/doc/ComponentGenerator.html +1 -1
  9. data/doc/Components.html +1 -1
  10. data/doc/ComponentsGenerator.html +1 -1
  11. data/doc/Compony/Component.html +9 -9
  12. data/doc/Compony/ComponentMixins/Default/Labelling.html +1 -1
  13. data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +1 -1
  14. data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +6 -6
  15. data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +1 -1
  16. data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
  17. data/doc/Compony/ComponentMixins/Default.html +1 -1
  18. data/doc/Compony/ComponentMixins/Resourceful.html +1 -1
  19. data/doc/Compony/ComponentMixins.html +1 -1
  20. data/doc/Compony/Components/Button.html +1 -1
  21. data/doc/Compony/Components/Destroy.html +1 -1
  22. data/doc/Compony/Components/Edit.html +18 -18
  23. data/doc/Compony/Components/Form.html +316 -90
  24. data/doc/Compony/Components/New.html +18 -18
  25. data/doc/Compony/Components/WithForm.html +94 -19
  26. data/doc/Compony/Components.html +1 -1
  27. data/doc/Compony/ControllerMixin.html +1 -1
  28. data/doc/Compony/Engine.html +1 -1
  29. data/doc/Compony/MethodAccessibleHash.html +1 -1
  30. data/doc/Compony/ModelFields/Anchormodel.html +1 -1
  31. data/doc/Compony/ModelFields/Association.html +1 -1
  32. data/doc/Compony/ModelFields/Attachment.html +1 -1
  33. data/doc/Compony/ModelFields/Base.html +1 -1
  34. data/doc/Compony/ModelFields/Boolean.html +1 -1
  35. data/doc/Compony/ModelFields/Color.html +1 -1
  36. data/doc/Compony/ModelFields/Currency.html +1 -1
  37. data/doc/Compony/ModelFields/Date.html +1 -1
  38. data/doc/Compony/ModelFields/Datetime.html +1 -1
  39. data/doc/Compony/ModelFields/Decimal.html +1 -1
  40. data/doc/Compony/ModelFields/Email.html +1 -1
  41. data/doc/Compony/ModelFields/Float.html +1 -1
  42. data/doc/Compony/ModelFields/Integer.html +1 -1
  43. data/doc/Compony/ModelFields/Percentage.html +1 -1
  44. data/doc/Compony/ModelFields/Phone.html +1 -1
  45. data/doc/Compony/ModelFields/RichText.html +1 -1
  46. data/doc/Compony/ModelFields/String.html +1 -1
  47. data/doc/Compony/ModelFields/Text.html +1 -1
  48. data/doc/Compony/ModelFields/Time.html +1 -1
  49. data/doc/Compony/ModelFields/Url.html +1 -1
  50. data/doc/Compony/ModelFields.html +1 -1
  51. data/doc/Compony/ModelMixin.html +26 -26
  52. data/doc/Compony/NaturalOrdering.html +1 -1
  53. data/doc/Compony/RequestContext.html +1 -1
  54. data/doc/Compony/Version.html +1 -1
  55. data/doc/Compony/ViewHelpers.html +1 -1
  56. data/doc/Compony.html +2 -2
  57. data/doc/ComponyController.html +1 -1
  58. data/doc/_index.html +1 -1
  59. data/doc/file.README.html +42 -1
  60. data/doc/index.html +42 -1
  61. data/doc/method_list.html +122 -98
  62. data/doc/top-level-namespace.html +1 -1
  63. data/lib/compony/component.rb +4 -4
  64. data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +3 -3
  65. data/lib/compony/components/edit.rb +4 -1
  66. data/lib/compony/components/form.rb +74 -9
  67. data/lib/compony/components/new.rb +4 -1
  68. data/lib/compony/components/with_form.rb +12 -1
  69. data/lib/compony/model_mixin.rb +8 -1
  70. data/lib/compony.rb +1 -1
  71. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d053e50a0e25b4dd5ae267c33e892e891e5f9ef810277fa510dea09023cb2697
4
- data.tar.gz: 56e13f55fdeb718f2a0d5ee7574f74d19e4a80ffeb379a275abc998753eb4f62
3
+ metadata.gz: 284687f68aedb913ed18269036ecac33270b9134c8d68b5550c7c550cffa0f47
4
+ data.tar.gz: 764c77b44877c8d9fb2f758bbc3f755a45b91ed8f0bc61418f8da903f100a32c
5
5
  SHA512:
6
- metadata.gz: 8fff8e56a5c516958ad163413c4dd1214383c64eaa828058b48e4402a6bf1a6c93f261a5031f39e2e3899d2470cfd1f63d538d97db0246a49b697db0506e8539
7
- data.tar.gz: 3b36c0dc73b26cc6ec0d3d511c88e7ca961689c57ba227345bf4fdaae4c91442d453a3151215af72c801c654afa3df5fb1df1e57df57223c17c087c6fbb71841
6
+ metadata.gz: d4a694e1628e12abdc788ae30bb27ad6d1107f1edd01190f9a79b158abaf9a5aac7ba07a86b24b29362e0c8022d1e4f2072150aae268c286b86b5cff0887de35
7
+ data.tar.gz: 5e52a76eb1df4fcc8299b2ab59f1a1134ef23509a426877ad64ab9ac3918cd131f540406a073c1afbf063924d25afcecbe429dcd1d0765e1ab8b2c7b0367a43d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # 0.4.0
2
+
3
+ - Support Cancancan's `accessible_attributes`
4
+ - Cancancan has fixed https://github.com/CanCanCommunity/cancancan/issues/838
5
+ - Automatically declare all fields as ActiveModel attributes
6
+ - When using this feature together with ActiveType, be sure to add `include ActiveModel::Attributes` at the top of your virtual models.
7
+ - Due to Rails' implementation of `authenticate_by`, `:password` and `:password_confirmation` can not be attributes and thus should no longer be declared as fields in your applications.
8
+ - To handle password fields in forms, `pw_field` and `schema_pw_field` were added
9
+ - Require `cancancan_action` for every Form, respectively `form_cancancan_action` for every WithForm
10
+ - Filter form fields by Cancancan action, effectively providing per-field authorization
11
+ - Attention, this feature is only used when using `field` and `schema_field`, it will not affect custom inputs or schema lines.
12
+ - Require Ruby 3.2.2
13
+
14
+ ## Steps to perform
15
+
16
+ - If using ActiveType, add `include ActiveModel::Attributes` at the top of your virtual models.
17
+ - In your User model, remove `field :password` and `field :password_confirmation`
18
+ - If on login, you get the ArgumentError "One or more password arguments are required", you have forgotten to do this.
19
+ - In your User Form:
20
+ - replace `concat field :password` by `concat pw_field :password`
21
+ - replace `concat field :password_confirmation` by `concat pw_field :password_confirmation`
22
+ - replace `schema_field :password` by `schema_pw_field :password`
23
+ - replace `schema_field :password_confirmation` by `schema_pw_field :password_confirmation`
24
+ - Make sure your forms work as expected, as cancancan action is now required (see above).
25
+ - Either supply the appropriate action (e.g. `:edit` or `:new`), or pass `nil` to disable per-field authorization for a form.
26
+
1
27
  # 0.3.3
2
28
 
3
29
  - In `RequestContext`, distinguish between `content` and `content!`, where the first allows for missing content blocks.
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- compony (0.2.3.edge)
4
+ compony (0.3.0.edge)
5
5
  anchormodel (~> 0.2.0)
6
- cancancan (~> 3.4.0)
6
+ cancancan (~> 3.6.0)
7
7
  dslblend (>= 0.0.3)
8
8
  dyny (>= 0.0.3)
9
9
  rails (>= 7.1.2)
@@ -94,7 +94,7 @@ GEM
94
94
  base64 (0.2.0)
95
95
  bigdecimal (3.1.4)
96
96
  builder (3.2.4)
97
- cancancan (3.4.0)
97
+ cancancan (3.6.0)
98
98
  concurrent-ruby (1.2.2)
99
99
  connection_pool (2.4.1)
100
100
  crass (1.0.6)
data/README.md CHANGED
@@ -1225,6 +1225,8 @@ class User < ApplicationRecord
1225
1225
  end
1226
1226
  ```
1227
1227
 
1228
+ All fields declared this way are automatically exported as Rails Model attributes. Note that this also means that you should never declare `password` and `password_confirmation` as a Compony field, as you will get the ArgumentError "One or more password arguments are required" otherwise. Read more about handling password fields in the section about `Compony::Components::Form`.
1229
+
1228
1230
  Compony fields provide the following features:
1229
1231
 
1230
1232
  - a label that lets you generate a name for the column: `User.fields[:first_name].label`
@@ -1345,6 +1347,45 @@ end
1345
1347
 
1346
1348
  Note that the inputs and schema are two completely different concepts that are not auto-inferred from each other. You must make sure that they always correspond. If you forget to mention a field in `schema_fields`, posting the form will fail. Luckily, Schemacop's excellent error messaging will explain which parameter is prohibited.
1347
1349
 
1350
+ Both calls respect Cancancan's `permitted_attributes` directive. This means that you can safely declare `field` and `schema_field` in a form that is shared among users with different kinds of permissions. If the current user is not allowed to access a field, the input will be omitted automatically. Further, the parameter validation will exclude that field, effectively disallowing that user from submitting that parameter.
1351
+
1352
+ #### Handling password fields
1353
+
1354
+ When using Rails' `has_secure_password` method, which typically generates the attributes accessors `:password` and `password_confirmation`, do not declare these two as fields in your User model.
1355
+
1356
+ There are two main reasons for this:
1357
+
1358
+ - `password` and `password_confirmation` should never show up in lists and show pages, and as these kinds of components tend to iterate over all fields, it's best to have anything that should not show up there declared as a field in the first place.
1359
+ - Rails' `authenticate_by` does not work when `password` is declared as a model attribute.
1360
+
1361
+ Instead of making these accessors Compony fields, ignore them in the User model and use the following methods in your Form:
1362
+
1363
+ ```ruby
1364
+ class Components::Users::Form < Compony::Components::Form
1365
+ setup do
1366
+ form_fields do
1367
+ # ...
1368
+ concat pw_field(:password)
1369
+ concat pw_field(:password_confirmation)
1370
+ end
1371
+
1372
+ # ...
1373
+ schema_pw_field :password
1374
+ schema_pw_field :password_confirmation
1375
+ end
1376
+ end
1377
+ ```
1378
+
1379
+ In contrast to the regular `field` and `schema_field` calls, their `pw_...` pendants do not check for per-field authorization. Instead, they check whether the current user can `:set_password` on the form's object. Therefore, your ability may look something like:
1380
+
1381
+ ```ruby
1382
+ class Ability
1383
+ # ...
1384
+ can :manage, User # This allows full access to all users
1385
+ cannot :manage, User, [:user_role] # This prohibits access to user_role, thus removing the input and making the parameter invalid if passed anyway
1386
+ cannot :set_password, User # This prohibits setting and changing passwords of any user
1387
+ ```
1388
+
1348
1389
  ### New
1349
1390
 
1350
1391
  This component is the Compony equivalent to a typical Rails controller's `new` and `create` actions.
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ task :gemspec do
14
14
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
15
15
  s.executables = []
16
16
  s.require_paths = ['lib']
17
- s.required_ruby_version = '>= 3.0.0'
17
+ s.required_ruby_version = '>= 3.2.2'
18
18
 
19
19
  # Dependencies
20
20
  s.add_development_dependency 'yard', '>= 0.9.28'
@@ -28,7 +28,7 @@ task :gemspec do
28
28
  s.add_runtime_dependency 'simple_form', '>= 5.1.0'
29
29
  s.add_runtime_dependency 'dslblend', '>= 0.0.3'
30
30
  s.add_runtime_dependency 'anchormodel', '~> 0.2.0'
31
- s.add_runtime_dependency 'cancancan', '~> 3.4.0'
31
+ s.add_runtime_dependency 'cancancan', '~> 3.6.1'
32
32
  end
33
33
 
34
34
  File.open('compony.gemspec', 'w') do |f|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.4.0
data/compony.gemspec CHANGED
@@ -2,18 +2,18 @@
2
2
  # This file is auto-generated via: 'rake gemspec'.
3
3
 
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: compony 0.3.3 ruby lib
5
+ # stub: compony 0.4.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "compony".freeze
9
- s.version = "0.3.3".freeze
9
+ s.version = "0.4.0".freeze
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Sandro Kalbermatter".freeze, "contributors".freeze]
14
- s.date = "2024-06-03"
14
+ s.date = "2024-06-11"
15
15
  s.files = [".gitignore".freeze, ".ruby-version".freeze, ".yardopts".freeze, "CHANGELOG.md".freeze, "Gemfile".freeze, "Gemfile.lock".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "TODO.md".freeze, "VERSION".freeze, "app/controllers/compony_controller.rb".freeze, "compony.gemspec".freeze, "config/locales/de.yml".freeze, "config/locales/en.yml".freeze, "config/locales/fr.yml".freeze, "config/routes.rb".freeze, "doc/ComponentGenerator.html".freeze, "doc/Components.html".freeze, "doc/ComponentsGenerator.html".freeze, "doc/Compony.html".freeze, "doc/Compony/Component.html".freeze, "doc/Compony/ComponentMixins.html".freeze, "doc/Compony/ComponentMixins/Default.html".freeze, "doc/Compony/ComponentMixins/Default/Labelling.html".freeze, "doc/Compony/ComponentMixins/Default/Standalone.html".freeze, "doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html".freeze, "doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html".freeze, "doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html".freeze, "doc/Compony/ComponentMixins/Resourceful.html".freeze, "doc/Compony/Components.html".freeze, "doc/Compony/Components/Button.html".freeze, "doc/Compony/Components/Destroy.html".freeze, "doc/Compony/Components/Edit.html".freeze, "doc/Compony/Components/Form.html".freeze, "doc/Compony/Components/New.html".freeze, "doc/Compony/Components/WithForm.html".freeze, "doc/Compony/ControllerMixin.html".freeze, "doc/Compony/Engine.html".freeze, "doc/Compony/MethodAccessibleHash.html".freeze, "doc/Compony/ModelFields.html".freeze, "doc/Compony/ModelFields/Anchormodel.html".freeze, "doc/Compony/ModelFields/Association.html".freeze, "doc/Compony/ModelFields/Attachment.html".freeze, "doc/Compony/ModelFields/Base.html".freeze, "doc/Compony/ModelFields/Boolean.html".freeze, "doc/Compony/ModelFields/Color.html".freeze, "doc/Compony/ModelFields/Currency.html".freeze, "doc/Compony/ModelFields/Date.html".freeze, "doc/Compony/ModelFields/Datetime.html".freeze, "doc/Compony/ModelFields/Decimal.html".freeze, "doc/Compony/ModelFields/Email.html".freeze, "doc/Compony/ModelFields/Float.html".freeze, "doc/Compony/ModelFields/Integer.html".freeze, "doc/Compony/ModelFields/Percentage.html".freeze, "doc/Compony/ModelFields/Phone.html".freeze, "doc/Compony/ModelFields/RichText.html".freeze, "doc/Compony/ModelFields/String.html".freeze, "doc/Compony/ModelFields/Text.html".freeze, "doc/Compony/ModelFields/Time.html".freeze, "doc/Compony/ModelFields/Url.html".freeze, "doc/Compony/ModelMixin.html".freeze, "doc/Compony/NaturalOrdering.html".freeze, "doc/Compony/RequestContext.html".freeze, "doc/Compony/Version.html".freeze, "doc/Compony/ViewHelpers.html".freeze, "doc/ComponyController.html".freeze, "doc/_index.html".freeze, "doc/class_list.html".freeze, "doc/css/common.css".freeze, "doc/css/full_list.css".freeze, "doc/css/style.css".freeze, "doc/file.README.html".freeze, "doc/file_list.html".freeze, "doc/frames.html".freeze, "doc/imgs/intro-example-destroy.png".freeze, "doc/imgs/intro-example-edit.png".freeze, "doc/imgs/intro-example-index.png".freeze, "doc/imgs/intro-example-new.png".freeze, "doc/imgs/intro-example-show.png".freeze, "doc/index.html".freeze, "doc/js/app.js".freeze, "doc/js/full_list.js".freeze, "doc/js/jquery.js".freeze, "doc/method_list.html".freeze, "doc/resourceful_lifecycle.graphml".freeze, "doc/resourceful_lifecycle.pdf".freeze, "doc/resourceful_lifecycle.png".freeze, "doc/top-level-namespace.html".freeze, "lib/compony.rb".freeze, "lib/compony/component.rb".freeze, "lib/compony/component_mixins/default/labelling.rb".freeze, "lib/compony/component_mixins/default/standalone.rb".freeze, "lib/compony/component_mixins/default/standalone/resourceful_verb_dsl.rb".freeze, "lib/compony/component_mixins/default/standalone/standalone_dsl.rb".freeze, "lib/compony/component_mixins/default/standalone/verb_dsl.rb".freeze, "lib/compony/component_mixins/resourceful.rb".freeze, "lib/compony/components/button.rb".freeze, "lib/compony/components/destroy.rb".freeze, "lib/compony/components/edit.rb".freeze, "lib/compony/components/form.rb".freeze, "lib/compony/components/new.rb".freeze, "lib/compony/components/with_form.rb".freeze, "lib/compony/controller_mixin.rb".freeze, "lib/compony/engine.rb".freeze, "lib/compony/method_accessible_hash.rb".freeze, "lib/compony/model_fields/anchormodel.rb".freeze, "lib/compony/model_fields/association.rb".freeze, "lib/compony/model_fields/attachment.rb".freeze, "lib/compony/model_fields/base.rb".freeze, "lib/compony/model_fields/boolean.rb".freeze, "lib/compony/model_fields/color.rb".freeze, "lib/compony/model_fields/currency.rb".freeze, "lib/compony/model_fields/date.rb".freeze, "lib/compony/model_fields/datetime.rb".freeze, "lib/compony/model_fields/decimal.rb".freeze, "lib/compony/model_fields/email.rb".freeze, "lib/compony/model_fields/float.rb".freeze, "lib/compony/model_fields/integer.rb".freeze, "lib/compony/model_fields/percentage.rb".freeze, "lib/compony/model_fields/phone.rb".freeze, "lib/compony/model_fields/rich_text.rb".freeze, "lib/compony/model_fields/string.rb".freeze, "lib/compony/model_fields/text.rb".freeze, "lib/compony/model_fields/time.rb".freeze, "lib/compony/model_fields/url.rb".freeze, "lib/compony/model_mixin.rb".freeze, "lib/compony/natural_ordering.rb".freeze, "lib/compony/request_context.rb".freeze, "lib/compony/version.rb".freeze, "lib/compony/view_helpers.rb".freeze, "lib/generators/component/USAGE".freeze, "lib/generators/component/component_generator.rb".freeze, "lib/generators/component/templates/component.rb.erb".freeze, "lib/generators/component/templates/destroy.rb.erb".freeze, "lib/generators/component/templates/edit.rb.erb".freeze, "lib/generators/component/templates/form.rb.erb".freeze, "lib/generators/component/templates/new.rb.erb".freeze, "lib/generators/components/USAGE".freeze, "lib/generators/components/components_generator.rb".freeze, "logo.svg".freeze]
16
- s.required_ruby_version = Gem::Requirement.new(">= 3.0.0".freeze)
16
+ s.required_ruby_version = Gem::Requirement.new(">= 3.2.2".freeze)
17
17
  s.rubygems_version = "3.5.11".freeze
18
18
  s.summary = "Compony is a Gem that allows you to write your Rails application in component-style fashion. It combines a controller action and route along \\ with its view into a single Ruby class. This allows writing much DRYer code, using inheritance even in views and much easier refactoring for your Rails \\ applications, helping you to keep the code clean as the application evolves.".freeze
19
19
 
@@ -29,5 +29,5 @@ Gem::Specification.new do |s|
29
29
  s.add_runtime_dependency(%q<simple_form>.freeze, [">= 5.1.0".freeze])
30
30
  s.add_runtime_dependency(%q<dslblend>.freeze, [">= 0.0.3".freeze])
31
31
  s.add_runtime_dependency(%q<anchormodel>.freeze, ["~> 0.2.0".freeze])
32
- s.add_runtime_dependency(%q<cancancan>.freeze, ["~> 3.4.0".freeze])
32
+ s.add_runtime_dependency(%q<cancancan>.freeze, ["~> 3.6.1".freeze])
33
33
  end
@@ -221,7 +221,7 @@
221
221
  </div>
222
222
 
223
223
  <div id="footer">
224
- Generated on Mon Jun 3 15:20:40 2024 by
224
+ Generated on Tue Jun 11 11:15:54 2024 by
225
225
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
226
226
  0.9.36 (ruby-3.2.2).
227
227
  </div>
data/doc/Components.html CHANGED
@@ -95,7 +95,7 @@
95
95
  </div>
96
96
 
97
97
  <div id="footer">
98
- Generated on Mon Jun 3 15:20:40 2024 by
98
+ Generated on Tue Jun 11 11:15:54 2024 by
99
99
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
100
  0.9.36 (ruby-3.2.2).
101
101
  </div>
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Mon Jun 3 15:20:40 2024 by
196
+ Generated on Tue Jun 11 11:15:54 2024 by
197
197
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.9.36 (ruby-3.2.2).
199
199
  </div>
@@ -275,7 +275,7 @@
275
275
  <li class="public ">
276
276
  <span class="summary_signature">
277
277
 
278
- <a href="#before_render-instance_method" title="#before_render (instance method)">#<strong>before_render</strong>(name = :main, before: nil, **kwargs, &amp;block) &#x21d2; Object </a>
278
+ <a href="#before_render-instance_method" title="#before_render (instance method)">#<strong>before_render</strong>(name = :main, before: nil, &amp;block) &#x21d2; Object </a>
279
279
 
280
280
 
281
281
 
@@ -347,7 +347,7 @@
347
347
  <li class="public ">
348
348
  <span class="summary_signature">
349
349
 
350
- <a href="#content-instance_method" title="#content (instance method)">#<strong>content</strong>(name = :main, before: nil, **kwargs, &amp;block) &#x21d2; Object </a>
350
+ <a href="#content-instance_method" title="#content (instance method)">#<strong>content</strong>(name = :main, before: nil, &amp;block) &#x21d2; Object </a>
351
351
 
352
352
 
353
353
 
@@ -1089,7 +1089,7 @@
1089
1089
  <div class="method_details ">
1090
1090
  <h3 class="signature " id="before_render-instance_method">
1091
1091
 
1092
- #<strong>before_render</strong>(name = :main, before: nil, **kwargs, &amp;block) &#x21d2; <tt>Object</tt>
1092
+ #<strong>before_render</strong>(name = :main, before: nil, &amp;block) &#x21d2; <tt>Object</tt>
1093
1093
 
1094
1094
 
1095
1095
 
@@ -1176,9 +1176,9 @@
1176
1176
  <td>
1177
1177
  <pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 121</span>
1178
1178
 
1179
- <span class='kw'>def</span> <span class='id identifier rubyid_before_render'>before_render</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
1179
+ <span class='kw'>def</span> <span class='id identifier rubyid_before_render'>before_render</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
1180
1180
  <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>`before_render` expects a block in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
1181
- <span class='ivar'>@before_render_blocks</span><span class='period'>.</span><span class='id identifier rubyid_natural_push'>natural_push</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span><span class='comma'>,</span> <span class='label'>before:</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
1181
+ <span class='ivar'>@before_render_blocks</span><span class='period'>.</span><span class='id identifier rubyid_natural_push'>natural_push</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span><span class='comma'>,</span> <span class='label'>before:</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
1182
1182
  <span class='kw'>end</span></pre>
1183
1183
  </td>
1184
1184
  </tr>
@@ -1270,7 +1270,7 @@
1270
1270
  <div class="method_details ">
1271
1271
  <h3 class="signature " id="content-instance_method">
1272
1272
 
1273
- #<strong>content</strong>(name = :main, before: nil, **kwargs, &amp;block) &#x21d2; <tt>Object</tt>
1273
+ #<strong>content</strong>(name = :main, before: nil, &amp;block) &#x21d2; <tt>Object</tt>
1274
1274
 
1275
1275
 
1276
1276
 
@@ -1376,12 +1376,12 @@
1376
1376
  <td>
1377
1377
  <pre class="code"><span class="info file"># File 'lib/compony/component.rb', line 132</span>
1378
1378
 
1379
- <span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
1379
+ <span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:main</span><span class='comma'>,</span> <span class='label'>before:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>**</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
1380
1380
  <span class='comment'># A block is required here, but if this is an override (e.g. to hide another content block), we can tolerate the missing block.
1381
1381
  </span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_block_given?'>block_given?</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_b'>b</span><span class='op'>|</span> <span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_name'>name</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1382
1382
  <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>`content` expects a block in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1383
1383
  <span class='kw'>end</span>
1384
- <span class='ivar'>@content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_natural_push'>natural_push</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span> <span class='op'>||</span> <span class='symbol'>:missing</span><span class='comma'>,</span> <span class='label'>before:</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
1384
+ <span class='ivar'>@content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_natural_push'>natural_push</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span> <span class='op'>||</span> <span class='symbol'>:missing</span><span class='comma'>,</span> <span class='label'>before:</span><span class='comma'>,</span> <span class='op'>**</span><span class='rparen'>)</span>
1385
1385
  <span class='kw'>end</span></pre>
1386
1386
  </td>
1387
1387
  </tr>
@@ -2243,7 +2243,7 @@
2243
2243
  </div>
2244
2244
 
2245
2245
  <div id="footer">
2246
- Generated on Mon Jun 3 15:20:40 2024 by
2246
+ Generated on Tue Jun 11 11:15:54 2024 by
2247
2247
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2248
2248
  0.9.36 (ruby-3.2.2).
2249
2249
  </div>
@@ -396,7 +396,7 @@
396
396
  </div>
397
397
 
398
398
  <div id="footer">
399
- Generated on Mon Jun 3 15:20:40 2024 by
399
+ Generated on Tue Jun 11 11:15:54 2024 by
400
400
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
401
401
  0.9.36 (ruby-3.2.2).
402
402
  </div>
@@ -529,7 +529,7 @@
529
529
  </div>
530
530
 
531
531
  <div id="footer">
532
- Generated on Mon Jun 3 15:20:41 2024 by
532
+ Generated on Tue Jun 11 11:15:55 2024 by
533
533
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
534
534
  0.9.36 (ruby-3.2.2).
535
535
  </div>
@@ -228,7 +228,7 @@
228
228
  <li class="protected ">
229
229
  <span class="summary_signature">
230
230
 
231
- <a href="#verb-instance_method" title="#verb (instance method)">#<strong>verb</strong>(verb, *args, **nargs) &#x21d2; Object </a>
231
+ <a href="#verb-instance_method" title="#verb (instance method)">#<strong>verb</strong>(verb, **nargs) &#x21d2; Object </a>
232
232
 
233
233
 
234
234
 
@@ -484,7 +484,7 @@
484
484
  <div class="method_details ">
485
485
  <h3 class="signature " id="verb-instance_method">
486
486
 
487
- #<strong>verb</strong>(verb, *args, **nargs) &#x21d2; <tt>Object</tt> <span class="extras">(protected)</span>
487
+ #<strong>verb</strong>(verb, **nargs) &#x21d2; <tt>Object</tt> <span class="extras">(protected)</span>
488
488
 
489
489
 
490
490
 
@@ -553,18 +553,18 @@
553
553
  <td>
554
554
  <pre class="code"><span class="info file"># File 'lib/compony/component_mixins/default/standalone/standalone_dsl.rb', line 40</span>
555
555
 
556
- <span class='kw'>def</span> <span class='id identifier rubyid_verb'>verb</span><span class='lparen'>(</span><span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
556
+ <span class='kw'>def</span> <span class='id identifier rubyid_verb'>verb</span><span class='lparen'>(</span><span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
557
557
  <span class='id identifier rubyid_verb'>verb</span> <span class='op'>=</span> <span class='id identifier rubyid_verb'>verb</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
558
558
  <span class='id identifier rubyid_verb_dsl_class'>verb_dsl_class</span> <span class='op'>=</span> <span class='ivar'>@component</span><span class='period'>.</span><span class='id identifier rubyid_resourceful?'>resourceful?</span> <span class='op'>?</span> <span class='const'><span class='object_link'><a href="ResourcefulVerbDsl.html" title="Compony::ComponentMixins::Default::Standalone::ResourcefulVerbDsl (class)">ResourcefulVerbDsl</a></span></span> <span class='op'>:</span> <span class='const'><span class='object_link'><a href="VerbDsl.html" title="Compony::ComponentMixins::Default::Standalone::VerbDsl (class)">VerbDsl</a></span></span>
559
559
  <span class='kw'>if</span> <span class='ivar'>@verbs</span><span class='lbracket'>[</span><span class='id identifier rubyid_verb'>verb</span><span class='rbracket'>]</span>
560
- <span class='ivar'>@verbs</span><span class='lbracket'>[</span><span class='id identifier rubyid_verb'>verb</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_deep_merge!'>deep_merge!</span> <span class='id identifier rubyid_verb_dsl_class'>verb_dsl_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@component</span><span class='comma'>,</span> <span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_conf'>to_conf</span><span class='lparen'>(</span><span class='label'>provide_defaults:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
560
+ <span class='ivar'>@verbs</span><span class='lbracket'>[</span><span class='id identifier rubyid_verb'>verb</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_deep_merge!'>deep_merge!</span> <span class='id identifier rubyid_verb_dsl_class'>verb_dsl_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@component</span><span class='comma'>,</span> <span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_conf'>to_conf</span><span class='lparen'>(</span><span class='label'>provide_defaults:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
561
561
  <span class='kw'>else</span>
562
562
  <span class='comment'># Note about provide_defaults:
563
563
  </span> <span class='comment'># - We must pass false if this is the second time `standalone` was called for this component -&gt; see @provide_defaults
564
564
  </span> <span class='comment'># - We musst pass false if this is the second time `verb` was called for this component -&gt; handled by the if statement (other branch)
565
565
  </span> <span class='comment'># - We must pass true otherwise (handled by this branch)
566
566
  </span> <span class='ivar'>@verbs</span><span class='lbracket'>[</span><span class='id identifier rubyid_verb'>verb</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../../../Compony.html" title="Compony (module)">Compony</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../../MethodAccessibleHash.html" title="Compony::MethodAccessibleHash (class)">MethodAccessibleHash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../../../MethodAccessibleHash.html#initialize-instance_method" title="Compony::MethodAccessibleHash#initialize (method)">new</a></span></span><span class='lparen'>(</span>
567
- <span class='id identifier rubyid_verb_dsl_class'>verb_dsl_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@component</span><span class='comma'>,</span> <span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_conf'>to_conf</span><span class='lparen'>(</span><span class='label'>provide_defaults:</span> <span class='ivar'>@provide_defaults</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
567
+ <span class='id identifier rubyid_verb_dsl_class'>verb_dsl_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@component</span><span class='comma'>,</span> <span class='id identifier rubyid_verb'>verb</span><span class='comma'>,</span> <span class='op'>*</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_nargs'>nargs</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_conf'>to_conf</span><span class='lparen'>(</span><span class='label'>provide_defaults:</span> <span class='ivar'>@provide_defaults</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='rparen'>)</span>
568
568
  <span class='rparen'>)</span>
569
569
  <span class='kw'>end</span>
570
570
  <span class='kw'>end</span></pre>
@@ -578,7 +578,7 @@
578
578
  </div>
579
579
 
580
580
  <div id="footer">
581
- Generated on Mon Jun 3 15:20:41 2024 by
581
+ Generated on Tue Jun 11 11:15:55 2024 by
582
582
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
583
583
  0.9.36 (ruby-3.2.2).
584
584
  </div>
@@ -567,7 +567,7 @@
567
567
  </div>
568
568
 
569
569
  <div id="footer">
570
- Generated on Mon Jun 3 15:20:41 2024 by
570
+ Generated on Tue Jun 11 11:15:54 2024 by
571
571
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
572
572
  0.9.36 (ruby-3.2.2).
573
573
  </div>
@@ -682,7 +682,7 @@
682
682
  </div>
683
683
 
684
684
  <div id="footer">
685
- Generated on Mon Jun 3 15:20:40 2024 by
685
+ Generated on Tue Jun 11 11:15:54 2024 by
686
686
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
687
687
  0.9.36 (ruby-3.2.2).
688
688
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Mon Jun 3 15:20:40 2024 by
119
+ Generated on Tue Jun 11 11:15:54 2024 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.36 (ruby-3.2.2).
122
122
  </div>
@@ -1183,7 +1183,7 @@
1183
1183
  </div>
1184
1184
 
1185
1185
  <div id="footer">
1186
- Generated on Mon Jun 3 15:20:40 2024 by
1186
+ Generated on Tue Jun 11 11:15:54 2024 by
1187
1187
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1188
1188
  0.9.36 (ruby-3.2.2).
1189
1189
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Mon Jun 3 15:20:40 2024 by
119
+ Generated on Tue Jun 11 11:15:54 2024 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.9.36 (ruby-3.2.2).
122
122
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Jun 3 15:20:40 2024 by
286
+ Generated on Tue Jun 11 11:15:54 2024 by
287
287
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.36 (ruby-3.2.2).
289
289
  </div>
@@ -374,7 +374,7 @@
374
374
  </div>
375
375
 
376
376
  <div id="footer">
377
- Generated on Mon Jun 3 15:20:40 2024 by
377
+ Generated on Tue Jun 11 11:15:54 2024 by
378
378
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
379
379
  0.9.36 (ruby-3.2.2).
380
380
  </div>
@@ -265,7 +265,7 @@
265
265
 
266
266
 
267
267
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="WithForm.html" title="Compony::Components::WithForm (class)">WithForm</a></span></h3>
268
- <p class="inherited"><span class='object_link'><a href="WithForm.html#form_comp-instance_method" title="Compony::Components::WithForm#form_comp (method)">#form_comp</a></span>, <span class='object_link'><a href="WithForm.html#form_comp_class-instance_method" title="Compony::Components::WithForm#form_comp_class (method)">#form_comp_class</a></span>, <span class='object_link'><a href="WithForm.html#initialize-instance_method" title="Compony::Components::WithForm#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="WithForm.html#submit_path-instance_method" title="Compony::Components::WithForm#submit_path (method)">#submit_path</a></span>, <span class='object_link'><a href="WithForm.html#submit_verb-instance_method" title="Compony::Components::WithForm#submit_verb (method)">#submit_verb</a></span></p>
268
+ <p class="inherited"><span class='object_link'><a href="WithForm.html#form_cancancan_action-instance_method" title="Compony::Components::WithForm#form_cancancan_action (method)">#form_cancancan_action</a></span>, <span class='object_link'><a href="WithForm.html#form_comp-instance_method" title="Compony::Components::WithForm#form_comp (method)">#form_comp</a></span>, <span class='object_link'><a href="WithForm.html#form_comp_class-instance_method" title="Compony::Components::WithForm#form_comp_class (method)">#form_comp_class</a></span>, <span class='object_link'><a href="WithForm.html#initialize-instance_method" title="Compony::Components::WithForm#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="WithForm.html#submit_path-instance_method" title="Compony::Components::WithForm#submit_path (method)">#submit_path</a></span>, <span class='object_link'><a href="WithForm.html#submit_verb-instance_method" title="Compony::Components::WithForm#submit_verb (method)">#submit_verb</a></span></p>
269
269
 
270
270
 
271
271
 
@@ -309,12 +309,12 @@
309
309
  <pre class="lines">
310
310
 
311
311
 
312
- 104
313
- 105
314
- 106</pre>
312
+ 107
313
+ 108
314
+ 109</pre>
315
315
  </td>
316
316
  <td>
317
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 104</span>
317
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 107</span>
318
318
 
319
319
  <span class='kw'>def</span> <span class='id identifier rubyid_on_update_failed'>on_update_failed</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
320
320
  <span class='ivar'>@on_update_failed_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -350,12 +350,12 @@
350
350
  <pre class="lines">
351
351
 
352
352
 
353
- 89
354
- 90
355
- 91</pre>
353
+ 92
354
+ 93
355
+ 94</pre>
356
356
  </td>
357
357
  <td>
358
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 89</span>
358
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 92</span>
359
359
 
360
360
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated'>on_updated</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
361
361
  <span class='ivar'>@on_updated_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -391,12 +391,12 @@
391
391
  <pre class="lines">
392
392
 
393
393
 
394
- 99
395
- 100
396
- 101</pre>
394
+ 102
395
+ 103
396
+ 104</pre>
397
397
  </td>
398
398
  <td>
399
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 99</span>
399
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 102</span>
400
400
 
401
401
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated_redirect_path'>on_updated_redirect_path</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
402
402
  <span class='ivar'>@on_updated_redirect_path_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -432,12 +432,12 @@
432
432
  <pre class="lines">
433
433
 
434
434
 
435
- 94
436
- 95
437
- 96</pre>
435
+ 97
436
+ 98
437
+ 99</pre>
438
438
  </td>
439
439
  <td>
440
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 94</span>
440
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 97</span>
441
441
 
442
442
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated_respond'>on_updated_respond</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
443
443
  <span class='ivar'>@on_updated_respond_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -452,7 +452,7 @@
452
452
  </div>
453
453
 
454
454
  <div id="footer">
455
- Generated on Mon Jun 3 15:20:40 2024 by
455
+ Generated on Tue Jun 11 11:15:54 2024 by
456
456
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
457
457
  0.9.36 (ruby-3.2.2).
458
458
  </div>