Rose Namajunas ended a two-bout losing streak, topping Amanda Ribas by unanimous decision to claim her first win in the flyweight division Saturday night in the UFC main event.