Additional points based on the additional comments by others:
1) A ridge vent joint is kind of like an unblocked, aligned joint as phamENG mentioned but with two primary differences.
a) a greater than normal gap between the sheathing boundaries.
b) lack of weak axis flexural continuity across the supporting framing.
2) I agree with XR250 about the horizontal shear being at a maximum at mid-depth for the perpendicular case. Really, it's the same at all vertical locations when we use the shear panel assumption.
3) Nobody really expects wind load to be even remotely uniform so I also don't favor the assumption of near zero shear stress at the ridge for the parallel case. At the least, I'd think one would provide 25% of the maximum demand at all locations, similar to what is done with steel joists.