compony 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/compony.gemspec +4 -4
- data/doc/ComponentGenerator.html +1 -1
- data/doc/Components.html +1 -1
- data/doc/ComponentsGenerator.html +1 -1
- data/doc/Compony/Component.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Labelling.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +1 -1
- data/doc/Compony/ComponentMixins/Default/Standalone.html +1 -1
- data/doc/Compony/ComponentMixins/Default.html +1 -1
- data/doc/Compony/ComponentMixins/Resourceful.html +1 -1
- data/doc/Compony/ComponentMixins.html +1 -1
- data/doc/Compony/Components/Button.html +1 -1
- data/doc/Compony/Components/Destroy.html +1 -1
- data/doc/Compony/Components/Edit.html +1 -1
- data/doc/Compony/Components/Form.html +1 -1
- data/doc/Compony/Components/New.html +1 -1
- data/doc/Compony/Components/WithForm.html +1 -1
- data/doc/Compony/Components.html +1 -1
- data/doc/Compony/ControllerMixin.html +1 -1
- data/doc/Compony/Engine.html +1 -1
- data/doc/Compony/MethodAccessibleHash.html +1 -1
- data/doc/Compony/ModelFields/Anchormodel.html +1 -1
- data/doc/Compony/ModelFields/Association.html +1 -1
- data/doc/Compony/ModelFields/Attachment.html +1 -1
- data/doc/Compony/ModelFields/Base.html +1 -1
- data/doc/Compony/ModelFields/Boolean.html +1 -1
- data/doc/Compony/ModelFields/Color.html +1 -1
- data/doc/Compony/ModelFields/Currency.html +1 -1
- data/doc/Compony/ModelFields/Date.html +1 -1
- data/doc/Compony/ModelFields/Datetime.html +1 -1
- data/doc/Compony/ModelFields/Decimal.html +1 -1
- data/doc/Compony/ModelFields/Email.html +1 -1
- data/doc/Compony/ModelFields/Float.html +1 -1
- data/doc/Compony/ModelFields/Integer.html +1 -1
- data/doc/Compony/ModelFields/Percentage.html +1 -1
- data/doc/Compony/ModelFields/Phone.html +1 -1
- data/doc/Compony/ModelFields/RichText.html +1 -1
- data/doc/Compony/ModelFields/String.html +1 -1
- data/doc/Compony/ModelFields/Text.html +1 -1
- data/doc/Compony/ModelFields/Time.html +1 -1
- data/doc/Compony/ModelFields/Url.html +1 -1
- data/doc/Compony/ModelFields.html +1 -1
- data/doc/Compony/ModelMixin.html +1 -1
- data/doc/Compony/NaturalOrdering.html +1 -1
- data/doc/Compony/RequestContext.html +1 -1
- data/doc/Compony/Version.html +1 -1
- data/doc/Compony/ViewHelpers.html +24 -10
- data/doc/Compony.html +1 -1
- data/doc/ComponyController.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/compony/view_helpers.rb +9 -2
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 409a46d747755df0ba164ebf92c9b0905edc185f59211fc15c9b91926a933e12
         | 
| 4 | 
            +
              data.tar.gz: 0615af9691574db8d6b5e12601da4aff35b1b13c07f06041550a0288be52c261
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: bc06e6323b5f36cb21559e0153fe60e09699507422f277ceb63550533c68ddcd408502a06058a331065b642cb6f944e2e4f6f755483e4828f2c354195409a226
         | 
| 7 | 
            +
              data.tar.gz: c8727cae55bc20281304911a99c208a75e1ddaf454261290731a6ab8b284cd8720bb245c4114c8854e97c97402287f10c22ba4137921695c3ef25e24f6c8e80f
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.5. | 
| 1 | 
            +
            0.5.6
         | 
    
        data/compony.gemspec
    CHANGED
    
    | @@ -2,19 +2,19 @@ | |
