tweetstream 1.0.4 → 1.0.5
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/Gemfile.lock +56 -0
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/tweetstream/client.rb +2 -1
- metadata +59 -65
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
tweetstream (1.1.0.rc2)
|
|
5
|
+
daemons (~> 1.1.2)
|
|
6
|
+
multi_json (~> 1.0.3)
|
|
7
|
+
twitter-stream (~> 0.1.14)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: http://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
daemons (1.1.4)
|
|
13
|
+
diff-lcs (1.1.2)
|
|
14
|
+
eventmachine (0.12.10)
|
|
15
|
+
guard (0.7.0)
|
|
16
|
+
thor (~> 0.14.6)
|
|
17
|
+
guard-rspec (0.4.5)
|
|
18
|
+
guard (>= 0.4.0)
|
|
19
|
+
http_parser.rb (0.5.2)
|
|
20
|
+
json (1.5.1)
|
|
21
|
+
multi_json (1.0.3)
|
|
22
|
+
rake (0.9.2)
|
|
23
|
+
rdiscount (1.6.8)
|
|
24
|
+
rspec (2.6.0)
|
|
25
|
+
rspec-core (~> 2.6.0)
|
|
26
|
+
rspec-expectations (~> 2.6.0)
|
|
27
|
+
rspec-mocks (~> 2.6.0)
|
|
28
|
+
rspec-core (2.6.4)
|
|
29
|
+
rspec-expectations (2.6.0)
|
|
30
|
+
diff-lcs (~> 1.1.2)
|
|
31
|
+
rspec-mocks (2.6.0)
|
|
32
|
+
simple_oauth (0.1.5)
|
|
33
|
+
simplecov (0.4.1)
|
|
34
|
+
simplecov-html (~> 0.4.3)
|
|
35
|
+
simplecov-html (0.4.3)
|
|
36
|
+
thor (0.14.6)
|
|
37
|
+
twitter-stream (0.1.14)
|
|
38
|
+
eventmachine (>= 0.12.8)
|
|
39
|
+
http_parser.rb (~> 0.5.1)
|
|
40
|
+
simple_oauth (~> 0.1.4)
|
|
41
|
+
yajl-ruby (1.0.0)
|
|
42
|
+
yard (0.7.1)
|
|
43
|
+
|
|
44
|
+
PLATFORMS
|
|
45
|
+
ruby
|
|
46
|
+
|
|
47
|
+
DEPENDENCIES
|
|
48
|
+
guard-rspec (~> 0.4.3)
|
|
49
|
+
json (~> 1.5.1)
|
|
50
|
+
rake (~> 0.9)
|
|
51
|
+
rdiscount (~> 1.6)
|
|
52
|
+
rspec (~> 2.6.0)
|
|
53
|
+
simplecov (~> 0.4)
|
|
54
|
+
tweetstream!
|
|
55
|
+
yajl-ruby (~> 1.0)
|
|
56
|
+
yard (~> 0.7)
|
data/Rakefile
CHANGED
|
@@ -7,9 +7,9 @@ begin
|
|
|
7
7
|
gem.name = "tweetstream"
|
|
8
8
|
gem.summary = %Q{TweetStream is a simple wrapper for consuming the Twitter Streaming API.}
|
|
9
9
|
gem.description = %Q{TweetStream allows you to easily consume the Twitter Streaming API utilizing the YAJL Ruby gem.}
|
|
10
|
-
gem.email = "michael@intridea.com"
|
|
10
|
+
gem.email = ["michael@intridea.com", "steve.agalloco@gmail.com"]
|
|
11
11
|
gem.homepage = "http://github.com/intridea/tweetstream"
|
|
12
|
-
gem.authors = ["Michael Bleigh"]
|
|
12
|
+
gem.authors = ["Michael Bleigh", "Steve Agalloco"]
|
|
13
13
|
gem.files = FileList["[A-Z]*", "{lib,spec,examples}/**/*"] - FileList["**/*.log"]
|
|
14
14
|
gem.add_development_dependency "rspec"
|
|
15
15
|
gem.add_dependency 'twitter-stream'
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.5
|
data/lib/tweetstream/client.rb
CHANGED
|
@@ -190,7 +190,8 @@ module TweetStream
|
|
|
190
190
|
:auth => "#{URI.encode self.username}:#{URI.encode self.password}",
|
|
191
191
|
:method => method.to_s.upcase,
|
|
192
192
|
:content => (method == :post ? build_post_body(query_parameters) : ''),
|
|
193
|
-
:user_agent => 'TweetStream'
|
|
193
|
+
:user_agent => 'TweetStream',
|
|
194
|
+
:ssl => true
|
|
194
195
|
)
|
|
195
196
|
|
|
196
197
|
@stream.each_item do |item|
|
metadata
CHANGED
|
@@ -1,57 +1,62 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tweetstream
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.5
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
|
-
authors:
|
|
7
|
+
authors:
|
|
7
8
|
- Michael Bleigh
|
|
9
|
+
- Steve Agalloco
|
|
8
10
|
autorequire:
|
|
9
11
|
bindir: bin
|
|
10
12
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
dependencies:
|
|
15
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
+
date: 2011-09-29 00:00:00.000000000Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|
|
17
|
+
requirement: &2156452420 !ruby/object:Gem::Requirement
|
|
18
|
+
none: false
|
|
19
|
+
requirements:
|
|
20
|
+
- - ! '>='
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '0'
|
|
17
23
|
type: :development
|
|
18
|
-
|
|
19
|
-
version_requirements:
|
|
20
|
-
|
|
21
|
-
- - ">="
|
|
22
|
-
- !ruby/object:Gem::Version
|
|
23
|
-
version: "0"
|
|
24
|
-
version:
|
|
25
|
-
- !ruby/object:Gem::Dependency
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: *2156452420
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
26
27
|
name: twitter-stream
|
|
28
|
+
requirement: &2156451820 !ruby/object:Gem::Requirement
|
|
29
|
+
none: false
|
|
30
|
+
requirements:
|
|
31
|
+
- - ! '>='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
27
34
|
type: :runtime
|
|
28
|
-
|
|
29
|
-
version_requirements:
|
|
30
|
-
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: "0"
|
|
34
|
-
version:
|
|
35
|
-
- !ruby/object:Gem::Dependency
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: *2156451820
|
|
37
|
+
- !ruby/object:Gem::Dependency
|
|
36
38
|
name: daemons
|
|
39
|
+
requirement: &2156451220 !ruby/object:Gem::Requirement
|
|
40
|
+
none: false
|
|
41
|
+
requirements:
|
|
42
|
+
- - ! '>='
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: '0'
|
|
37
45
|
type: :runtime
|
|
38
|
-
|
|
39
|
-
version_requirements:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
description: TweetStream allows you to easily consume the Twitter Streaming API utilizing the YAJL Ruby gem.
|
|
46
|
-
email: michael@intridea.com
|
|
46
|
+
prerelease: false
|
|
47
|
+
version_requirements: *2156451220
|
|
48
|
+
description: TweetStream allows you to easily consume the Twitter Streaming API utilizing
|
|
49
|
+
the YAJL Ruby gem.
|
|
50
|
+
email:
|
|
51
|
+
- michael@intridea.com
|
|
52
|
+
- steve.agalloco@gmail.com
|
|
47
53
|
executables: []
|
|
48
|
-
|
|
49
54
|
extensions: []
|
|
50
|
-
|
|
51
|
-
extra_rdoc_files:
|
|
55
|
+
extra_rdoc_files:
|
|
52
56
|
- LICENSE
|
|
53
57
|
- README.rdoc
|
|
54
|
-
files:
|
|
58
|
+
files:
|
|
59
|
+
- Gemfile.lock
|
|
55
60
|
- LICENSE
|
|
56
61
|
- README.rdoc
|
|
57
62
|
- RELEASE_NOTES.rdoc
|
|
@@ -76,39 +81,28 @@ files:
|
|
|
76
81
|
- spec/tweetstream/parser_spec.rb
|
|
77
82
|
- spec/tweetstream/status_spec.rb
|
|
78
83
|
- spec/tweetstream_spec.rb
|
|
79
|
-
has_rdoc: true
|
|
80
84
|
homepage: http://github.com/intridea/tweetstream
|
|
81
85
|
licenses: []
|
|
82
|
-
|
|
83
86
|
post_install_message:
|
|
84
|
-
rdoc_options:
|
|
85
|
-
|
|
86
|
-
require_paths:
|
|
87
|
+
rdoc_options: []
|
|
88
|
+
require_paths:
|
|
87
89
|
- lib
|
|
88
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
|
+
none: false
|
|
92
|
+
requirements:
|
|
93
|
+
- - ! '>='
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
|
+
none: false
|
|
98
|
+
requirements:
|
|
99
|
+
- - ! '>='
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
100
102
|
requirements: []
|
|
101
|
-
|
|
102
103
|
rubyforge_project:
|
|
103
|
-
rubygems_version: 1.
|
|
104
|
+
rubygems_version: 1.8.6
|
|
104
105
|
signing_key:
|
|
105
106
|
specification_version: 3
|
|
106
107
|
summary: TweetStream is a simple wrapper for consuming the Twitter Streaming API.
|
|
107
|
-
test_files:
|
|
108
|
-
- spec/spec_helper.rb
|
|
109
|
-
- spec/tweetstream/client_spec.rb
|
|
110
|
-
- spec/tweetstream/hash_spec.rb
|
|
111
|
-
- spec/tweetstream/parser_spec.rb
|
|
112
|
-
- spec/tweetstream/status_spec.rb
|
|
113
|
-
- spec/tweetstream_spec.rb
|
|
114
|
-
- examples/growl_daemon.rb
|
|
108
|
+
test_files: []
|