Ring Diagram Analysis of Near-Surface Flows in the Sun