compony 0.3.2 → 0.4.0
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 +30 -0
- data/Gemfile.lock +3 -3
- data/README.md +41 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/compony.gemspec +6 -6
- data/doc/ComponentGenerator.html +3 -3
- data/doc/Components.html +3 -3
- data/doc/ComponentsGenerator.html +3 -3
- data/doc/Compony/Component.html +11 -11
- data/doc/Compony/ComponentMixins/Default/Labelling.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +8 -8
- data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +3 -3
- data/doc/Compony/ComponentMixins/Default/Standalone.html +3 -3
- data/doc/Compony/ComponentMixins/Default.html +3 -3
- data/doc/Compony/ComponentMixins/Resourceful.html +3 -3
- data/doc/Compony/ComponentMixins.html +3 -3
- data/doc/Compony/Components/Button.html +3 -3
- data/doc/Compony/Components/Destroy.html +3 -3
- data/doc/Compony/Components/Edit.html +20 -20
- data/doc/Compony/Components/Form.html +318 -92
- data/doc/Compony/Components/New.html +20 -20
- data/doc/Compony/Components/WithForm.html +96 -21
- data/doc/Compony/Components.html +3 -3
- data/doc/Compony/ControllerMixin.html +3 -3
- data/doc/Compony/Engine.html +3 -3
- data/doc/Compony/MethodAccessibleHash.html +3 -3
- data/doc/Compony/ModelFields/Anchormodel.html +3 -3
- data/doc/Compony/ModelFields/Association.html +3 -3
- data/doc/Compony/ModelFields/Attachment.html +3 -3
- data/doc/Compony/ModelFields/Base.html +3 -3
- data/doc/Compony/ModelFields/Boolean.html +3 -3
- data/doc/Compony/ModelFields/Color.html +3 -3
- data/doc/Compony/ModelFields/Currency.html +3 -3
- data/doc/Compony/ModelFields/Date.html +3 -3
- data/doc/Compony/ModelFields/Datetime.html +3 -3
- data/doc/Compony/ModelFields/Decimal.html +3 -3
- data/doc/Compony/ModelFields/Email.html +3 -3
- data/doc/Compony/ModelFields/Float.html +3 -3
- data/doc/Compony/ModelFields/Integer.html +3 -3
- data/doc/Compony/ModelFields/Percentage.html +3 -3
- data/doc/Compony/ModelFields/Phone.html +3 -3
- data/doc/Compony/ModelFields/RichText.html +3 -3
- data/doc/Compony/ModelFields/String.html +3 -3
- data/doc/Compony/ModelFields/Text.html +3 -3
- data/doc/Compony/ModelFields/Time.html +3 -3
- data/doc/Compony/ModelFields/Url.html +3 -3
- data/doc/Compony/ModelFields.html +3 -3
- data/doc/Compony/ModelMixin.html +28 -28
- data/doc/Compony/NaturalOrdering.html +3 -3
- data/doc/Compony/RequestContext.html +72 -5
- data/doc/Compony/Version.html +3 -3
- data/doc/Compony/ViewHelpers.html +3 -3
- data/doc/Compony.html +4 -4
- data/doc/ComponyController.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +44 -3
- data/doc/frames.html +10 -5
- data/doc/index.html +44 -3
- data/doc/method_list.html +74 -42
- data/doc/top-level-namespace.html +3 -3
- data/lib/compony/component.rb +4 -4
- data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +3 -3
- data/lib/compony/components/edit.rb +4 -1
- data/lib/compony/components/form.rb +74 -9
- data/lib/compony/components/new.rb +4 -1
- data/lib/compony/components/with_form.rb +12 -1
- data/lib/compony/model_mixin.rb +8 -1
- data/lib/compony/request_context.rb +8 -1
- data/lib/compony.rb +1 -1
- metadata +6 -6
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Compony::Components::Edit
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -265,7 +265,7 @@
|
|
265
265
|
|
266
266
|
|
267
267
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="WithForm.html" title="Compony::Components::WithForm (class)">WithForm</a></span></h3>
|
268
|
-
<p class="inherited"><span class='object_link'><a href="WithForm.html#form_comp-instance_method" title="Compony::Components::WithForm#form_comp (method)">#form_comp</a></span>, <span class='object_link'><a href="WithForm.html#form_comp_class-instance_method" title="Compony::Components::WithForm#form_comp_class (method)">#form_comp_class</a></span>, <span class='object_link'><a href="WithForm.html#initialize-instance_method" title="Compony::Components::WithForm#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="WithForm.html#submit_path-instance_method" title="Compony::Components::WithForm#submit_path (method)">#submit_path</a></span>, <span class='object_link'><a href="WithForm.html#submit_verb-instance_method" title="Compony::Components::WithForm#submit_verb (method)">#submit_verb</a></span></p>
|
268
|
+
<p class="inherited"><span class='object_link'><a href="WithForm.html#form_cancancan_action-instance_method" title="Compony::Components::WithForm#form_cancancan_action (method)">#form_cancancan_action</a></span>, <span class='object_link'><a href="WithForm.html#form_comp-instance_method" title="Compony::Components::WithForm#form_comp (method)">#form_comp</a></span>, <span class='object_link'><a href="WithForm.html#form_comp_class-instance_method" title="Compony::Components::WithForm#form_comp_class (method)">#form_comp_class</a></span>, <span class='object_link'><a href="WithForm.html#initialize-instance_method" title="Compony::Components::WithForm#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="WithForm.html#submit_path-instance_method" title="Compony::Components::WithForm#submit_path (method)">#submit_path</a></span>, <span class='object_link'><a href="WithForm.html#submit_verb-instance_method" title="Compony::Components::WithForm#submit_verb (method)">#submit_verb</a></span></p>
|
269
269
|
|
270
270
|
|
271
271
|
|
@@ -309,12 +309,12 @@
|
|
309
309
|
<pre class="lines">
|
310
310
|
|
311
311
|
|
312
|
-
|
313
|
-
|
314
|
-
|
312
|
+
107
|
313
|
+
108
|
314
|
+
109</pre>
|
315
315
|
</td>
|
316
316
|
<td>
|
317
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
317
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 107</span>
|
318
318
|
|
319
319
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_update_failed'>on_update_failed</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
320
320
|
<span class='ivar'>@on_update_failed_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -350,12 +350,12 @@
|
|
350
350
|
<pre class="lines">
|
351
351
|
|
352
352
|
|
353
|
-
|
354
|
-
|
355
|
-
|
353
|
+
92
|
354
|
+
93
|
355
|
+
94</pre>
|
356
356
|
</td>
|
357
357
|
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
358
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 92</span>
|
359
359
|
|
360
360
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated'>on_updated</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
361
361
|
<span class='ivar'>@on_updated_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -391,12 +391,12 @@
|
|
391
391
|
<pre class="lines">
|
392
392
|
|
393
393
|
|
394
|
-
|
395
|
-
|
396
|
-
|
394
|
+
102
|
395
|
+
103
|
396
|
+
104</pre>
|
397
397
|
</td>
|
398
398
|
<td>
|
399
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
399
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 102</span>
|
400
400
|
|
401
401
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated_redirect_path'>on_updated_redirect_path</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
402
402
|
<span class='ivar'>@on_updated_redirect_path_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -432,12 +432,12 @@
|
|
432
432
|
<pre class="lines">
|
433
433
|
|
434
434
|
|
435
|
-
|
436
|
-
|
437
|
-
|
435
|
+
97
|
436
|
+
98
|
437
|
+
99</pre>
|
438
438
|
</td>
|
439
439
|
<td>
|
440
|
-
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line
|
440
|
+
<pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 97</span>
|
441
441
|
|
442
442
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_updated_respond'>on_updated_respond</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
443
443
|
<span class='ivar'>@on_updated_respond_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -452,9 +452,9 @@
|
|
452
452
|
</div>
|
453
453
|
|
454
454
|
<div id="footer">
|
455
|
-
Generated on
|
455
|
+
Generated on Tue Jun 11 11:15:54 2024 by
|
456
456
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
457
|
-
0.9.
|
457
|
+
0.9.36 (ruby-3.2.2).
|
458
458
|
</div>
|
459
459
|
|
460
460
|
</div>
|