twitterstream 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twitterstream.rb +2 -2
- metadata +2 -2
data/lib/twitterstream.rb
CHANGED
@@ -19,7 +19,7 @@ module Net
|
|
19
19
|
end
|
20
20
|
|
21
21
|
module TwitterStream
|
22
|
-
VERSION = '0.0.
|
22
|
+
VERSION = '0.0.4'
|
23
23
|
|
24
24
|
class Client
|
25
25
|
def initialize(username, password)
|
@@ -67,7 +67,7 @@ module TwitterStream
|
|
67
67
|
|
68
68
|
def follow(follow, params=nil)
|
69
69
|
uri = URI.parse("http://stream.twitter.com/1/statuses/filter.json")
|
70
|
-
p = {'
|
70
|
+
p = {'follow'=>follow}
|
71
71
|
p.merge!(params) if params
|
72
72
|
start_stream(uri, p) do |status|
|
73
73
|
yield status
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitterstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yayugu
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-01 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|