San Francisco Giants held to four hits in seven innings by Hyun-Jin Ryu