Failed to post file info
A few days ago I've noticed that this gem isn't able to upload file to GitHub anymore. When I try to upload a file I get an errore message: Failed to post file info.
Maybe this is related to the latest OAuth enhancements by GitHub, as stated in a blog post.
I had a stab at debugging this and it seems that the script parses the webpage instead of using the API here: http://developer.github.com/v3/repos/downloads/
Maybe there was a change in the UI lately, the XML parser complains about a misplaced div tag.
Are you (the maintainers) looking into rewriting net/githup-upload for the new API or should we just try quick-fixing the HTML issues?
net/github-upload has the potential to become an integral part for FOSS-projects to offer alternate download locations for their files so I'd like to have this fixed in a timely manner (currently stalls me with bringing http://proftpd.github.com/ to life)
@terrorobe I've implemented a quick fix in emberjs/ember.js#659. This fix directly hits the GitHub API via rest-client and curl. So it's far away from elegant. But I'm not a Ruby dev (yet) so I'm afraid I can't fix this in ruby-net-github-upload.