Oil capped the longest stretch of weekly gains since February 2014 as Iran disputed the framework for a nuclear deal with world powers that would allow the OPEC member to boost crude exports. Futures extended their advance on Friday as the U.S. oil rig count dropped to its lowest since December 2010, paving the way for slower production in the coming months.