twitter_oauth 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twitter_oauth/favorites.rb +2 -2
- metadata +5 -2
@@ -8,13 +8,13 @@ module TwitterOAuth
|
|
8
8
|
|
9
9
|
# Favorites the status specified in the ID parameter as the authenticating user.
|
10
10
|
# Returns the favorite status when successful.
|
11
|
-
def favorite
|
11
|
+
def favorite(id)
|
12
12
|
post("/favorites/create/#{id}.json")
|
13
13
|
end
|
14
14
|
|
15
15
|
# Un-favorites the status specified in the ID parameter as the authenticating user.
|
16
16
|
# Returns the un-favorited status when successful.
|
17
|
-
def unfavorite
|
17
|
+
def unfavorite(id)
|
18
18
|
post("/favorites/destroy/#{id}.json")
|
19
19
|
end
|
20
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Taylor
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-04-
|
12
|
+
date: 2010-04-30 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -31,6 +31,9 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.1.9
|
34
|
+
- - <=
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.2.4
|
34
37
|
version:
|
35
38
|
- !ruby/object:Gem::Dependency
|
36
39
|
name: mime-types
|