weibo_17up 0.4.6 → 0.4.7

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 956f4993cc5f5d2996480e08b8a84c622f551658
4
+ data.tar.gz: 83db59bf5198d2122a9dd9775e7f6fe3e315e290
5
+ SHA512:
6
+ metadata.gz: 70019ee3158a2a8769d36d30e614f09e3a21eebc1fa03b7ff3e45db2ff42d7714cc9f83478caf6eb3f2405838c2ecfbf11649f887b96d1644464669b4a000c36
7
+ data.tar.gz: 74d27c124c41fb85bcc21deadaa445400e8f4118c803fb2485d8460348269b3aa4fa18e9df5b965e7a03d859fc2020c37aadb8423e45116623ec0edc619cec83
data/.DS_Store ADDED
Binary file
data/lib/weibo/client.rb CHANGED
@@ -91,6 +91,15 @@ module Weibo
91
91
  self.oauth.get "users/show", default_params.merge(options)
92
92
  end
93
93
 
94
+ ################# 评论接口
95
+ def comments_by_me(options = {})
96
+ self.oauth.get "comments/by_me", options
97
+ end
98
+
99
+ ################# 收藏
100
+ def favorites(options = {})
101
+ self.oauth.get "favorites", options
102
+ end
94
103
 
95
104
  ################# 标签
96
105
 
data/lib/weibo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Weibo
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
metadata CHANGED
@@ -1,27 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weibo_17up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
5
- prerelease:
4
+ version: 0.4.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - veggie
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-05 00:00:00.000000000 Z
11
+ date: 2013-06-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
- requirement: &70226629015920 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *70226629015920
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  description: 新浪微博oauth2
26
28
  email:
27
29
  - kkxlkkxllb@gmail.com
@@ -29,6 +31,7 @@ executables: []
29
31
  extensions: []
30
32
  extra_rdoc_files: []
31
33
  files:
34
+ - .DS_Store
32
35
  - Gemfile
33
36
  - LICENSE
34
37
  - README.md
@@ -42,26 +45,25 @@ files:
42
45
  - weibo.gemspec
43
46
  homepage: https://github.com/kkxlkkxllb/weibo_17up
44
47
  licenses: []
48
+ metadata: {}
45
49
  post_install_message:
46
50
  rdoc_options: []
47
51
  require_paths:
48
52
  - lib
49
53
  required_ruby_version: !ruby/object:Gem::Requirement
50
- none: false
51
54
  requirements:
52
- - - ! '>='
55
+ - - '>='
53
56
  - !ruby/object:Gem::Version
54
57
  version: '0'
55
58
  required_rubygems_version: !ruby/object:Gem::Requirement
56
- none: false
57
59
  requirements:
58
- - - ! '>='
60
+ - - '>='
59
61
  - !ruby/object:Gem::Version
60
62
  version: '0'
61
63
  requirements: []
62
64
  rubyforge_project:
63
- rubygems_version: 1.8.15
65
+ rubygems_version: 2.0.0
64
66
  signing_key:
65
- specification_version: 3
67
+ specification_version: 4
66
68
  summary: 新浪微博oauth2
67
69
  test_files: []