TORONTO - Ryan Hanigan homered and Nathan Karns scattered two hits over seven innings to win his Tampa Bay debut Friday as the Rays edged the Toronto Blue Jays 1-0.

It was also the first major league win for Karns (1-0), summoned earlier in the day from triple-A Durham. The 26-year-old right-hander, who made his three previous big league appearances last year with Washington, struck out eight while walking two.

The Jays wasted a fine performance by left-hander J.A. Happ (9-10), who struck out seven and walked one while giving up just two hits in seven innings.

Jake McGee pitched the eighth for the Rays (71-77) before Australian Grant Balfour came on in the ninth for his 12th save.

Toronto (76-70) came into the game having won four straight and nine of its last 11. Jays pitchers had posted an earned-run average of 2.36 during those 11 games, nosing the team back up the wild-card standings.

Jays bats were hot in a three-game sweep of the Chicago Cubs at the start of the week that saw the National League visitors outscored 28-3. But they were quiet against Tampa as both teams managed just two hits on the night.

The Rays had lost two straight and three of their last six. Tampa blew leads of 4-0, 4-0 and 3-0 in those losses

The Jays let Karns off the hook in the first inning before 19,909 under the roof at the Rogers Centre, failing to take advantage of men on first and second with no outs. Karns settled down and did not give up a hit — a Danny Valencia double — until the fourth inning. Adam Lind, with a single in the sixth, was the only other Jay to get a hit off the right-hander.

Happ came into the game with a 1-3 record in his last eight starts. But he threw strikes for 10 of his first 11 pitches and struck out the side while walking one in the first.

Karns had a rougher opening, walking two and hitting a batsman. But he was rescued by a double play in a first inning that saw him throw 25 pitches with only 10 strikes.

Happ retired six of the first seven batters he faced before yielding a solo homer to Hanigan to left field to lead off the third. It was the fifth of the season for the Rays catcher.

Happ retired 14 of the next 15 next batters he faced until a Jose Reyes error put a man on base.

Aaron Sanchez came on for the Jays in the eighth.

NOTES: The contest was the first of 17 in 17 days as the Jays wrap up the regular season. Toronto has road series against the Orioles and Yankees before returning home to face Seattle in Baltimore and Baltimore ... R.A. Dickey starts Saturday for the Jays with veteran Mark Buehrle going Sunday. Rookie Marcus Stroman was pushed back to Monday in Baltimore to get an extra day's rest.