twitter-stream 0.1.1 → 0.1.2
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.
- data/VERSION +1 -1
- data/lib/twitter/json_stream.rb +2 -2
- data/twitter-stream.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/lib/twitter/json_stream.rb
CHANGED
|
@@ -76,7 +76,7 @@ module Twitter
|
|
|
76
76
|
|
|
77
77
|
def receive_data data
|
|
78
78
|
begin
|
|
79
|
-
@buffer.extract(data).each do |line|
|
|
79
|
+
@buffer.extract(data).each do |line|
|
|
80
80
|
receive_line(line)
|
|
81
81
|
end
|
|
82
82
|
rescue Exception => e
|
|
@@ -86,7 +86,7 @@ module Twitter
|
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
def
|
|
89
|
+
def connection_completed
|
|
90
90
|
reset_state
|
|
91
91
|
send_request
|
|
92
92
|
end
|
data/twitter-stream.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{twitter-stream}
|
|
5
|
-
s.version = "0.1.
|
|
5
|
+
s.version = "0.1.2"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Vladimir Kolesnikov"]
|
|
9
|
-
s.date = %q{2009-10-
|
|
9
|
+
s.date = %q{2009-10-12}
|
|
10
10
|
s.description = %q{Simple Ruby client library for twitter streaming API. Uses EventMachine for connection handling. Adheres to twitter's reconnection guidline. JSON format only.}
|
|
11
11
|
s.email = %q{voloko@gmail.com}
|
|
12
12
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twitter-stream
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladimir Kolesnikov
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-10-
|
|
12
|
+
date: 2009-10-12 00:00:00 +04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|