| 2 2 | 
             
            # This file is auto-generated via: 'rake gemspec'.
         | 
| 3 3 |  | 
| 4 4 | 
             
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            -
            # stub: compony 0.5. | 
| 5 | 
            +
            # stub: compony 0.5.6 ruby lib
         | 
| 6 6 |  | 
| 7 7 | 
             
            Gem::Specification.new do |s|
         | 
| 8 8 | 
             
              s.name = "compony".freeze
         | 
| 9 | 
            -
              s.version = "0.5. | 
| 9 | 
            +
              s.version = "0.5.6".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 = " | 
| 14 | 
            +
              s.date = "1980-01-02"
         | 
| 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 16 | 
             
              s.required_ruby_version = Gem::Requirement.new(">= 3.3.5".freeze)
         | 
| 17 | 
            -
              s.rubygems_version = "3.6. | 
| 17 | 
            +
              s.rubygems_version = "3.6.9".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 |  | 
| 20 20 | 
             
              s.specification_version = 4
         | 
    
        data/doc/ComponentGenerator.html
    CHANGED
    
    | @@ -221,7 +221,7 @@ | |
| 221 221 | 
             
            </div>
         | 
| 222 222 |  | 
| 223 223 | 
             
                  <div id="footer">
         | 
| 224 | 
            -
              Generated on  | 
| 224 | 
            +
              Generated on Thu Jul 10 11:04:51 2025 by
         | 
| 225 225 | 
             
              <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 226 226 | 
             
              0.9.37 (ruby-3.3.5).
         | 
| 227 227 | 
             
            </div>
         | 
    
        data/doc/Components.html
    CHANGED
    
    
| @@ -193,7 +193,7 @@ | |
| 193 193 | 
             
            </div>
         | 
| 194 194 |  | 
| 195 195 | 
             
                  <div id="footer">
         | 
| 196 | 
            -
              Generated on  | 
| 196 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/Compony/Component.html
    CHANGED
    
    | @@ -2503,7 +2503,7 @@ | |
| 2503 2503 | 
             
            </div>
         | 
| 2504 2504 |  | 
| 2505 2505 | 
             
                  <div id="footer">
         | 
| 2506 | 
            -
              Generated on  | 
| 2506 | 
            +
              Generated on Thu Jul 10 11:04:51 2025 by
         | 
| 2507 2507 | 
             
              <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 2508 2508 | 
             
              0.9.37 (ruby-3.3.5).
         | 
| 2509 2509 | 
             
            </div>
         | 
| @@ -396,7 +396,7 @@ | |
| 396 396 | 
             
            </div>
         | 
| 397 397 |  | 
| 398 398 | 
             
                  <div id="footer">
         | 
| 399 | 
            -
              Generated on  | 
| 399 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 532 | 
            +
              Generated on Thu Jul 10 11:04:52 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  | 
| 662 | 
            +
              Generated on Thu Jul 10 11:04:52 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  | 
| 570 | 
            +
              Generated on Thu Jul 10 11:04:52 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  | 
| 685 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 119 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 1186 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 119 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 290 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 377 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 455 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 1485 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 455 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 596 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/Compony/Components.html
    CHANGED
    
    | @@ -116,7 +116,7 @@ | |
| 116 116 | 
             
            </div>
         | 
| 117 117 |  | 
| 118 118 | 
             
                  <div id="footer">
         | 
| 119 | 
            -
              Generated on  | 
| 119 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 129 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/Compony/Engine.html
    CHANGED
    
    | @@ -123,7 +123,7 @@ | |
| 123 123 | 
             
            </div>
         | 
| 124 124 |  | 
| 125 125 | 
             
                  <div id="footer">
         | 
| 126 | 
            -
              Generated on  | 
| 126 | 
            +
              Generated on Thu Jul 10 11:04:51 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 --> nil | |
| 443 443 | 
             
            </div>
         | 
| 444 444 |  | 
| 445 445 | 
             
                  <div id="footer">
         | 
| 446 | 
            -
              Generated on  | 
| 446 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 380 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 606 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 298 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 1059 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 292 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 233 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 294 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 225 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 147 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 233 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 119 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/Compony/ModelMixin.html
    CHANGED
    
    | @@ -514,7 +514,7 @@ | |
| 514 514 | 
             
            </div>
         | 
| 515 515 |  | 
| 516 516 | 
             
                  <div id="footer">
         | 
| 517 | 
            -
              Generated on  | 
| 517 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 293 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 934 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/Compony/Version.html
    CHANGED
    
    | @@ -129,7 +129,7 @@ | |
| 129 129 | 
             
            </div>
         | 
| 130 130 |  | 
| 131 131 | 
             
                  <div id="footer">
         | 
| 132 | 
            -
              Generated on  | 
| 132 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
| @@ -172,7 +172,7 @@ | |
| 172 172 | 
             
                    <li class="public ">
         | 
| 173 173 | 
             
              <span class="summary_signature">
         | 
| 174 174 |  | 
| 175 | 
            -
                  <a href="#compony_link-instance_method" title="#compony_link (instance method)">#<strong>compony_link</strong>(comp_name_or_cst_or_class, model_or_family_name_or_cst = nil, *link_args, label_opts: {}, params: {}, standalone_name: nil, **link_kwargs)  ⇒ Object </a>
         | 
| 175 | 
            +
                  <a href="#compony_link-instance_method" title="#compony_link (instance method)">#<strong>compony_link</strong>(comp_name_or_cst_or_class, model_or_family_name_or_cst = nil, *link_args, label: nil, label_opts: {}, params: {}, standalone_name: nil, **link_kwargs)  ⇒ Object </a>
         | 
| 176 176 |  | 
| 177 177 |  | 
| 178 178 |  | 
| @@ -280,12 +280,12 @@ | |
| 280 280 | 
             
                  <pre class="lines">
         | 
| 281 281 |  | 
| 282 282 |  | 
| 283 | 
            -
             | 
| 284 | 
            -
             | 
| 285 | 
            -
             | 
| 283 | 
            +
            47
         | 
| 284 | 
            +
            48
         | 
| 285 | 
            +
            49</pre>
         | 
| 286 286 | 
             
                </td>
         | 
| 287 287 | 
             
                <td>
         | 
| 288 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/compony/view_helpers.rb', line  | 
| 288 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/compony/view_helpers.rb', line 47</span>
         | 
| 289 289 |  | 
| 290 290 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_compony_button'>compony_button</span><span class='lparen'>(</span><span class='op'>...</span><span class='rparen'>)</span>
         | 
| 291 291 | 
             
              <span class='const'><span class='object_link'><a href="../Compony.html" title="Compony (module)">Compony</a></span></span><span class='period'>.</span><span class='id identifier rubyid_button'><span class='object_link'><a href="../Compony.html#button-class_method" title="Compony.button (method)">button</a></span></span><span class='lparen'>(</span><span class='op'>...</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span><span class='lparen'>(</span><span class='id identifier rubyid_helpers'>helpers</span><span class='period'>.</span><span class='id identifier rubyid_controller'>controller</span><span class='rparen'>)</span>
         | 
| @@ -298,7 +298,7 @@ | |
| 298 298 | 
             
                  <div class="method_details ">
         | 
| 299 299 | 
             
              <h3 class="signature " id="compony_link-instance_method">
         | 
| 300 300 |  | 
| 301 | 
            -
                #<strong>compony_link</strong>(comp_name_or_cst_or_class, model_or_family_name_or_cst = nil, *link_args, label_opts: {}, params: {}, standalone_name: nil, **link_kwargs)  ⇒ <tt>Object</tt> 
         | 
| 301 | 
            +
                #<strong>compony_link</strong>(comp_name_or_cst_or_class, model_or_family_name_or_cst = nil, *link_args, label: nil, label_opts: {}, params: {}, standalone_name: nil, **link_kwargs)  ⇒ <tt>Object</tt> 
         | 
| 302 302 |  | 
| 303 303 |  | 
| 304 304 |  | 
| @@ -422,12 +422,26 @@ | |
| 422 422 | 
             
            32
         | 
| 423 423 | 
             
            33
         | 
| 424 424 | 
             
            34
         | 
| 425 | 
            -
            35 | 
| 425 | 
            +
            35
         | 
| 426 | 
            +
            36
         | 
| 427 | 
            +
            37
         | 
| 428 | 
            +
            38
         | 
| 429 | 
            +
            39
         | 
| 430 | 
            +
            40
         | 
| 431 | 
            +
            41
         | 
| 432 | 
            +
            42</pre>
         | 
| 426 433 | 
             
                </td>
         | 
| 427 434 | 
             
                <td>
         | 
| 428 435 | 
             
                  <pre class="code"><span class="info file"># File 'lib/compony/view_helpers.rb', line 22</span>
         | 
| 429 436 |  | 
| 430 | 
            -
            <span class='kw'>def</span> <span class='id identifier rubyid_compony_link'>compony_link</span><span class='lparen'>(</span><span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='comma'>,</span> | 
| 437 | 
            +
            <span class='kw'>def</span> <span class='id identifier rubyid_compony_link'>compony_link</span><span class='lparen'>(</span><span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='comma'>,</span>
         | 
| 438 | 
            +
                             <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span>
         | 
| 439 | 
            +
                             <span class='op'>*</span><span class='id identifier rubyid_link_args'>link_args</span><span class='comma'>,</span>
         | 
| 440 | 
            +
                             <span class='label'>label:</span> <span class='kw'>nil</span><span class='comma'>,</span>
         | 
| 441 | 
            +
                             <span class='label'>label_opts:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span>
         | 
| 442 | 
            +
                             <span class='label'>params:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span>
         | 
| 443 | 
            +
                             <span class='label'>standalone_name:</span> <span class='kw'>nil</span><span class='comma'>,</span>
         | 
| 444 | 
            +
                             <span class='op'>**</span><span class='id identifier rubyid_link_kwargs'>link_kwargs</span><span class='rparen'>)</span>
         | 
| 431 445 | 
             
              <span class='id identifier rubyid_model'>model</span> <span class='op'>=</span> <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:model_name</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_model_or_family_name_or_cst'>model_or_family_name_or_cst</span> <span class='op'>:</span> <span class='kw'>nil</span>
         | 
| 432 446 | 
             
              <span class='kw'>if</span> <span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Class</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='lparen'>(</span><span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</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="Component.html" title="Compony::Component (class)">Component</a></span></span><span class='rparen'>)</span>
         | 
| 433 447 | 
             
                <span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span> <span class='op'>=</span> <span class='id identifier rubyid_comp_name_or_cst_or_class'>comp_name_or_cst_or_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>data:</span> <span class='id identifier rubyid_model'>model</span><span class='rparen'>)</span>
         | 
| @@ -436,7 +450,7 @@ | |
| 436 450 | 
             
              <span class='kw'>end</span>
         | 
| 437 451 | 
             
              <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span><span class='period'>.</span><span class='id identifier rubyid_standalone_access_permitted_for?'>standalone_access_permitted_for?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='label'>standalone_name:</span><span class='rparen'>)</span>
         | 
