techtalk / JiraRestClient

A simple client for Atlassian JIRA service REST API
Other
65 stars 80 forks source link

Allow to work with newer RestSharp versions #10

Closed ermshiperete closed 9 years ago

ermshiperete commented 9 years ago

RestSharp 105.0 changed the BaseUrl from being a string to an Uri. This breaks the current implementation of the JiraClient. Fortunately enough they kept the c'tor that takes a string, so this change makes use of that. This allows JiraRestClient to be used with both RestSharp 104.x and 105.x versions.

This fixes #9.

Please create a new nuget package after merging this fix.