philnash/bitly — Issue #18: OAuth2 library is too old
Author: chiran
Created: 2011-12-13 19:08:26+00:00
State: open

Bitly client is using oauth >= 0.1.1, but the latest OAuth2 (0.5.1) has moved off pretty far.

For example, line 30 of lib/bitly/v3/oauth.rb

@access_token ||= ::OAuth2::AccessToken.new(client, token, nil, nil, params)

is not compatible with new OAuth2 AccessToken constructor

def initialize(client, token, opts={})

We are depending on oauth2 via two different routes and Bitly client's version is too old to be usable. Can you look into this?