octokit/octokit.rb — pull request #521 by aaduffy (2014-10-16 22:30:10+00:00)
Title: changed handling of results from netrc [] operator

The new return type from the [] operator is Netrc::Entry, defined as:

```
Entry = Struct.new(:login, :password) do
alias to_ary to_a
end
```

This commit replaces the calls to ```.shift``` on the result with calls to ```.login``` and ```.password```.