jugyo-twitter_oauth 0.5.0.pre3 → 0.5.0.pre4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 605db179a51454f8981ba851c45584ac036ef275
4
- data.tar.gz: 2734b980d409216401c0ab1ddefa824207a9bc15
3
+ metadata.gz: 0935986e5a47b607c41d0e1ba53ee068d209c83b
4
+ data.tar.gz: 5c057a076f3ad3e6018719724d63a59da7143a59
5
5
  SHA512:
6
- metadata.gz: 42ad543adf24dad2d61f52f9a92b7e8636a9feef7ad7d74b66eb9c17ce1d7dc8ef491f3f77ca02d1e2b30b4963a1f9e94b0cfe6a63a41ff17f8d9b18ee6b4f9c
7
- data.tar.gz: c06c6ca1ba2f94ad57fac18f5a24ab76c865e715c505c0929f0e30c2f75be60a1d2491cba913e00673a87ef230378975c669ba7e49c9a3a1af4a3453e0f4db62
6
+ metadata.gz: eb0ea34bd1c4213afeec4a22723782e4e8c1dfb390435984bb7d1bb453a628d0662b570d19addb52904e1cfe0fca6048dd21ffb8acdb353e11513c5309f2848e
7
+ data.tar.gz: aa9879f07445c12d5a7f1462fd4b247736efd7d144ea4c6e26ee70b67f0d156237e4c4c92dd1e42b0cd6b3c53666310e8ad4677c66c8c4f8ef4f7edf2078dbbf
@@ -33,7 +33,7 @@ module TwitterOAuth
33
33
 
34
34
  # Show tweet timeline for members of the specified list.
35
35
  def list_statuses(user, list)
36
- get("/#{user}/lists/#{list}/statuses.json")
36
+ get("/lists/statuses.json?slug=#{list}&owner_screen_name=#{user}")
37
37
  end
38
38
 
39
39
  # List the lists the specified user has been added to.
@@ -4,11 +4,9 @@ module TwitterOAuth
4
4
  class Client
5
5
 
6
6
  def search(q, options={})
7
- options[:page] ||= 1
8
- options[:rpp] ||= 20
9
- options[:q] = URI.escape(q)
7
+ options[:q] = ERB::Util.url_encode(q)
10
8
  args = options.map{|k,v| "#{k}=#{v}"}.join('&')
11
- search_get("/search.json?#{args}")
9
+ get("/search/tweets.json?#{args}")
12
10
  end
13
11
 
14
12
  # Returns the current top 10 trending topics on Twitter.
@@ -30,7 +30,7 @@ module TwitterOAuth
30
30
  # Returns the 20 most recent @replies (status updates prefixed with @username) for the authenticating user.
31
31
  def mentions(options={})
32
32
  args = options.map{|k,v| "#{k}=#{v}"}.join('&')
33
- get("/statuses/mentions.json?#{args}")
33
+ get("/statuses/mentions_timeline.json?#{args}")
34
34
  end
35
35
  alias :replies :mentions
36
36
 
@@ -1,3 +1,3 @@
1
1
  module TwitterOAuth
2
- VERSION = '0.5.0.pre3'
2
+ VERSION = '0.5.0.pre4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jugyo-twitter_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.pre3
4
+ version: 0.5.0.pre4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor