jls-tweetstream 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +6 -0
- data/CHANGELOG.md +76 -0
- data/CONTRIBUTING.md +9 -0
- data/LICENSE.md +20 -0
- data/README.md +392 -0
- data/Rakefile +11 -0
- data/lib/tweetstream.rb +36 -0
- data/lib/tweetstream/client.rb +582 -0
- data/lib/tweetstream/configuration.rb +92 -0
- data/lib/tweetstream/daemon.rb +52 -0
- data/lib/tweetstream/site_stream_client.rb +122 -0
- data/lib/tweetstream/version.rb +3 -0
- data/spec/fixtures/delete.json +8 -0
- data/spec/fixtures/direct_messages.json +1 -0
- data/spec/fixtures/favorite.json +150 -0
- data/spec/fixtures/ids.json +30 -0
- data/spec/fixtures/info.json +18 -0
- data/spec/fixtures/limit.json +5 -0
- data/spec/fixtures/scrub_geo.json +8 -0
- data/spec/fixtures/stall_warning.json +7 -0
- data/spec/fixtures/status_withheld.json +7 -0
- data/spec/fixtures/statuses.json +1 -0
- data/spec/fixtures/user_withheld.json +6 -0
- data/spec/helper.rb +58 -0
- data/spec/tweetstream/client_authentication_spec.rb +83 -0
- data/spec/tweetstream/client_site_stream_spec.rb +145 -0
- data/spec/tweetstream/client_spec.rb +391 -0
- data/spec/tweetstream/client_userstream_spec.rb +74 -0
- data/spec/tweetstream/daemon_spec.rb +29 -0
- data/spec/tweetstream/site_stream_client_spec.rb +233 -0
- data/spec/tweetstream_spec.rb +129 -0
- data/tweetstream.gemspec +29 -0
- metadata +179 -0
data/tweetstream.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tweetstream/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'jls-tweetstream'
|
8
|
+
spec.version = TweetStream::VERSION
|
9
|
+
|
10
|
+
spec.authors = ['Michael Bleigh', 'Steve Agalloco']
|
11
|
+
spec.email = ['michael@intridea.com', 'steve.agalloco@gmail.com']
|
12
|
+
spec.description = %q{TweetStream is a simple wrapper for consuming the Twitter Streaming API.}
|
13
|
+
spec.summary = spec.description
|
14
|
+
spec.homepage = 'http://github.com/intridea/tweetstream'
|
15
|
+
spec.licenses = ['MIT']
|
16
|
+
|
17
|
+
spec.add_dependency 'daemons', '~> 1.1'
|
18
|
+
spec.add_dependency 'em-twitter', '~> 0.2'
|
19
|
+
spec.add_dependency 'em-http-request', '~> 1.0.2'
|
20
|
+
spec.add_dependency 'twitter', '~> 4.5'
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.0'
|
22
|
+
|
23
|
+
spec.files = %w(.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile tweetstream.gemspec)
|
24
|
+
spec.files += Dir.glob("lib/**/*.rb")
|
25
|
+
spec.files += Dir.glob("spec/**/*")
|
26
|
+
spec.test_files = Dir.glob("spec/**/*")
|
27
|
+
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jls-tweetstream
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Michael Bleigh
|
9
|
+
- Steve Agalloco
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
type: :runtime
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.1'
|
23
|
+
name: daemons
|
24
|
+
prerelease: false
|
25
|
+
requirement: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.1'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ~>
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0.2'
|
39
|
+
name: em-twitter
|
40
|
+
prerelease: false
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.2'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.2
|
55
|
+
name: em-http-request
|
56
|
+
prerelease: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.0.2
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
type: :runtime
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '4.5'
|
71
|
+
name: twitter
|
72
|
+
prerelease: false
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '4.5'
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
type: :development
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '1.0'
|
87
|
+
name: bundler
|
88
|
+
prerelease: false
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1.0'
|
95
|
+
description: TweetStream is a simple wrapper for consuming the Twitter Streaming API.
|
96
|
+
email:
|
97
|
+
- michael@intridea.com
|
98
|
+
- steve.agalloco@gmail.com
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- .yardopts
|
104
|
+
- CHANGELOG.md
|
105
|
+
- CONTRIBUTING.md
|
106
|
+
- LICENSE.md
|
107
|
+
- README.md
|
108
|
+
- Rakefile
|
109
|
+
- tweetstream.gemspec
|
110
|
+
- lib/tweetstream.rb
|
111
|
+
- lib/tweetstream/daemon.rb
|
112
|
+
- lib/tweetstream/version.rb
|
113
|
+
- lib/tweetstream/configuration.rb
|
114
|
+
- lib/tweetstream/client.rb
|
115
|
+
- lib/tweetstream/site_stream_client.rb
|
116
|
+
- spec/tweetstream_spec.rb
|
117
|
+
- spec/helper.rb
|
118
|
+
- spec/fixtures/info.json
|
119
|
+
- spec/fixtures/direct_messages.json
|
120
|
+
- spec/fixtures/limit.json
|
121
|
+
- spec/fixtures/user_withheld.json
|
122
|
+
- spec/fixtures/stall_warning.json
|
123
|
+
- spec/fixtures/favorite.json
|
124
|
+
- spec/fixtures/statuses.json
|
125
|
+
- spec/fixtures/ids.json
|
126
|
+
- spec/fixtures/scrub_geo.json
|
127
|
+
- spec/fixtures/status_withheld.json
|
128
|
+
- spec/fixtures/delete.json
|
129
|
+
- spec/tweetstream/site_stream_client_spec.rb
|
130
|
+
- spec/tweetstream/client_userstream_spec.rb
|
131
|
+
- spec/tweetstream/daemon_spec.rb
|
132
|
+
- spec/tweetstream/client_spec.rb
|
133
|
+
- spec/tweetstream/client_site_stream_spec.rb
|
134
|
+
- spec/tweetstream/client_authentication_spec.rb
|
135
|
+
homepage: http://github.com/intridea/tweetstream
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
post_install_message:
|
139
|
+
rdoc_options: []
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
none: false
|
144
|
+
requirements:
|
145
|
+
- - ! '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
requirements: []
|
155
|
+
rubyforge_project:
|
156
|
+
rubygems_version: 1.8.25
|
157
|
+
signing_key:
|
158
|
+
specification_version: 3
|
159
|
+
summary: TweetStream is a simple wrapper for consuming the Twitter Streaming API.
|
160
|
+
test_files:
|
161
|
+
- spec/tweetstream_spec.rb
|
162
|
+
- spec/helper.rb
|
163
|
+
- spec/fixtures/info.json
|
164
|
+
- spec/fixtures/direct_messages.json
|
165
|
+
- spec/fixtures/limit.json
|
166
|
+
- spec/fixtures/user_withheld.json
|
167
|
+
- spec/fixtures/stall_warning.json
|
168
|
+
- spec/fixtures/favorite.json
|
169
|
+
- spec/fixtures/statuses.json
|
170
|
+
- spec/fixtures/ids.json
|
171
|
+
- spec/fixtures/scrub_geo.json
|
172
|
+
- spec/fixtures/status_withheld.json
|
173
|
+
- spec/fixtures/delete.json
|
174
|
+
- spec/tweetstream/site_stream_client_spec.rb
|
175
|
+
- spec/tweetstream/client_userstream_spec.rb
|
176
|
+
- spec/tweetstream/daemon_spec.rb
|
177
|
+
- spec/tweetstream/client_spec.rb
|
178
|
+
- spec/tweetstream/client_site_stream_spec.rb
|
179
|
+
- spec/tweetstream/client_authentication_spec.rb
|