A ruling by a California federal judge dealt a substantial blow to a lawsuit brought by a former competitor of...