motdotla / digitalocean

The easiest and most complete rubygem for DigitalOcean.
http://rubygems.org/gems/digitalocean
MIT License
153 stars 42 forks source link

Add rebuild (properly this time) #23

Closed snyff closed 10 years ago

arthurnn commented 10 years ago

I think we also need to add a test for this. thanks for the PR so far.

motdotla commented 10 years ago

Yep, @snyff please add a test. It's not too hard to do. Once you add that test/spec, I can merge in.

snyff commented 10 years ago

I added the rspec (can't test it at the moment unfortunately).

Also most URLs should contain "v1", at the moment, only rebuild does .

motdotla commented 10 years ago

Can you push up your spec. I'm not seeing it in this pr yet.

arthurnn commented 10 years ago

thanks for the pr, merged via https://github.com/scottmotte/digitalocean/commit/eb9caa642151c487a062ae45f4962d60963a2181

arthurnn commented 10 years ago

Make sure, next time, to include the code+spec in the same PR. thanks again.