zeke/github-url-to-object — pull request #6 by raulb (2014-12-05 22:30:34+00:00)
Title: Resolve branch names with a dot included

For: https://github.com/raulb/node-js-sample/tree/2.1

**Before:**

![](http://cl.ly/image/0D091B03353E/content)

**Now:**

```
{
"user": "raulb",
"repo": "node-js-sample",
"branch": "2.1",
"tarball_url": "https://api.github.com/repos/raulb/node-js-sample/tarball/2.1",
"https_url": "https://github.com/raulb/node-js-sample/tree/2.1",
"travis_url": "https://travis-ci.org/raulb/node-js-sample?branch=2.1",
"api_url": "https://api.github.com/repos/raulb/node-js-sample"
}
```