Skip to content

2.8.2

Compare
Choose a tag to compare
@SerKnight SerKnight released this 02 Apr 19:27
· 245 commits to master since this release

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.