oauth2_china 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ #encoding: utf-8
1
2
  module Oauth2China
2
3
  class Sina < Oauth2China::Base
3
4
  def initialize(access_token)
@@ -126,8 +127,9 @@ module Oauth2China
126
127
  end
127
128
 
128
129
  # 互粉好友ID列表
129
- def mutual_friends_ids(count=1000,options = {})
130
+ def mutual_friends_ids(count=2000,options = {})
130
131
  params = @tmpl.clone.merge(options)
132
+ params.count = count
131
133
  res = @conn.get("/2/friendships/friends/bilateral/ids.json", params).body
132
134
  Hashie::Mash.new(JSON.parse res)
133
135
  end
@@ -1,3 +1,4 @@
1
+ #encoding: utf-8
1
2
  module Oauth2China
2
3
  class Tencent < Oauth2China::Base
3
4
  def initialize(access_token, clientid, openid)
@@ -1,3 +1,3 @@
1
1
  module Oauth2China
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2_china
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-24 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday