compony 0.11.4 → 0.11.5
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 +5 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/compony.gemspec +3 -3
- 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/Buttons/CssButton.html +1 -1
- data/doc/Compony/Components/Buttons/Link.html +1 -1
- data/doc/Compony/Components/Buttons.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/Index.html +1 -1
- data/doc/Compony/Components/List.html +39 -33
- data/doc/Compony/Components/New.html +1 -1
- data/doc/Compony/Components/Show.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/Intent.html +1 -1
- data/doc/Compony/ManageIntentsDsl.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 +1 -1
- data/doc/Compony/VirtualModel.html +1 -1
- data/doc/Compony.html +1 -1
- data/doc/ComponyController.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/compony/components/edit.rb +1 -1
- data/lib/compony/components/list.rb +9 -6
- data/lib/compony/components/new.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f8a2c347f14285d2b0ec00b30952045d44b04a5306239240fb76989c8dca1ba
|
|
4
|
+
data.tar.gz: 4b69986d7bf1f6c59ffd91ee3a98c72ba689e9a2e34c764982f9f76de75516c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8050e369429aacb4c43806c2cae9222e1d855635a4be80af66a06c781451fc01952ef5141b1aa15c30e039d585c97aa56736ccf22f52c013261862ff67f33146
|
|
7
|
+
data.tar.gz: 426647abd922fe23c0471056d8c1bcf7f2e62acf1c0477ba72dd270abe88d5d72d30d00f0776ab0b4d8efcbae0c95963f77c7b94632206034b1ef7585aecf64e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.11.
|
|
1
|
+
0.11.5
|
data/compony.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# This file is auto-generated via: 'rake gemspec'.
|
|
3
3
|
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: compony 0.11.
|
|
5
|
+
# stub: compony 0.11.5 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "compony".freeze
|
|
9
|
-
s.version = "0.11.
|
|
9
|
+
s.version = "0.11.5".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]
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
|
14
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/Buttons.html".freeze, "doc/Compony/Components/Buttons/CssButton.html".freeze, "doc/Compony/Components/Buttons/Link.html".freeze, "doc/Compony/Components/Destroy.html".freeze, "doc/Compony/Components/Edit.html".freeze, "doc/Compony/Components/Form.html".freeze, "doc/Compony/Components/Index.html".freeze, "doc/Compony/Components/List.html".freeze, "doc/Compony/Components/New.html".freeze, "doc/Compony/Components/Show.html".freeze, "doc/Compony/Components/WithForm.html".freeze, "doc/Compony/ControllerMixin.html".freeze, "doc/Compony/Engine.html".freeze, "doc/Compony/ExposedIntentsDsl.html".freeze, "doc/Compony/Intent.html".freeze, "doc/Compony/ManageIntentsDsl.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/Compony/VirtualModel.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/guide/basic_component.md".freeze, "doc/guide/example.md".freeze, "doc/guide/feasibility.md".freeze, "doc/guide/generators.md".freeze, "doc/guide/inheritance.md".freeze, "doc/guide/installation.md".freeze, "doc/guide/intents.md".freeze, "doc/guide/internal_datastructures.md".freeze, "doc/guide/model_fields.md".freeze, "doc/guide/nesting.md".freeze, "doc/guide/ownership.md".freeze, "doc/guide/pre_built_components.md".freeze, "doc/guide/pre_built_components/destroy.md".freeze, "doc/guide/pre_built_components/edit.md".freeze, "doc/guide/pre_built_components/form.md".freeze, "doc/guide/pre_built_components/index.md".freeze, "doc/guide/pre_built_components/list.md".freeze, "doc/guide/pre_built_components/new.md".freeze, "doc/guide/pre_built_components/show.md".freeze, "doc/guide/pre_built_components/with_form.md".freeze, "doc/guide/resourceful.md".freeze, "doc/guide/standalone.md".freeze, "doc/guide/virtual_models.md".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/buttons/css_button.rb".freeze, "lib/compony/components/buttons/link.rb".freeze, "lib/compony/components/destroy.rb".freeze, "lib/compony/components/edit.rb".freeze, "lib/compony/components/form.rb".freeze, "lib/compony/components/index.rb".freeze, "lib/compony/components/list.rb".freeze, "lib/compony/components/new.rb".freeze, "lib/compony/components/show.rb".freeze, "lib/compony/components/with_form.rb".freeze, "lib/compony/controller_mixin.rb".freeze, "lib/compony/engine.rb".freeze, "lib/compony/intent.rb".freeze, "lib/compony/manage_intents_dsl.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/compony/virtual_model.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/index.rb.erb".freeze, "lib/generators/component/templates/list.rb.erb".freeze, "lib/generators/component/templates/new.rb.erb".freeze, "lib/generators/component/templates/show.rb.erb".freeze, "lib/generators/component/templates/with_base_component.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 = "4.0.
|
|
17
|
+
s.rubygems_version = "4.0.7".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
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
</div>
|
|
250
250
|
|
|
251
251
|
<div id="footer">
|
|
252
|
-
Generated on
|
|
252
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
253
253
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
254
254
|
0.9.34 (ruby-3.3.5).
|
|
255
255
|
</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 Wed Mar 25 11:05:40 2026 by
|
|
197
197
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
198
198
|
0.9.34 (ruby-3.3.5).
|
|
199
199
|
</div>
|
data/doc/Compony/Component.html
CHANGED
|
@@ -2070,7 +2070,7 @@
|
|
|
2070
2070
|
</div>
|
|
2071
2071
|
|
|
2072
2072
|
<div id="footer">
|
|
2073
|
-
Generated on
|
|
2073
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
2074
2074
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2075
2075
|
0.9.34 (ruby-3.3.5).
|
|
2076
2076
|
</div>
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
</div>
|
|
478
478
|
|
|
479
479
|
<div id="footer">
|
|
480
|
-
Generated on
|
|
480
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
481
481
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
482
482
|
0.9.34 (ruby-3.3.5).
|
|
483
483
|
</div>
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
</div>
|
|
530
530
|
|
|
531
531
|
<div id="footer">
|
|
532
|
-
Generated on
|
|
532
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
533
533
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
534
534
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
663
663
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
664
664
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
571
571
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
572
572
|
0.9.34 (ruby-3.3.5).
|
|
573
573
|
</div>
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
</div>
|
|
869
869
|
|
|
870
870
|
<div id="footer">
|
|
871
|
-
Generated on
|
|
871
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
872
872
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
873
873
|
0.9.34 (ruby-3.3.5).
|
|
874
874
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.34 (ruby-3.3.5).
|
|
122
122
|
</div>
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
</div>
|
|
1115
1115
|
|
|
1116
1116
|
<div id="footer">
|
|
1117
|
-
Generated on
|
|
1117
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
1118
1118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1119
1119
|
0.9.34 (ruby-3.3.5).
|
|
1120
1120
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.34 (ruby-3.3.5).
|
|
122
122
|
</div>
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
</div>
|
|
273
273
|
|
|
274
274
|
<div id="footer">
|
|
275
|
-
Generated on
|
|
275
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
276
276
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
277
277
|
0.9.34 (ruby-3.3.5).
|
|
278
278
|
</div>
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
</div>
|
|
243
243
|
|
|
244
244
|
<div id="footer">
|
|
245
|
-
Generated on
|
|
245
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
246
246
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
247
247
|
0.9.34 (ruby-3.3.5).
|
|
248
248
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.34 (ruby-3.3.5).
|
|
122
122
|
</div>
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
</div>
|
|
375
375
|
|
|
376
376
|
<div id="footer">
|
|
377
|
-
Generated on
|
|
377
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
378
378
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
379
379
|
0.9.34 (ruby-3.3.5).
|
|
380
380
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on
|
|
455
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
456
456
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
457
457
|
0.9.34 (ruby-3.3.5).
|
|
458
458
|
</div>
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
</div>
|
|
1483
1483
|
|
|
1484
1484
|
<div id="footer">
|
|
1485
|
-
Generated on
|
|
1485
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
1486
1486
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1487
1487
|
0.9.34 (ruby-3.3.5).
|
|
1488
1488
|
</div>
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
</div>
|
|
163
163
|
|
|
164
164
|
<div id="footer">
|
|
165
|
-
Generated on
|
|
165
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
166
166
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
167
167
|
0.9.34 (ruby-3.3.5).
|
|
168
168
|
</div>
|
|
@@ -1809,12 +1809,12 @@
|
|
|
1809
1809
|
<pre class="lines">
|
|
1810
1810
|
|
|
1811
1811
|
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1812
|
+
390
|
|
1813
|
+
391
|
|
1814
|
+
392</pre>
|
|
1815
1815
|
</td>
|
|
1816
1816
|
<td>
|
|
1817
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
1817
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 390</span>
|
|
1818
1818
|
|
|
1819
1819
|
<span class='kw'>def</span> <span class='id identifier rubyid_filtering_enabled?'>filtering_enabled?</span>
|
|
1820
1820
|
<span class='ivar'>@filtering</span> <span class='op'>&&</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>Ransack</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_filtering</span>
|
|
@@ -1945,12 +1945,12 @@
|
|
|
1945
1945
|
<pre class="lines">
|
|
1946
1946
|
|
|
1947
1947
|
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1948
|
+
410
|
|
1949
|
+
411
|
|
1950
|
+
412</pre>
|
|
1951
1951
|
</td>
|
|
1952
1952
|
<td>
|
|
1953
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
1953
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 410</span>
|
|
1954
1954
|
|
|
1955
1955
|
<span class='kw'>def</span> <span class='id identifier rubyid_pagination_enabled?'>pagination_enabled?</span>
|
|
1956
1956
|
<span class='ivar'>@pagination</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_pagination</span>
|
|
@@ -2016,7 +2016,10 @@
|
|
|
2016
2016
|
260
|
|
2017
2017
|
261
|
|
2018
2018
|
262
|
|
2019
|
-
263
|
|
2019
|
+
263
|
|
2020
|
+
264
|
|
2021
|
+
265
|
|
2022
|
+
266</pre>
|
|
2020
2023
|
</td>
|
|
2021
2024
|
<td>
|
|
2022
2025
|
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 233</span>
|
|
@@ -2027,22 +2030,25 @@
|
|
|
2027
2030
|
</span> <span class='kw'>if</span> <span class='id identifier rubyid_filtering_enabled?'>filtering_enabled?</span> <span class='op'>||</span> <span class='id identifier rubyid_sorting_enabled?'>sorting_enabled?</span>
|
|
2028
2031
|
<span class='ivar'>@q</span> <span class='op'>=</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_ransack'>ransack</span><span class='lparen'>(</span><span class='id identifier rubyid_controller'>controller</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='id identifier rubyid_param_name'>param_name</span><span class='lparen'>(</span><span class='symbol'>:q</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>auth_object:</span> <span class='id identifier rubyid_controller'>controller</span><span class='period'>.</span><span class='id identifier rubyid_current_ability'>current_ability</span><span class='comma'>,</span> <span class='label'>search_key:</span> <span class='id identifier rubyid_param_name'>param_name</span><span class='lparen'>(</span><span class='symbol'>:q</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
2029
2032
|
<span class='ivar'>@q</span><span class='period'>.</span><span class='id identifier rubyid_sorts'>sorts</span> <span class='op'>=</span> <span class='ivar'>@default_sorting</span> <span class='kw'>if</span> <span class='ivar'>@q</span><span class='period'>.</span><span class='id identifier rubyid_sorts'>sorts</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
|
2030
|
-
<span class='
|
|
2033
|
+
<span class='ivar'>@filtered_data</span> <span class='op'>=</span> <span class='ivar'>@q</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_accessible_by'>accessible_by</span><span class='lparen'>(</span><span class='id identifier rubyid_controller'>controller</span><span class='period'>.</span><span class='id identifier rubyid_current_ability'>current_ability</span><span class='rparen'>)</span>
|
|
2031
2034
|
<span class='kw'>else</span>
|
|
2032
|
-
<span class='
|
|
2035
|
+
<span class='ivar'>@filtered_data</span> <span class='op'>=</span> <span class='ivar'>@data</span>
|
|
2033
2036
|
<span class='kw'>end</span>
|
|
2034
2037
|
<span class='comment'># Pagination
|
|
2035
2038
|
</span> <span class='kw'>if</span> <span class='id identifier rubyid_pagination_enabled?'>pagination_enabled?</span>
|
|
2036
2039
|
<span class='ivar'>@page</span> <span class='op'>=</span> <span class='id identifier rubyid_controller'>controller</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='id identifier rubyid_param_name'>param_name</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>page</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_presence'>presence</span><span class='op'>&.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>||</span> <span class='int'>1</span>
|
|
2037
2040
|
<span class='ivar'>@pagination_offset</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='ivar'>@page</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='ivar'>@results_per_page</span>
|
|
2038
|
-
<span class='ivar'>@total_pages</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='
|
|
2039
|
-
<span class='kw'>if</span> <span class='ivar'>@pagination_offset</span> <span class='op'><</span> <span class='int'>0</span> <span class='op'>||</span> <span class='ivar'>@pagination_offset</span> <span class='op'>>=</span> <span class='
|
|
2041
|
+
<span class='ivar'>@total_pages</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='ivar'>@filtered_data</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>/</span> <span class='ivar'>@results_per_page</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_ceil'>ceil</span>
|
|
2042
|
+
<span class='kw'>if</span> <span class='ivar'>@pagination_offset</span> <span class='op'><</span> <span class='int'>0</span> <span class='op'>||</span> <span class='ivar'>@pagination_offset</span> <span class='op'>>=</span> <span class='ivar'>@filtered_data</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='comment'># out of bounds check
|
|
2040
2043
|
</span> <span class='ivar'>@page</span> <span class='op'>=</span> <span class='int'>1</span>
|
|
2041
2044
|
<span class='ivar'>@pagination_offset</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
2042
2045
|
<span class='kw'>end</span>
|
|
2043
|
-
<span class='ivar'>@processed_data</span> <span class='op'>=</span> <span class='
|
|
2046
|
+
<span class='ivar'>@processed_data</span> <span class='op'>=</span> <span class='ivar'>@filtered_data</span><span class='period'>.</span><span class='id identifier rubyid_offset'>offset</span><span class='lparen'>(</span><span class='ivar'>@pagination_offset</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_limit'>limit</span><span class='lparen'>(</span><span class='ivar'>@results_per_page</span><span class='rparen'>)</span>
|
|
2044
2047
|
<span class='kw'>else</span>
|
|
2045
|
-
<span class='ivar'>@processed_data</span> <span class='op'>=</span> <span class='
|
|
2048
|
+
<span class='ivar'>@processed_data</span> <span class='op'>=</span> <span class='ivar'>@filtered_data</span>
|
|
2049
|
+
<span class='ivar'>@page</span> <span class='op'>=</span> <span class='int'>1</span>
|
|
2050
|
+
<span class='ivar'>@total_pages</span> <span class='op'>=</span> <span class='int'>1</span>
|
|
2051
|
+
<span class='ivar'>@pagination_offset</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
2046
2052
|
<span class='kw'>end</span>
|
|
2047
2053
|
<span class='comment'># Apply skips to configs
|
|
2048
2054
|
</span> <span class='comment'># Exclude columns that are skipped or the user is not allowed to display
|
|
@@ -2379,12 +2385,12 @@
|
|
|
2379
2385
|
<pre class="lines">
|
|
2380
2386
|
|
|
2381
2387
|
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2388
|
+
395
|
|
2389
|
+
396
|
|
2390
|
+
397</pre>
|
|
2385
2391
|
</td>
|
|
2386
2392
|
<td>
|
|
2387
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
2393
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 395</span>
|
|
2388
2394
|
|
|
2389
2395
|
<span class='kw'>def</span> <span class='id identifier rubyid_sorting_enabled?'>sorting_enabled?</span>
|
|
2390
2396
|
<span class='lparen'>(</span><span class='lparen'>(</span><span class='ivar'>@sorting_in_filter</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_sorting_in_filter</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='ivar'>@sorting_links</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_sorting_links</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>Ransack</span><span class='rparen'>)</span>
|
|
@@ -2474,12 +2480,12 @@
|
|
|
2474
2480
|
<pre class="lines">
|
|
2475
2481
|
|
|
2476
2482
|
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2483
|
+
400
|
|
2484
|
+
401
|
|
2485
|
+
402</pre>
|
|
2480
2486
|
</td>
|
|
2481
2487
|
<td>
|
|
2482
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
2488
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 400</span>
|
|
2483
2489
|
|
|
2484
2490
|
<span class='kw'>def</span> <span class='id identifier rubyid_sorting_in_filter_enabled?'>sorting_in_filter_enabled?</span>
|
|
2485
2491
|
<span class='id identifier rubyid_sorting_enabled?'>sorting_enabled?</span> <span class='op'>&&</span> <span class='ivar'>@sorting_in_filter</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_sorting_in_filter</span>
|
|
@@ -2515,18 +2521,18 @@
|
|
|
2515
2521
|
<pre class="lines">
|
|
2516
2522
|
|
|
2517
2523
|
|
|
2518
|
-
412
|
|
2519
|
-
413
|
|
2520
|
-
414
|
|
2521
2524
|
415
|
|
2522
2525
|
416
|
|
2523
2526
|
417
|
|
2524
2527
|
418
|
|
2525
2528
|
419
|
|
2526
|
-
420
|
|
2529
|
+
420
|
|
2530
|
+
421
|
|
2531
|
+
422
|
|
2532
|
+
423</pre>
|
|
2527
2533
|
</td>
|
|
2528
2534
|
<td>
|
|
2529
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
2535
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 415</span>
|
|
2530
2536
|
|
|
2531
2537
|
<span class='kw'>def</span> <span class='id identifier rubyid_sorting_in_filter_select_opts'>sorting_in_filter_select_opts</span>
|
|
2532
2538
|
<span class='ivar'>@sorts</span><span class='period'>.</span><span class='id identifier rubyid_flat_map'>flat_map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_sort'>sort</span><span class='op'>|</span>
|
|
@@ -2622,12 +2628,12 @@
|
|
|
2622
2628
|
<pre class="lines">
|
|
2623
2629
|
|
|
2624
2630
|
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2631
|
+
405
|
|
2632
|
+
406
|
|
2633
|
+
407</pre>
|
|
2628
2634
|
</td>
|
|
2629
2635
|
<td>
|
|
2630
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line
|
|
2636
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/list.rb', line 405</span>
|
|
2631
2637
|
|
|
2632
2638
|
<span class='kw'>def</span> <span class='id identifier rubyid_sorting_links_enabled?'>sorting_links_enabled?</span>
|
|
2633
2639
|
<span class='id identifier rubyid_sorting_enabled?'>sorting_enabled?</span> <span class='op'>&&</span> <span class='ivar'>@sorting_links</span> <span class='op'>&&</span> <span class='op'>!</span><span class='ivar'>@skip_sorting_links</span>
|
|
@@ -2683,7 +2689,7 @@
|
|
|
2683
2689
|
</div>
|
|
2684
2690
|
|
|
2685
2691
|
<div id="footer">
|
|
2686
|
-
Generated on
|
|
2692
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
2687
2693
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2688
2694
|
0.9.34 (ruby-3.3.5).
|
|
2689
2695
|
</div>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
</div>
|
|
453
453
|
|
|
454
454
|
<div id="footer">
|
|
455
|
-
Generated on
|
|
455
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
456
456
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
457
457
|
0.9.34 (ruby-3.3.5).
|
|
458
458
|
</div>
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
</div>
|
|
756
756
|
|
|
757
757
|
<div id="footer">
|
|
758
|
-
Generated on
|
|
758
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
759
759
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
760
760
|
0.9.34 (ruby-3.3.5).
|
|
761
761
|
</div>
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
</div>
|
|
592
592
|
|
|
593
593
|
<div id="footer">
|
|
594
|
-
Generated on
|
|
594
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
595
595
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
596
596
|
0.9.34 (ruby-3.3.5).
|
|
597
597
|
</div>
|
data/doc/Compony/Components.html
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on
|
|
121
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
122
122
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.9.34 (ruby-3.3.5).
|
|
124
124
|
</div>
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
</div>
|
|
127
127
|
|
|
128
128
|
<div id="footer">
|
|
129
|
-
Generated on
|
|
129
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
130
130
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
131
131
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:39 2026 by
|
|
127
127
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
128
128
|
0.9.34 (ruby-3.3.5).
|
|
129
129
|
</div>
|
data/doc/Compony/Intent.html
CHANGED
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
</div>
|
|
1562
1562
|
|
|
1563
1563
|
<div id="footer">
|
|
1564
|
-
Generated on
|
|
1564
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
1565
1565
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1566
1566
|
0.9.34 (ruby-3.3.5).
|
|
1567
1567
|
</div>
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
</div>
|
|
404
404
|
|
|
405
405
|
<div id="footer">
|
|
406
|
-
Generated on
|
|
406
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
407
407
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
408
408
|
0.9.34 (ruby-3.3.5).
|
|
409
409
|
</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 Wed Mar 25 11:05:40 2026 by
|
|
447
447
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
448
448
|
0.9.34 (ruby-3.3.5).
|
|
449
449
|
</div>
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
</div>
|
|
510
510
|
|
|
511
511
|
<div id="footer">
|
|
512
|
-
Generated on
|
|
512
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
513
513
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
514
514
|
0.9.34 (ruby-3.3.5).
|
|
515
515
|
</div>
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
</div>
|
|
604
604
|
|
|
605
605
|
<div id="footer">
|
|
606
|
-
Generated on
|
|
606
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
607
607
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
608
608
|
0.9.34 (ruby-3.3.5).
|
|
609
609
|
</div>
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
</div>
|
|
496
496
|
|
|
497
497
|
<div id="footer">
|
|
498
|
-
Generated on
|
|
498
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
499
499
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
500
500
|
0.9.34 (ruby-3.3.5).
|
|
501
501
|
</div>
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
</div>
|
|
1187
1187
|
|
|
1188
1188
|
<div id="footer">
|
|
1189
|
-
Generated on
|
|
1189
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
1190
1190
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1191
1191
|
0.9.34 (ruby-3.3.5).
|
|
1192
1192
|
</div>
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
</div>
|
|
355
355
|
|
|
356
356
|
<div id="footer">
|
|
357
|
-
Generated on
|
|
357
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
358
358
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
359
359
|
0.9.34 (ruby-3.3.5).
|
|
360
360
|
</div>
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
</div>
|
|
290
290
|
|
|
291
291
|
<div id="footer">
|
|
292
|
-
Generated on
|
|
292
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
293
293
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
294
294
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
234
234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
235
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
295
295
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
296
296
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
149
149
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:40 2026 by
|
|
234
234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
235
|
0.9.34 (ruby-3.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 Wed Mar 25 11:05:39 2026 by
|
|
120
120
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.9.34 (ruby-3.3.5).
|
|
122
122
|
</div>
|
data/doc/Compony/ModelMixin.html
CHANGED
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
</div>
|
|
520
520
|
|
|
521
521
|
<div id="footer">
|
|
522
|
-
Generated on
|
|
522
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
523
523
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
524
524
|
0.9.34 (ruby-3.3.5).
|
|
525
525
|
</div>
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
</div>
|
|
291
291
|
|
|
292
292
|
<div id="footer">
|
|
293
|
-
Generated on
|
|
293
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
294
294
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
295
295
|
0.9.34 (ruby-3.3.5).
|
|
296
296
|
</div>
|
|
@@ -1084,7 +1084,7 @@
|
|
|
1084
1084
|
</div>
|
|
1085
1085
|
|
|
1086
1086
|
<div id="footer">
|
|
1087
|
-
Generated on
|
|
1087
|
+
Generated on Wed Mar 25 11:05:40 2026 by
|
|
1088
1088
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1089
1089
|
0.9.34 (ruby-3.3.5).
|
|
1090
1090
|
</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 Wed Mar 25 11:05:39 2026 by
|
|
133
133
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
134
134
|
0.9.34 (ruby-3.3.5).
|
|
135
135
|
</div>
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
226
226
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
227
|
0.9.34 (ruby-3.3.5).
|
|
228
228
|
</div>
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
<div id="footer">
|
|
145
|
-
Generated on
|
|
145
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
146
146
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
147
147
|
0.9.34 (ruby-3.3.5).
|
|
148
148
|
</div>
|
data/doc/Compony.html
CHANGED
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
</div>
|
|
1675
1675
|
|
|
1676
1676
|
<div id="footer">
|
|
1677
|
-
Generated on
|
|
1677
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
1678
1678
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1679
1679
|
0.9.34 (ruby-3.3.5).
|
|
1680
1680
|
</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 Wed Mar 25 11:05:40 2026 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.34 (ruby-3.3.5).
|
|
120
120
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -622,7 +622,7 @@
|
|
|
622
622
|
</div>
|
|
623
623
|
|
|
624
624
|
<div id="footer">
|
|
625
|
-
Generated on
|
|
625
|
+
Generated on Wed Mar 25 11:05:38 2026 by
|
|
626
626
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
627
627
|
0.9.34 (ruby-3.3.5).
|
|
628
628
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
</div></div>
|
|
200
200
|
|
|
201
201
|
<div id="footer">
|
|
202
|
-
Generated on
|
|
202
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
203
203
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
204
204
|
0.9.34 (ruby-3.3.5).
|
|
205
205
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
</div></div>
|
|
200
200
|
|
|
201
201
|
<div id="footer">
|
|
202
|
-
Generated on
|
|
202
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
203
203
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
204
204
|
0.9.34 (ruby-3.3.5).
|
|
205
205
|
</div>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
<div id="footer">
|
|
105
|
-
Generated on
|
|
105
|
+
Generated on Wed Mar 25 11:05:39 2026 by
|
|
106
106
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
107
107
|
0.9.34 (ruby-3.3.5).
|
|
108
108
|
</div>
|
|
@@ -236,22 +236,25 @@ module Compony
|
|
|
236
236
|
if filtering_enabled? || sorting_enabled?
|
|
237
237
|
@q = @data.ransack(controller.params[param_name(:q)], auth_object: controller.current_ability, search_key: param_name(:q))
|
|
238
238
|
@q.sorts = @default_sorting if @q.sorts.empty?
|
|
239
|
-
filtered_data = @q.result.accessible_by(controller.current_ability)
|
|
239
|
+
@filtered_data = @q.result.accessible_by(controller.current_ability)
|
|
240
240
|
else
|
|
241
|
-
filtered_data = @data
|
|
241
|
+
@filtered_data = @data
|
|
242
242
|
end
|
|
243
243
|
# Pagination
|
|
244
244
|
if pagination_enabled?
|
|
245
245
|
@page = controller.params[param_name('page')].presence&.to_i || 1
|
|
246
246
|
@pagination_offset = (@page - 1) * @results_per_page
|
|
247
|
-
@total_pages = (filtered_data.count.to_f / @results_per_page).ceil
|
|
248
|
-
if @pagination_offset < 0 || @pagination_offset >= filtered_data.count # out of bounds check
|
|
247
|
+
@total_pages = (@filtered_data.count.to_f / @results_per_page).ceil
|
|
248
|
+
if @pagination_offset < 0 || @pagination_offset >= @filtered_data.count # out of bounds check
|
|
249
249
|
@page = 1
|
|
250
250
|
@pagination_offset = 0
|
|
251
251
|
end
|
|
252
|
-
@processed_data = filtered_data.offset(@pagination_offset).limit(@results_per_page)
|
|
252
|
+
@processed_data = @filtered_data.offset(@pagination_offset).limit(@results_per_page)
|
|
253
253
|
else
|
|
254
|
-
@processed_data = filtered_data
|
|
254
|
+
@processed_data = @filtered_data
|
|
255
|
+
@page = 1
|
|
256
|
+
@total_pages = 1
|
|
257
|
+
@pagination_offset = 0
|
|
255
258
|
end
|
|
256
259
|
# Apply skips to configs
|
|
257
260
|
# Exclude columns that are skipped or the user is not allowed to display
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: compony
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sandro Kalbermatter
|
|
@@ -369,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
369
369
|
- !ruby/object:Gem::Version
|
|
370
370
|
version: '0'
|
|
371
371
|
requirements: []
|
|
372
|
-
rubygems_version: 4.0.
|
|
372
|
+
rubygems_version: 4.0.7
|
|
373
373
|
specification_version: 4
|
|
374
374
|
summary: Compony is a Gem that allows you to write your Rails application in component-style
|
|
375
375
|
fashion. It combines a controller action and route along \ with its view into a
|