Commit cc82601
Update UPGRADING notes regarding
* Update UPGRADING notes regarding `return` usage and simplify block calling in endpoint.
* Update spec/grape/endpoint_spec.rb
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
* Update spec/grape/endpoint_spec.rb
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
---------
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>return usage and simplify endpoint execution (#2621)1 parent a28218b commit cc82601
File tree
4 files changed
+34
-24
lines changed- lib/grape
- spec/grape
4 files changed
+34
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 77 | + | |
92 | 78 | | |
93 | 79 | | |
94 | 80 | | |
| |||
255 | 241 | | |
256 | 242 | | |
257 | 243 | | |
258 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
259 | 252 | | |
260 | 253 | | |
261 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
775 | | - | |
776 | | - | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
777 | 785 | | |
| 786 | + | |
778 | 787 | | |
779 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
780 | 793 | | |
781 | | - | |
782 | | - | |
783 | | - | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
784 | 800 | | |
785 | 801 | | |
786 | 802 | | |
| |||
0 commit comments