Closed chiran closed 12 years ago
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?
Hi, I will take a look into this. Thanks.
So, the oauth2 library changed between versions 0.4.x and 0.5.x to break this. The updated version 0.7.0 will sort this.
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?