A federal judge ruled that Ripple must disclose its financial records and details of XRP sales in the SEC's lawsuit over an unregistered securities offering.