weibo_oauth2 0.0.3 → 0.0.5

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.
Files changed (2) hide show
  1. data/lib/sae_client2.rb +5 -1
  2. metadata +4 -4
@@ -30,7 +30,11 @@ class SaeClient2
30
30
  self.oauth.get("https://api.weibo.com/2/users/show.json", {:uid => @weibo_uid})
31
31
  end
32
32
 
33
- def tags(id)
33
+ def tags
34
34
  self.oauth.get("https://api.weibo.com/2/tags.json", {:uid => @weibo_uid})
35
35
  end
36
+
37
+ def user_timeline
38
+ self.oauth.get("https://api.weibo.com/2/statuses/user_timeline.json", {:uid => @weibo_uid})
39
+ end
36
40
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weibo_oauth2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Li Guang
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-28 00:00:00 Z
18
+ date: 2011-11-29 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: !binary |