jsonapi_compliable 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/docs/Jsonapi.html +1 -1
- data/docs/Jsonapi/ResourceGenerator.html +32 -22
- data/docs/JsonapiCompliable.html +174 -19
- data/docs/JsonapiCompliable/Adapters.html +1 -1
- data/docs/JsonapiCompliable/Adapters/Abstract.html +1 -1
- data/docs/JsonapiCompliable/Adapters/ActiveRecord.html +41 -31
- data/docs/JsonapiCompliable/Adapters/ActiveRecordSideloading.html +47 -39
- data/docs/JsonapiCompliable/Adapters/Null.html +1 -1
- data/docs/JsonapiCompliable/Base.html +70 -14
- data/docs/JsonapiCompliable/Configuration.html +308 -0
- data/docs/JsonapiCompliable/Deserializer.html +1 -1
- data/docs/JsonapiCompliable/Errors.html +2 -2
- data/docs/JsonapiCompliable/Errors/BadFilter.html +1 -1
- data/docs/JsonapiCompliable/Errors/InvalidInclude.html +266 -0
- data/docs/JsonapiCompliable/Errors/RecordNotFound.html +124 -0
- data/docs/JsonapiCompliable/Errors/StatNotFound.html +10 -10
- data/docs/JsonapiCompliable/Errors/UnsupportedPageSize.html +1 -1
- data/docs/JsonapiCompliable/Errors/ValidationError.html +1 -1
- data/docs/JsonapiCompliable/Extensions.html +1 -1
- data/docs/JsonapiCompliable/Extensions/BooleanAttribute.html +1 -1
- data/docs/JsonapiCompliable/Extensions/BooleanAttribute/ClassMethods.html +1 -1
- data/docs/JsonapiCompliable/Extensions/ExtraAttribute.html +1 -1
- data/docs/JsonapiCompliable/Extensions/ExtraAttribute/ClassMethods.html +1 -1
- data/docs/JsonapiCompliable/Query.html +1 -1
- data/docs/JsonapiCompliable/Rails.html +1 -1
- data/docs/JsonapiCompliable/Resource.html +3 -3
- data/docs/JsonapiCompliable/Scope.html +171 -17
- data/docs/JsonapiCompliable/Scoping.html +1 -1
- data/docs/JsonapiCompliable/Scoping/Base.html +1 -1
- data/docs/JsonapiCompliable/Scoping/DefaultFilter.html +2 -2
- data/docs/JsonapiCompliable/Scoping/ExtraFields.html +2 -2
- data/docs/JsonapiCompliable/Scoping/Filter.html +1 -1
- data/docs/JsonapiCompliable/Scoping/Filterable.html +1 -1
- data/docs/JsonapiCompliable/Scoping/Paginate.html +2 -2
- data/docs/JsonapiCompliable/Scoping/Sort.html +5 -3
- data/docs/JsonapiCompliable/SerializableTempId.html +1 -1
- data/docs/JsonapiCompliable/Sideload.html +1 -1
- data/docs/JsonapiCompliable/Stats.html +1 -1
- data/docs/JsonapiCompliable/Stats/DSL.html +1 -1
- data/docs/JsonapiCompliable/Stats/Payload.html +1 -1
- data/docs/JsonapiCompliable/Util.html +1 -1
- data/docs/JsonapiCompliable/Util/FieldParams.html +1 -1
- data/docs/JsonapiCompliable/Util/Hash.html +1 -1
- data/docs/JsonapiCompliable/Util/IncludeParams.html +1 -1
- data/docs/JsonapiCompliable/Util/Persistence.html +1 -1
- data/docs/JsonapiCompliable/Util/RelationshipPayload.html +1 -1
- data/docs/JsonapiCompliable/Util/RenderOptions.html +16 -2
- data/docs/JsonapiCompliable/Util/Sideload.html +1 -1
- data/docs/JsonapiCompliable/Util/ValidationResponse.html +1 -1
- data/docs/_index.html +28 -7
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +41 -1
- data/docs/index.html +41 -1
- data/docs/method_list.html +281 -209
- data/docs/top-level-namespace.html +1 -1
- data/lib/jsonapi_compliable/scope.rb +2 -0
- data/lib/jsonapi_compliable/version.rb +1 -1
- metadata +5 -2
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
</div>
|
|
255
255
|
|
|
256
256
|
<div id="footer">
|
|
257
|
-
Generated on
|
|
257
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
258
258
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
259
259
|
0.9.9 (ruby-2.3.0).
|
|
260
260
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.9 (ruby-2.3.0).
|
|
120
120
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.9.9 (ruby-2.3.0).
|
|
113
113
|
</div>
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
</div>
|
|
203
203
|
|
|
204
204
|
<div id="footer">
|
|
205
|
-
Generated on
|
|
205
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
206
206
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
207
207
|
0.9.9 (ruby-2.3.0).
|
|
208
208
|
</div>
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
</div>
|
|
220
220
|
|
|
221
221
|
<div id="footer">
|
|
222
|
-
Generated on
|
|
222
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
223
223
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
224
224
|
0.9.9 (ruby-2.3.0).
|
|
225
225
|
</div>
|
|
@@ -232,7 +232,7 @@ extra attribute. See (Resource.extra_field).</p>
|
|
|
232
232
|
</div>
|
|
233
233
|
|
|
234
234
|
<div id="footer">
|
|
235
|
-
Generated on
|
|
235
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
236
236
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
237
237
|
0.9.9 (ruby-2.3.0).
|
|
238
238
|
</div>
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
</div>
|
|
228
228
|
|
|
229
229
|
<div id="footer">
|
|
230
|
-
Generated on
|
|
230
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
231
231
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
232
232
|
0.9.9 (ruby-2.3.0).
|
|
233
233
|
</div>
|
|
@@ -1097,7 +1097,7 @@ get, say, the total count without the overhead of fetching actual records.</p>
|
|
|
1097
1097
|
</div>
|
|
1098
1098
|
|
|
1099
1099
|
<div id="footer">
|
|
1100
|
-
Generated on
|
|
1100
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
1101
1101
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1102
1102
|
0.9.9 (ruby-2.3.0).
|
|
1103
1103
|
</div>
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
</div>
|
|
202
202
|
|
|
203
203
|
<div id="footer">
|
|
204
|
-
Generated on
|
|
204
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
205
205
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
206
206
|
0.9.9 (ruby-2.3.0).
|
|
207
207
|
</div>
|
|
@@ -3932,7 +3932,7 @@ instance.</p>
|
|
|
3932
3932
|
|
|
3933
3933
|
—
|
|
3934
3934
|
<div class='inline'>
|
|
3935
|
-
<p>an instance of the just-
|
|
3935
|
+
<p>an instance of the just-destroyed model</p>
|
|
3936
3936
|
</div>
|
|
3937
3937
|
|
|
3938
3938
|
</li>
|
|
@@ -4937,7 +4937,7 @@ instance.</p>
|
|
|
4937
4937
|
|
|
4938
4938
|
—
|
|
4939
4939
|
<div class='inline'>
|
|
4940
|
-
<p>an instance of the just-
|
|
4940
|
+
<p>an instance of the just-updated model</p>
|
|
4941
4941
|
</div>
|
|
4942
4942
|
|
|
4943
4943
|
</li>
|
|
@@ -5091,7 +5091,7 @@ Rails controller context</p>
|
|
|
5091
5091
|
</div>
|
|
5092
5092
|
|
|
5093
5093
|
<div id="footer">
|
|
5094
|
-
Generated on
|
|
5094
|
+
Generated on Thu May 3 15:52:18 2018 by
|
|
5095
5095
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
5096
5096
|
0.9.9 (ruby-2.3.0).
|
|
5097
5097
|
</div>
|
|
@@ -136,6 +136,69 @@ scope.</p>
|
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
140
|
+
<ul class="summary">
|
|
141
|
+
|
|
142
|
+
<li class="public ">
|
|
143
|
+
<span class="summary_signature">
|
|
144
|
+
|
|
145
|
+
<a href="#object-instance_method" title="#object (instance method)">#<strong>object</strong> ⇒ Object </a>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
</span>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<span class="note title readonly">readonly</span>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
<span class="summary_desc"><div class='inline'>
|
|
165
|
+
<p>Returns the value of attribute object.</p>
|
|
166
|
+
</div></span>
|
|
167
|
+
|
|
168
|
+
</li>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<li class="public ">
|
|
172
|
+
<span class="summary_signature">
|
|
173
|
+
|
|
174
|
+
<a href="#unpaginated_object-instance_method" title="#unpaginated_object (instance method)">#<strong>unpaginated_object</strong> ⇒ Object </a>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</span>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<span class="note title readonly">readonly</span>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<span class="summary_desc"><div class='inline'>
|
|
194
|
+
<p>Returns the value of attribute unpaginated_object.</p>
|
|
195
|
+
</div></span>
|
|
196
|
+
|
|
197
|
+
</li>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</ul>
|
|
201
|
+
|
|
139
202
|
|
|
140
203
|
|
|
141
204
|
|
|
@@ -443,8 +506,6 @@ scope.</p>
|
|
|
443
506
|
<pre class="lines">
|
|
444
507
|
|
|
445
508
|
|
|
446
|
-
27
|
|
447
|
-
28
|
|
448
509
|
29
|
|
449
510
|
30
|
|
450
511
|
31
|
|
@@ -455,10 +516,12 @@ scope.</p>
|
|
|
455
516
|
36
|
|
456
517
|
37
|
|
457
518
|
38
|
|
458
|
-
39
|
|
519
|
+
39
|
|
520
|
+
40
|
|
521
|
+
41</pre>
|
|
459
522
|
</td>
|
|
460
523
|
<td>
|
|
461
|
-
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line
|
|
524
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 29</span>
|
|
462
525
|
|
|
463
526
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_object'>object</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='comma'>,</span> <span class='id identifier rubyid_query'>query</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
464
527
|
<span class='ivar'>@object</span> <span class='op'>=</span> <span class='id identifier rubyid_object'>object</span>
|
|
@@ -480,6 +543,97 @@ scope.</p>
|
|
|
480
543
|
|
|
481
544
|
</div>
|
|
482
545
|
|
|
546
|
+
<div id="instance_attr_details" class="attr_details">
|
|
547
|
+
<h2>Instance Attribute Details</h2>
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
<span id=""></span>
|
|
551
|
+
<div class="method_details first">
|
|
552
|
+
<h3 class="signature first" id="object-instance_method">
|
|
553
|
+
|
|
554
|
+
#<strong>object</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
</h3><div class="docstring">
|
|
561
|
+
<div class="discussion">
|
|
562
|
+
|
|
563
|
+
<p>Returns the value of attribute object</p>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
568
|
+
<div class="tags">
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
</div><table class="source_code">
|
|
572
|
+
<tr>
|
|
573
|
+
<td>
|
|
574
|
+
<pre class="lines">
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
17
|
|
578
|
+
18
|
|
579
|
+
19</pre>
|
|
580
|
+
</td>
|
|
581
|
+
<td>
|
|
582
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 17</span>
|
|
583
|
+
|
|
584
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_object'>object</span>
|
|
585
|
+
<span class='ivar'>@object</span>
|
|
586
|
+
<span class='kw'>end</span></pre>
|
|
587
|
+
</td>
|
|
588
|
+
</tr>
|
|
589
|
+
</table>
|
|
590
|
+
</div>
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
<span id=""></span>
|
|
594
|
+
<div class="method_details ">
|
|
595
|
+
<h3 class="signature " id="unpaginated_object-instance_method">
|
|
596
|
+
|
|
597
|
+
#<strong>unpaginated_object</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</h3><div class="docstring">
|
|
604
|
+
<div class="discussion">
|
|
605
|
+
|
|
606
|
+
<p>Returns the value of attribute unpaginated_object</p>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
|
+
<div class="tags">
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
</div><table class="source_code">
|
|
615
|
+
<tr>
|
|
616
|
+
<td>
|
|
617
|
+
<pre class="lines">
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
17
|
|
621
|
+
18
|
|
622
|
+
19</pre>
|
|
623
|
+
</td>
|
|
624
|
+
<td>
|
|
625
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 17</span>
|
|
626
|
+
|
|
627
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_unpaginated_object'>unpaginated_object</span>
|
|
628
|
+
<span class='ivar'>@unpaginated_object</span>
|
|
629
|
+
<span class='kw'>end</span></pre>
|
|
630
|
+
</td>
|
|
631
|
+
</tr>
|
|
632
|
+
</table>
|
|
633
|
+
</div>
|
|
634
|
+
|
|
635
|
+
</div>
|
|
636
|
+
|
|
483
637
|
|
|
484
638
|
<div id="instance_method_details" class="method_details_list">
|
|
485
639
|
<h2>Instance Method Details</h2>
|
|
@@ -522,12 +676,12 @@ scope.</p>
|
|
|
522
676
|
<pre class="lines">
|
|
523
677
|
|
|
524
678
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
679
|
+
75
|
|
680
|
+
76
|
|
681
|
+
77</pre>
|
|
528
682
|
</td>
|
|
529
683
|
<td>
|
|
530
|
-
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line
|
|
684
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 75</span>
|
|
531
685
|
|
|
532
686
|
<span class='kw'>def</span> <span class='id identifier rubyid_query_hash'>query_hash</span>
|
|
533
687
|
<span class='ivar'>@query_hash</span> <span class='op'>||=</span> <span class='ivar'>@query</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='lbracket'>[</span><span class='ivar'>@namespace</span><span class='rbracket'>]</span>
|
|
@@ -595,18 +749,18 @@ sideload</p>
|
|
|
595
749
|
<pre class="lines">
|
|
596
750
|
|
|
597
751
|
|
|
598
|
-
60
|
|
599
|
-
61
|
|
600
752
|
62
|
|
601
753
|
63
|
|
602
754
|
64
|
|
603
755
|
65
|
|
604
756
|
66
|
|
605
757
|
67
|
|
606
|
-
68
|
|
758
|
+
68
|
|
759
|
+
69
|
|
760
|
+
70</pre>
|
|
607
761
|
</td>
|
|
608
762
|
<td>
|
|
609
|
-
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line
|
|
763
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 62</span>
|
|
610
764
|
|
|
611
765
|
<span class='kw'>def</span> <span class='id identifier rubyid_resolve'>resolve</span>
|
|
612
766
|
<span class='kw'>if</span> <span class='ivar'>@query</span><span class='period'>.</span><span class='id identifier rubyid_zero_results?'>zero_results?</span>
|
|
@@ -673,12 +827,12 @@ sideload</p>
|
|
|
673
827
|
<pre class="lines">
|
|
674
828
|
|
|
675
829
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
830
|
+
49
|
|
831
|
+
50
|
|
832
|
+
51</pre>
|
|
679
833
|
</td>
|
|
680
834
|
<td>
|
|
681
|
-
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line
|
|
835
|
+
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/scope.rb', line 49</span>
|
|
682
836
|
|
|
683
837
|
<span class='kw'>def</span> <span class='id identifier rubyid_resolve_stats'>resolve_stats</span>
|
|
684
838
|
<span class='const'><span class='object_link'><a href="Stats.html" title="JsonapiCompliable::Stats (module)">Stats</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Stats/Payload.html" title="JsonapiCompliable::Stats::Payload (class)">Payload</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Stats/Payload.html#initialize-instance_method" title="JsonapiCompliable::Stats::Payload#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='ivar'>@resource</span><span class='comma'>,</span> <span class='id identifier rubyid_query_hash'>query_hash</span><span class='comma'>,</span> <span class='ivar'>@unpaginated_object</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_generate'><span class='object_link'><a href="Stats/Payload.html#generate-instance_method" title="JsonapiCompliable::Stats::Payload#generate (method)">generate</a></span></span>
|
|
@@ -693,7 +847,7 @@ sideload</p>
|
|
|
693
847
|
</div>
|
|
694
848
|
|
|
695
849
|
<div id="footer">
|
|
696
|
-
Generated on
|
|
850
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
697
851
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
698
852
|
0.9.9 (ruby-2.3.0).
|
|
699
853
|
</div>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.9.9 (ruby-2.3.0).
|
|
113
113
|
</div>
|
|
@@ -833,7 +833,7 @@ a default in certain contexts.</p>
|
|
|
833
833
|
</div>
|
|
834
834
|
|
|
835
835
|
<div id="footer">
|
|
836
|
-
Generated on
|
|
836
|
+
Generated on Thu May 3 15:52:18 2018 by
|
|
837
837
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
838
838
|
0.9.9 (ruby-2.3.0).
|
|
839
839
|
</div>
|
|
@@ -293,7 +293,7 @@ filter, and apply the default proc unless an explicit override is requested</p>
|
|
|
293
293
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply'>apply</span>
|
|
294
294
|
<span class='id identifier rubyid_resource'>resource</span><span class='period'>.</span><span class='id identifier rubyid_default_filters'>default_filters</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>|</span>
|
|
295
295
|
<span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_overridden?'>overridden?</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
296
|
-
<span class='ivar'>@scope</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:filter</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@scope</span><span class='rparen'>)</span>
|
|
296
|
+
<span class='ivar'>@scope</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:filter</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@scope</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='period'>.</span><span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span>
|
|
297
297
|
<span class='kw'>end</span>
|
|
298
298
|
|
|
299
299
|
<span class='ivar'>@scope</span>
|
|
@@ -308,7 +308,7 @@ filter, and apply the default proc unless an explicit override is requested</p>
|
|
|
308
308
|
</div>
|
|
309
309
|
|
|
310
310
|
<div id="footer">
|
|
311
|
-
Generated on
|
|
311
|
+
Generated on Thu May 3 15:52:19 2018 by
|
|
312
312
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
313
313
|
0.9.9 (ruby-2.3.0).
|
|
314
314
|
</div>
|
|
@@ -276,7 +276,7 @@ for that field, run it. Otherwise, do nothing.</p>
|
|
|
276
276
|
|
|
277
277
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply'>apply</span>
|
|
278
278
|
<span class='id identifier rubyid_each_extra_field'>each_extra_field</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_callable'>callable</span><span class='op'>|</span>
|
|
279
|
-
<span class='ivar'>@scope</span> <span class='op'>=</span> <span class='id identifier rubyid_callable'>callable</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@scope</span><span class='rparen'>)</span>
|
|
279
|
+
<span class='ivar'>@scope</span> <span class='op'>=</span> <span class='id identifier rubyid_callable'>callable</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@scope</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='period'>.</span><span class='id identifier rubyid_context'>context</span><span class='rparen'>)</span>
|
|
280
280
|
<span class='kw'>end</span>
|
|
281
281
|
|
|
282
282
|
<span class='ivar'>@scope</span>
|
|
@@ -291,7 +291,7 @@ for that field, run it. Otherwise, do nothing.</p>
|
|
|
291
291
|
</div>
|
|
292
292
|
|
|
293
293
|
<div id="footer">
|
|
294
|
-
Generated on
|
|
294
|
+
Generated on Thu May 3 15:52:19 2018 by
|
|
295
295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
296
296
|
0.9.9 (ruby-2.3.0).
|
|
297
297
|
</div>
|
|
@@ -303,7 +303,7 @@ aliases. If valid, call either the default or custom filtering logic.</p>
|
|
|
303
303
|
</div>
|
|
304
304
|
|
|
305
305
|
<div id="footer">
|
|
306
|
-
Generated on
|
|
306
|
+
Generated on Thu May 3 15:52:19 2018 by
|
|
307
307
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
308
308
|
0.9.9 (ruby-2.3.0).
|
|
309
309
|
</div>
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
</div>
|
|
355
355
|
|
|
356
356
|
<div id="footer">
|
|
357
|
-
Generated on
|
|
357
|
+
Generated on Thu May 3 15:52:17 2018 by
|
|
358
358
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
359
359
|
0.9.9 (ruby-2.3.0).
|
|
360
360
|
</div>
|