compony 0.3.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/VERSION +1 -1
  4. data/compony.gemspec +4 -4
  5. data/doc/ComponentGenerator.html +3 -3
  6. data/doc/Components.html +3 -3
  7. data/doc/ComponentsGenerator.html +3 -3
  8. data/doc/Compony/Component.html +138 -45
  9. data/doc/Compony/ComponentMixins/Default/Labelling.html +3 -3
  10. data/doc/Compony/ComponentMixins/Default/Standalone/ResourcefulVerbDsl.html +3 -3
  11. data/doc/Compony/ComponentMixins/Default/Standalone/StandaloneDsl.html +3 -3
  12. data/doc/Compony/ComponentMixins/Default/Standalone/VerbDsl.html +3 -3
  13. data/doc/Compony/ComponentMixins/Default/Standalone.html +3 -3
  14. data/doc/Compony/ComponentMixins/Default.html +3 -3
  15. data/doc/Compony/ComponentMixins/Resourceful.html +3 -3
  16. data/doc/Compony/ComponentMixins.html +3 -3
  17. data/doc/Compony/Components/Button.html +4 -4
  18. data/doc/Compony/Components/Destroy.html +4 -4
  19. data/doc/Compony/Components/Edit.html +20 -20
  20. data/doc/Compony/Components/Form.html +4 -4
  21. data/doc/Compony/Components/New.html +4 -4
  22. data/doc/Compony/Components/WithForm.html +4 -4
  23. data/doc/Compony/Components.html +3 -3
  24. data/doc/Compony/ControllerMixin.html +3 -3
  25. data/doc/Compony/Engine.html +3 -3
  26. data/doc/Compony/MethodAccessibleHash.html +3 -3
  27. data/doc/Compony/ModelFields/Anchormodel.html +3 -3
  28. data/doc/Compony/ModelFields/Association.html +3 -3
  29. data/doc/Compony/ModelFields/Attachment.html +3 -3
  30. data/doc/Compony/ModelFields/Base.html +3 -3
  31. data/doc/Compony/ModelFields/Boolean.html +3 -3
  32. data/doc/Compony/ModelFields/Color.html +3 -3
  33. data/doc/Compony/ModelFields/Currency.html +3 -3
  34. data/doc/Compony/ModelFields/Date.html +3 -3
  35. data/doc/Compony/ModelFields/Datetime.html +3 -3
  36. data/doc/Compony/ModelFields/Decimal.html +3 -3
  37. data/doc/Compony/ModelFields/Email.html +3 -3
  38. data/doc/Compony/ModelFields/Float.html +3 -3
  39. data/doc/Compony/ModelFields/Integer.html +3 -3
  40. data/doc/Compony/ModelFields/Percentage.html +3 -3
  41. data/doc/Compony/ModelFields/Phone.html +3 -3
  42. data/doc/Compony/ModelFields/RichText.html +3 -3
  43. data/doc/Compony/ModelFields/String.html +3 -3
  44. data/doc/Compony/ModelFields/Text.html +3 -3
  45. data/doc/Compony/ModelFields/Time.html +3 -3
  46. data/doc/Compony/ModelFields/Url.html +3 -3
  47. data/doc/Compony/ModelFields.html +3 -3
  48. data/doc/Compony/ModelMixin.html +3 -3
  49. data/doc/Compony/NaturalOrdering.html +3 -3
  50. data/doc/Compony/RequestContext.html +72 -5
  51. data/doc/Compony/Version.html +3 -3
  52. data/doc/Compony/ViewHelpers.html +3 -3
  53. data/doc/Compony.html +3 -3
  54. data/doc/ComponyController.html +3 -3
  55. data/doc/_index.html +4 -4
  56. data/doc/file.README.html +3 -3
  57. data/doc/frames.html +10 -5
  58. data/doc/index.html +3 -3
  59. data/doc/method_list.html +96 -80
  60. data/doc/top-level-namespace.html +3 -3
  61. data/lib/compony/component.rb +14 -3
  62. data/lib/compony/components/edit.rb +4 -0
  63. data/lib/compony/request_context.rb +8 -1
  64. metadata +3 -3
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Email
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
 
@@ -230,9 +230,9 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Fri May 31 14:28:30 2024 by
233
+ Generated on Mon Jun 3 15:20:40 2024 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
- 0.9.34 (ruby-3.2.2).
235
+ 0.9.36 (ruby-3.2.2).
236
236
  </div>
