statement 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/statement/tweets.rb +6 -1
- data/lib/statement/version.rb +1 -1
- metadata +4 -4
data/lib/statement/tweets.rb
CHANGED
@@ -20,6 +20,11 @@ module Statement
|
|
20
20
|
def timeline(member_id)
|
21
21
|
process_results(client.user_timeline(member_id))
|
22
22
|
end
|
23
|
+
|
24
|
+
# batch lookup of users, 100 at a time
|
25
|
+
def users(member_ids)
|
26
|
+
client.users(member_ids)
|
27
|
+
end
|
23
28
|
|
24
29
|
# fetches latest 100 tweets from a list (derekwillis twitter acct has a public congress list)
|
25
30
|
def bulk_timeline(list_id, list_owner=nil)
|
@@ -34,6 +39,6 @@ module Statement
|
|
34
39
|
end
|
35
40
|
results
|
36
41
|
end
|
37
|
-
|
42
|
+
|
38
43
|
end
|
39
44
|
end
|
data/lib/statement/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -214,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
segments:
|
216
216
|
- 0
|
217
|
-
hash:
|
217
|
+
hash: 513920917302805620
|
218
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
219
|
none: false
|
220
220
|
requirements:
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
segments:
|
225
225
|
- 0
|
226
|
-
hash:
|
226
|
+
hash: 513920917302805620
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
229
|
rubygems_version: 1.8.25
|