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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/Gemfile.lock +3 -3
  4. data/README.md +41 -0
  5. data/Rakefile +2 -2
  6. data/VERSION +1 -1
  7. data/compony.gemspec +6 -6
  8. data/doc/ComponentGenerator.html +3 -3
  9. data/doc/Components.html +3 -3
  10. data/doc/ComponentsGenerator.html +3 -3
  11. data/doc/Compony/Component.html +11 -11
  12. data/doc/Compony/ComponentMixins/Default/Labelling.html +3 -3
  13. data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +3 -3
  14. data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +8 -8
  15. data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +3 -3
  16. data/doc/Compony/ComponentMixins/Default/Standalone.html +3 -3
  17. data/doc/Compony/ComponentMixins/Default.html +3 -3
  18. data/doc/Compony/ComponentMixins/Resourceful.html +3 -3
  19. data/doc/Compony/ComponentMixins.html +3 -3
  20. data/doc/Compony/Components/Button.html +3 -3
  21. data/doc/Compony/Components/Destroy.html +3 -3
  22. data/doc/Compony/Components/Edit.html +20 -20
  23. data/doc/Compony/Components/Form.html +318 -92
  24. data/doc/Compony/Components/New.html +20 -20
  25. data/doc/Compony/Components/WithForm.html +96 -21
  26. data/doc/Compony/Components.html +3 -3
  27. data/doc/Compony/ControllerMixin.html +3 -3
  28. data/doc/Compony/Engine.html +3 -3
  29. data/doc/Compony/MethodAccessibleHash.html +3 -3
  30. data/doc/Compony/ModelFields/Anchormodel.html +3 -3
  31. data/doc/Compony/ModelFields/Association.html +3 -3
  32. data/doc/Compony/ModelFields/Attachment.html +3 -3
  33. data/doc/Compony/ModelFields/Base.html +3 -3
  34. data/doc/Compony/ModelFields/Boolean.html +3 -3
  35. data/doc/Compony/ModelFields/Color.html +3 -3
  36. data/doc/Compony/ModelFields/Currency.html +3 -3
  37. data/doc/Compony/ModelFields/Date.html +3 -3
  38. data/doc/Compony/ModelFields/Datetime.html +3 -3
  39. data/doc/Compony/ModelFields/Decimal.html +3 -3
  40. data/doc/Compony/ModelFields/Email.html +3 -3
  41. data/doc/Compony/ModelFields/Float.html +3 -3
  42. data/doc/Compony/ModelFields/Integer.html +3 -3
  43. data/doc/Compony/ModelFields/Percentage.html +3 -3
  44. data/doc/Compony/ModelFields/Phone.html +3 -3
  45. data/doc/Compony/ModelFields/RichText.html +3 -3
  46. data/doc/Compony/ModelFields/String.html +3 -3
  47. data/doc/Compony/ModelFields/Text.html +3 -3
  48. data/doc/Compony/ModelFields/Time.html +3 -3
  49. data/doc/Compony/ModelFields/Url.html +3 -3
  50. data/doc/Compony/ModelFields.html +3 -3
  51. data/doc/Compony/ModelMixin.html +28 -28
  52. data/doc/Compony/NaturalOrdering.html +3 -3
  53. data/doc/Compony/RequestContext.html +72 -5
  54. data/doc/Compony/Version.html +3 -3
  55. data/doc/Compony/ViewHelpers.html +3 -3
  56. data/doc/Compony.html +4 -4
  57. data/doc/ComponyController.html +3 -3
  58. data/doc/_index.html +4 -4
  59. data/doc/file.README.html +44 -3
  60. data/doc/frames.html +10 -5
  61. data/doc/index.html +44 -3
  62. data/doc/method_list.html +74 -42
  63. data/doc/top-level-namespace.html +3 -3
  64. data/lib/compony/component.rb +4 -4
  65. data/lib/compony/component_mixins/default/standalone/standalone_dsl.rb +3 -3
  66. data/lib/compony/components/edit.rb +4 -1
  67. data/lib/compony/components/form.rb +74 -9
  68. data/lib/compony/components/new.rb +4 -1
  69. data/lib/compony/components/with_form.rb +12 -1
  70. data/lib/compony/model_mixin.rb +8 -1
  71. data/lib/compony/request_context.rb +8 -1
  72. data/lib/compony.rb +1 -1
  73. metadata +6 -6
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::Components::Edit
8
8
 
9
- &mdash; Documentation by YARD 0.9.34
9
+ &mdash; 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
- 104
313
- 105
314
- 106</pre>
312
+ 107
313
+ 108
314
+ 109</pre>
315
315
  </td>
316
316
  <td>
317
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 104</span>
317
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 107</span>
318
318
 
319
319
  <span class='kw'>def</span> <span class='id identifier rubyid_on_update_failed'>on_update_failed</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
320
320
  <span class='ivar'>@on_update_failed_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -350,12 +350,12 @@
350
350
  <pre class="lines">
351
351
 
352
352
 
353
- 89
354
- 90
355
- 91</pre>
353
+ 92
354
+ 93
355
+ 94</pre>
356
356
  </td>
357
357
  <td>
358
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 89</span>
358
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 92</span>
359
359
 
360
360
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated'>on_updated</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
361
361
  <span class='ivar'>@on_updated_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -391,12 +391,12 @@
391
391
  <pre class="lines">
392
392
 
393
393
 
394
- 99
395
- 100
396
- 101</pre>
394
+ 102
395
+ 103
396
+ 104</pre>
397
397
  </td>
398
398
  <td>
399
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 99</span>
399
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 102</span>
400
400
 
401
401
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated_redirect_path'>on_updated_redirect_path</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
402
402
  <span class='ivar'>@on_updated_redirect_path_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -432,12 +432,12 @@
432
432
  <pre class="lines">
433
433
 
434
434
 
435
- 94
436
- 95
437
- 96</pre>
435
+ 97
436
+ 98
437
+ 99</pre>
438
438
  </td>
439
439
  <td>
440
- <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 94</span>
440
+ <pre class="code"><span class="info file"># File 'lib/compony/components/edit.rb', line 97</span>
441
441
 
442
442
  <span class='kw'>def</span> <span class='id identifier rubyid_on_updated_respond'>on_updated_respond</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
443
443
  <span class='ivar'>@on_updated_respond_block</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
@@ -452,9 +452,9 @@
452
452
  </div>
453
453
 
454
454
  <div id="footer">
455
- Generated on Sat Jun 1 14:22:43 2024 by
455
+ Generated on Tue Jun 11 11:15:54 2024 by
456
456
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
457
- 0.9.34 (ruby-3.2.2).
457
+ 0.9.36 (ruby-3.2.2).
458
458
  </div>
459
459
 
460
460
  </div>