237
237
 
238
238
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Float
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
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Fri May 31 14:28:30 2024 by
147
+ Generated on Mon Jun 3 15:20:40 2024 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.34 (ruby-3.2.2).
149
+ 0.9.36 (ruby-3.2.2).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Integer
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
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Fri May 31 14:28:30 2024 by
147
+ Generated on Mon Jun 3 15:20:40 2024 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.34 (ruby-3.2.2).
149
+ 0.9.36 (ruby-3.2.2).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Percentage
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
 
@@ -222,9 +222,9 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Fri May 31 14:28:30 2024 by
225
+ Generated on Mon Jun 3 15:20:40 2024 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
- 0.9.34 (ruby-3.2.2).
227
+ 0.9.36 (ruby-3.2.2).
228
228
  </div>
229
229
 
230
230
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Phone
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
 
@@ -291,9 +291,9 @@
291
291
  </div>
292
292
 
293
293
  <div id="footer">
294
- Generated on Fri May 31 14:28:30 2024 by
294
+ Generated on Mon Jun 3 15:20:40 2024 by
295
295
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
- 0.9.34 (ruby-3.2.2).
296
+ 0.9.36 (ruby-3.2.2).
297
297
  </div>
298
298
 
299
299
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::RichText
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
 
@@ -222,9 +222,9 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Fri May 31 14:28:30 2024 by
225
+ Generated on Mon Jun 3 15:20:40 2024 by
226
226
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
- 0.9.34 (ruby-3.2.2).
227
+ 0.9.36 (ruby-3.2.2).
228
228
  </div>
229
229
 
230
230
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::String
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
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Fri May 31 14:28:30 2024 by
147
+ Generated on Mon Jun 3 15:20:40 2024 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.34 (ruby-3.2.2).
149
+ 0.9.36 (ruby-3.2.2).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Text
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
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Fri May 31 14:28:30 2024 by
147
+ Generated on Mon Jun 3 15:20:40 2024 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.34 (ruby-3.2.2).
149
+ 0.9.36 (ruby-3.2.2).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Time
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
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Fri May 31 14:28:30 2024 by
147
+ Generated on Mon Jun 3 15:20:40 2024 by
148
148
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.34 (ruby-3.2.2).
149
+ 0.9.36 (ruby-3.2.2).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::ModelFields::Url
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
 
@@ -230,9 +230,9 @@
230
230
  </div>
231
231
 
232
232
  <div id="footer">
233
- Generated on Fri May 31 14:28:30 2024 by
233
+ Generated on Mon Jun 3 15:20:40 2024 by
234
234
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
- 0.9.34 (ruby-3.2.2).
235
+ 0.9.36 (ruby-3.2.2).
236
236
  </div>
237
237
 
238
238
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Compony::ModelFields
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
 
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Fri May 31 14:28:29 2024 by
119
+ Generated on Mon Jun 3 15:20:40 2024 by
120
120
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.9.34 (ruby-3.2.2).
121
+ 0.9.36 (ruby-3.2.2).
122
122
  </div>
123
123
 
124
124
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Compony::ModelMixin
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
 
@@ -514,9 +514,9 @@
514
514
  </div>
515
515
 
516
516
  <div id="footer">
517
- Generated on Fri May 31 14:28:29 2024 by
517
+ Generated on Mon Jun 3 15:20:40 2024 by
518
518
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
519
- 0.9.34 (ruby-3.2.2).
519
+ 0.9.36 (ruby-3.2.2).
520
520
  </div>
521
521
 
522
522
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::NaturalOrdering
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
 
@@ -290,9 +290,9 @@
290
290
  </div>
291
291
 
292
292
  <div id="footer">
293
- Generated on Fri May 31 14:28:30 2024 by
293
+ Generated on Mon Jun 3 15:20:40 2024 by
294
294
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
295
- 0.9.34 (ruby-3.2.2).
295
+ 0.9.36 (ruby-3.2.2).
296
296
  </div>
297
297
 
298
298
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Compony::RequestContext
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
 
@@ -258,6 +258,28 @@
258
258
  <p>Renders a content block from the current component.</p>
259
259
  </div></span>
260
260
 
