2.8.2
Full credit for @grahamsawers - thank you for the contribution.
PR escapes the scopes param in the authorisation url.
The scopes are provided as a space-seperated list and added to the url without escaping the spaces. As a result the #authorization_url method on the XeroRuby::ApiClient does not return a valid url. I used CGI to escape the param as URI.escape has been deprecated.
Also fixed the require in a couple of specs where it was using a relative path as this was stopping the specs from running.