Man with ‘appalling record’ jailed for breaching domestic violence protection order in Ripon