update gemfile & gemspec
fix repeated CURL call
Merge pull request #2 from MattRyder/curlfix

Fix multiple Curl calls while posting to API