aetrion/dnsimple-ruby — pull request #19 by benjaminkeeping (2012-06-26 12:26:37+00:00)
Title: fixed bug on base_uri setter in DNSimple::Client

Hi,

In client.rb, there is a bug on the base_uri setter.
The cli blows up because it tries to deference the base_uri, which is nil.
Its a simple change.
From :
base_uri += '/' if base_uri[/\/$/].nil?

To:
base_uri += '/' if base_uri && base_uri[/\/$/].nil?

Cheers,
Ben