261
+ </li>
262
+
263
+
264
+ <li class="public ">
265
+ <span class="summary_signature">
266
+
267
+ <a href="#content!-instance_method" title="#content! (instance method)">#<strong>content!</strong>(name) &#x21d2; Object </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <span class="summary_desc"><div class='inline'></div></span>
282
+
261
283
  </li>
262
284
 
263
285
 
@@ -703,14 +725,19 @@
703
725
  54
704
726
  55
705
727
  56
706
- 57</pre>
728
+ 57
729
+ 58
730
+ 59
731
+ 60</pre>
707
732
  </td>
708
733
  <td>
709
734
  <pre class="code"><span class="info file"># File 'lib/compony/request_context.rb', line 46</span>
710
735
 
711
736
  <span class='kw'>def</span> <span class='id identifier rubyid_content'>content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
712
737
  <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
713
- <span class='id identifier rubyid_content_block'>content_block</span> <span class='op'>=</span> <span class='id identifier rubyid_component'>component</span><span class='period'>.</span><span class='id identifier rubyid_content_blocks'>content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_el'>el</span><span class='op'>|</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_name'>name</span> <span class='rbrace'>}</span> <span class='op'>||</span> <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Content block </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> not found in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_component'>component</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
738
+ <span class='id identifier rubyid_content_block'>content_block</span> <span class='op'>=</span> <span class='id identifier rubyid_component'>component</span><span class='period'>.</span><span class='id identifier rubyid_content_blocks'>content_blocks</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_el'>el</span><span class='op'>|</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_name'>name</span> <span class='rbrace'>}</span>
739
+ <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id identifier rubyid_content_block'>content_block</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
740
+
714
741
  <span class='comment'># We have to clear Rails&#39; output_buffer to prevent double rendering of blocks. To achieve this, a fresh render context is instanciated.
715
742
  </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_controller'>controller</span><span class='period'>.</span><span class='id identifier rubyid_render_to_string'>render_to_string</span><span class='lparen'>(</span>
716
743
  <span class='label'>type:</span> <span class='symbol'>:dyny</span><span class='comma'>,</span>
@@ -719,6 +746,46 @@
719
746
  <span class='tstring_content'> Compony::RequestContext.new(render_component, render_controller, helpers: self, locals: local_assigns).evaluate_with_backfire(&amp;render_block.payload)
720
747
  </span><span class='heredoc_end'> RUBY
721
748
  </span> <span class='rparen'>)</span>
749
+ <span class='kw'>return</span> <span class='kw'>true</span>
750
+ <span class='kw'>end</span></pre>
751
+ </td>
752
+ </tr>
753
+ </table>
754
+ </div>
755
+
756
+ <div class="method_details ">
757
+ <h3 class="signature " id="content!-instance_method">
758
+
759
+ #<strong>content!</strong>(name) &#x21d2; <tt>Object</tt>
760
+
761
+
762
+
763
+
764
+
765
+ </h3><div class="docstring">
766
+ <div class="discussion">
767
+
768
+
769
+ </div>
770
+ </div>
771
+ <div class="tags">
772
+
773
+
774
+ </div><table class="source_code">
775
+ <tr>
776
+ <td>
777
+ <pre class="lines">
778
+
779
+
780
+ 62
781
+ 63
782
+ 64</pre>
783
+ </td>
784
+ <td>
785
+ <pre class="code"><span class="info file"># File 'lib/compony/request_context.rb', line 62</span>
786
+
787
+ <span class='kw'>def</span> <span class='id identifier rubyid_content!'>content!</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
788
+ <span class='id identifier rubyid_content'>content</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_fail'>fail</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Content block </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> not found in </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_component'>component</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
722
789
  <span class='kw'>end</span></pre>
723
790
  </td>
724
791
  </tr>
@@ -864,9 +931,9 @@
864
931
  </div>
865
932
 
866
933
  <div id="footer">
867
- Generated on Fri May 31 14:28:30 2024 by
934
+ Generated on Mon Jun 3 15:20:40 2024 by
868
935
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
869
- 0.9.34 (ruby-3.2.2).
936
+ 0.9.36 (ruby-3.2.2).
870
937
  </div>
871
938
 
872
939
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Compony::Version
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
 
@@ -129,9 +129,9 @@
129
129
  </div>
130
130
 