| 438 452 | 
             
              <span class='kw'>return</span> <span class='id identifier rubyid_helpers'>helpers</span><span class='period'>.</span><span class='id identifier rubyid_link_to'>link_to</span><span class='lparen'>(</span>
         | 
| 439 | 
            -
                <span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span><span class='period'>.</span><span class='id identifier rubyid_label'>label</span><span class='lparen'>(</span><span class='id identifier rubyid_model'>model</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_label_opts'>label_opts</span><span class='rparen'>)</span><span class='comma'>,</span>
         | 
| 453 | 
            +
                <span class='id identifier rubyid_label'>label</span> <span class='op'>||</span> <span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span><span class='period'>.</span><span class='id identifier rubyid_label'>label</span><span class='lparen'>(</span><span class='id identifier rubyid_model'>model</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_label_opts'>label_opts</span><span class='rparen'>)</span><span class='comma'>,</span>
         | 
| 440 454 | 
             
                <span class='const'><span class='object_link'><a href="../Compony.html" title="Compony (module)">Compony</a></span></span><span class='period'>.</span><span class='id identifier rubyid_path'><span class='object_link'><a href="../Compony.html#path-class_method" title="Compony.path (method)">path</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span><span class='period'>.</span><span class='id identifier rubyid_comp_name'>comp_name</span><span class='comma'>,</span> <span class='id identifier rubyid_target_comp_instance'>target_comp_instance</span><span class='period'>.</span><span class='id identifier rubyid_family_name'>family_name</span><span class='comma'>,</span> <span class='id identifier rubyid_model'>model</span><span class='comma'>,</span> <span class='label'>standalone_name:</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span><span class='comma'>,</span>
         | 
| 441 455 | 
             
                <span class='op'>*</span><span class='id identifier rubyid_link_args'>link_args</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_link_kwargs'>link_kwargs</span>
         | 
| 442 456 | 
             
              <span class='rparen'>)</span>
         | 
| @@ -451,7 +465,7 @@ | |
| 451 465 | 
             
            </div>
         | 
| 452 466 |  | 
| 453 467 | 
             
                  <div id="footer">
         | 
| 454 | 
            -
              Generated on  | 
| 468 | 
            +
              Generated on Thu Jul 10 11:04:51 2025 by
         | 
| 455 469 | 
             
              <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 456 470 | 
             
              0.9.37 (ruby-3.3.5).
         | 
| 457 471 | 
             
            </div>
         | 
    
        data/doc/Compony.html
    CHANGED
    
    | @@ -2206,7 +2206,7 @@ | |
| 2206 2206 | 
             
            </div>
         | 
| 2207 2207 |  | 
| 2208 2208 | 
             
                  <div id="footer">
         | 
| 2209 | 
            -
              Generated on  | 
| 2209 | 
            +
              Generated on Thu Jul 10 11:04:51 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>
         | 
    
        data/doc/ComponyController.html
    CHANGED
    
    | @@ -114,7 +114,7 @@ | |
| 114 114 | 
             
            </div>
         | 
| 115 115 |  | 
| 116 116 | 
             
                  <div id="footer">
         | 
| 117 | 
            -
              Generated on  | 
| 117 | 
            +
              Generated on Thu Jul 10 11:04:51 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  | 
| 569 | 
            +
              Generated on Thu Jul 10 11:04:48 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
    
    | @@ -1730,7 +1730,7 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control | |
| 1730 1730 | 
             
            </div></div>
         | 
| 1731 1731 |  | 
| 1732 1732 | 
             
                  <div id="footer">
         | 
| 1733 | 
            -
              Generated on  | 
| 1733 | 
            +
              Generated on Thu Jul 10 11:04:50 2025 by
         | 
| 1734 1734 | 
             
              <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 1735 1735 | 
             
              0.9.37 (ruby-3.3.5).
         | 
| 1736 1736 | 
             
            </div>
         | 
    
        data/doc/index.html
    CHANGED
    
    | @@ -1730,7 +1730,7 @@ my_button = Compony.button(:index, :users, enabled: -> { |controller| control | |
| 1730 1730 | 
             
            </div></div>
         | 
| 1731 1731 |  | 
| 1732 1732 | 
             
                  <div id="footer">
         | 
| 1733 | 
            -
              Generated on  | 
| 1733 | 
            +
              Generated on Thu Jul 10 11:04:49 2025 by
         | 
| 1734 1734 | 
             
              <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 1735 1735 | 
             
              0.9.37 (ruby-3.3.5).
         | 
| 1736 1736 | 
             
            </div>
         | 
| @@ -102,7 +102,7 @@ | |
| 102 102 | 
             
            </div>
         | 
| 103 103 |  | 
| 104 104 | 
             
                  <div id="footer">
         | 
| 105 | 
            -
              Generated on  | 
| 105 | 
            +
              Generated on Thu Jul 10 11:04:50 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>
         | 
    
        data/lib/compony/view_helpers.rb
    CHANGED
    
    | @@ -19,7 +19,14 @@ module Compony | |
| 19 19 | 
             
                # @param link_args [Array] Positional arguments that will be passed to the Rails `link_to` helper
         | 
| 20 20 | 
             
                # @param label_opts [Hash] Options hash that will be passed to the label method (see {Compony::ComponentMixins::Default::Labelling#label})
         | 
| 21 21 | 
             
                # @param link_kwargs [Hash] Named arguments that will be passed to the Rails `link_to` helper
         | 
| 22 | 
            -
                def compony_link(comp_name_or_cst_or_class, | 
| 22 | 
            +
                def compony_link(comp_name_or_cst_or_class,
         | 
| 23 | 
            +
                                 model_or_family_name_or_cst = nil,
         | 
| 24 | 
            +
                                 *link_args,
         | 
| 25 | 
            +
                                 label: nil,
         | 
| 26 | 
            +
                                 label_opts: {},
         | 
| 27 | 
            +
                                 params: {},
         | 
| 28 | 
            +
                                 standalone_name: nil,
         | 
| 29 | 
            +
                                 **link_kwargs)
         | 
| 23 30 | 
             
                  model = model_or_family_name_or_cst.respond_to?(:model_name) ? model_or_family_name_or_cst : nil
         | 
| 24 31 | 
             
                  if comp_name_or_cst_or_class.is_a?(Class) && (comp_name_or_cst_or_class <= Compony::Component)
         | 
| 25 32 | 
             
                    target_comp_instance = comp_name_or_cst_or_class.new(data: model)
         | 
| @@ -28,7 +35,7 @@ module Compony | |
| 28 35 | 
             
                  end
         | 
| 29 36 | 
             
                  return unless target_comp_instance.standalone_access_permitted_for?(self, standalone_name:)
         | 
| 30 37 | 
             
                  return helpers.link_to(
         | 
| 31 | 
            -
                    target_comp_instance.label(model, **label_opts),
         | 
| 38 | 
            +
                    label || target_comp_instance.label(model, **label_opts),
         | 
| 32 39 | 
             
                    Compony.path(target_comp_instance.comp_name, target_comp_instance.family_name, model, standalone_name:, **params),
         | 
| 33 40 | 
             
                    *link_args, **link_kwargs
         | 
| 34 41 | 
             
                  )
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: compony
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.5. | 
| 4 | 
            +
              version: 0.5.6
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sandro Kalbermatter
         | 
| 8 8 | 
             
            - contributors
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 1980-01-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: yard
         | 
| @@ -325,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 325 325 | 
             
                - !ruby/object:Gem::Version
         | 
| 326 326 | 
             
                  version: '0'
         | 
| 327 327 | 
             
            requirements: []
         | 
| 328 | 
            -
            rubygems_version: 3.6. | 
| 328 | 
            +
            rubygems_version: 3.6.9
         | 
| 329 329 | 
             
            specification_version: 4
         | 
| 330 330 | 
             
            summary: Compony is a Gem that allows you to write your Rails application in component-style
         | 
| 331 331 | 
             
              fashion. It combines a controller action and route along \ with its view into a
         |