The left-hander yielded one run, struck out seven and walked three as the Orioles climbed back into a first-place tie with Tampa Bay in the American League East.
Pedro Strop recorded the final two outs of the eighth inning and Jim Johnson remained perfect in save opportunities, notching his 17th, in ending the Orioles' skid.
Endy Chavez knocked a solo homer for Baltimore.
Rays starter Jeremy Hellickson (4-2) absorbed the hard-luck loss, allowing only one earned run on four hits over 6 2/3 frames while striking out eight.
2014: The Year in Music [PHOTOS]