131
131
  <div id="footer">
132
- Generated on Fri May 31 14:28:29 2024 by
132
+ Generated on Mon Jun 3 15:20:40 2024 by
133
133
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
134
- 0.9.34 (ruby-3.2.2).
134
+ 0.9.36 (ruby-3.2.2).
135
135
  </div>
136
136
 
137
137
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Compony::ViewHelpers
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
 
@@ -433,9 +433,9 @@
433
433
  </div>
434
434
 
435
435
  <div id="footer">
436
- Generated on Fri May 31 14:28:29 2024 by
436
+ Generated on Mon Jun 3 15:20:40 2024 by
437
437
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
438
- 0.9.34 (ruby-3.2.2).
438
+ 0.9.36 (ruby-3.2.2).
439
439
  </div>
440
440
 
441
441
  </div>
data/doc/Compony.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Compony
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
 
@@ -2146,9 +2146,9 @@
2146
2146
  </div>
2147
2147
 
2148
2148
  <div id="footer">
2149
- Generated on Fri May 31 14:28:29 2024 by
2149
+ Generated on Mon Jun 3 15:20:40 2024 by
2150
2150
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2151
- 0.9.34 (ruby-3.2.2).
2151
+ 0.9.36 (ruby-3.2.2).
2152
2152
  </div>
2153
2153
 
2154
2154
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ComponyController
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
 
@@ -114,9 +114,9 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Fri May 31 14:28:30 2024 by
117
+ Generated on Mon Jun 3 15:20:40 2024 by
118
118
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
- 0.9.34 (ruby-3.2.2).
119
+ 0.9.36 (ruby-3.2.2).
120
120
  </div>
121
121
 
122
122
  </div>
data/doc/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.34
7
+ Documentation by YARD 0.9.36
8
8
 
9
9
  </title>
10
10
 
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.34</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.36</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -566,9 +566,9 @@
566
566
  </div>
567
567
 
568
568
  <div id="footer">
569
- Generated on Fri May 31 14:28:27 2024 by
569
+ Generated on Mon Jun 3 15:20:38 2024 by
570
570
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
571
- 0.9.34 (ruby-3.2.2).
571
+ 0.9.36 (ruby-3.2.2).
572
572
  </div>
573
573
 
574
574
  </div>
data/doc/file.README.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
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
 
@@ -1621,9 +1621,9 @@ my_button = Compony.button(:index, :users, enabled: -&gt; { |controller| control
1621
1621
  </div></div>
1622
1622
 
1623
1623
  <div id="footer">
1624
- Generated on Fri May 31 14:28:29 2024 by
1624
+ Generated on Mon Jun 3 15:20:40 2024 by
1625
1625
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1626
- 0.9.34 (ruby-3.2.2).
1626
+ 0.9.36 (ruby-3.2.2).
1627
1627
  </div>
1628
1628
 
1629
1629
  </div>
data/doc/frames.html CHANGED
@@ -2,13 +2,18 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.34</title>
5
+ <title>Documentation by YARD 0.9.36</title>
6
6
  </head>
7
7
  <script type="text/javascript">
8
- var match = unescape(window.location.hash).match(/^#!(.+)/);
9
- var name = match ? match[1] : 'index.html';
10
- name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
11
- window.top.location = name;
8
+ var mainUrl = 'index.html';
9
+ try {
10
+ var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
11
+ var name = match ? match[1] : mainUrl;
12
+ var url = new URL(name, location.href);
13
+ window.top.location.replace(url.origin === location.origin ? name : mainUrl);
14
+ } catch (e) {
15
+ window.top.location.replace(mainUrl);
16
+ }
12
17
  </script>
13
18
  <noscript>
14
19
  <h1>Oops!</h1>
data/doc/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
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
 
@@ -1621,9 +1621,9 @@ my_button = Compony.button(:index, :users, enabled: -&gt; { |controller| control
1621
1621
  </div></div>
1622
1622
 
1623
1623
  <div id="footer">
1624
- Generated on Fri May 31 14:28:28 2024 by
1624
+ Generated on Mon Jun 3 15:20:39 2024 by
1625
1625
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1626
- 0.9.34 (ruby-3.2.2).
1626
+ 0.9.36 (ruby-3.2.2).
1627
1627
  </div>
1628
1628
 
1629
1629
  </div>