tumblr_wrapper 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,8 +11,8 @@ class TumblrWrapper::Client
11
11
  @access_token = {
12
12
  consumer_key: TumblrWrapper.consumer_key,
13
13
  consumer_secret: TumblrWrapper.consumer_secret,
14
- oauth_token: token.token,
15
- oauth_token_secret: token.secret
14
+ token: token.token,
15
+ token_secret: token.secret
16
16
  }
17
17
  end
18
18
 
@@ -24,8 +24,8 @@ class TumblrWrapper::Client
24
24
  @access_token = {
25
25
  consumer_key: TumblrWrapper.consumer_key,
26
26
  consumer_secret: TumblrWrapper.consumer_secret,
27
- oauth_token: token,
28
- oauth_token_secret: secret }
27
+ token: token,
28
+ token_secret: secret }
29
29
  end
30
30
 
31
31
  def consumer
@@ -1,3 +1,3 @@
1
1
  module TumblrWrapper
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
data/spec/client_spec.rb CHANGED
@@ -24,8 +24,8 @@ describe TumblrWrapper::Client do
24
24
 
25
25
  token_hash = client.request_access_token('verifier')
26
26
 
27
- token_hash[:oauth_token].should == 'token'
28
- token_hash[:oauth_token_secret].should == 'secret'
27
+ token_hash[:token].should == 'token'
28
+ token_hash[:token_secret].should == 'secret'
29
29
  token_hash[:consumer_key].should == 'consumer key'
30
30
  token_hash[:consumer_secret].should == 'consumer secret'
31
31
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - rheaton