secobarbital-twitter 0.9.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/History +271 -0
  2. data/License +20 -0
  3. data/Notes +33 -0
  4. data/README.rdoc +19 -0
  5. data/Rakefile +39 -0
  6. data/VERSION.yml +5 -0
  7. data/examples/connect.rb +30 -0
  8. data/examples/friendship_existance.rb +13 -0
  9. data/examples/helpers/config_store.rb +38 -0
  10. data/examples/httpauth.rb +11 -0
  11. data/examples/ids.rb +13 -0
  12. data/examples/lists.rb +11 -0
  13. data/examples/oauth.rb +27 -0
  14. data/examples/search.rb +15 -0
  15. data/examples/timeline.rb +19 -0
  16. data/examples/tumblr.rb +9 -0
  17. data/examples/unauthorized.rb +16 -0
  18. data/examples/update.rb +11 -0
  19. data/examples/user.rb +5 -0
  20. data/lib/twitter/base.rb +371 -0
  21. data/lib/twitter/httpauth.rb +39 -0
  22. data/lib/twitter/local_trends.rb +15 -0
  23. data/lib/twitter/oauth.rb +58 -0
  24. data/lib/twitter/request.rb +71 -0
  25. data/lib/twitter/search.rb +157 -0
  26. data/lib/twitter/trends.rb +41 -0
  27. data/lib/twitter.rb +148 -0
  28. data/test/fixtures/blocking.json +1632 -0
  29. data/test/fixtures/firehose.json +1 -0
  30. data/test/fixtures/follower_ids.json +1 -0
  31. data/test/fixtures/followers.json +1 -0
  32. data/test/fixtures/friend_ids.json +1 -0
  33. data/test/fixtures/friends_timeline.json +1 -0
  34. data/test/fixtures/friendship.json +1 -0
  35. data/test/fixtures/home_timeline.json +1 -0
  36. data/test/fixtures/ids.json +1 -0
  37. data/test/fixtures/list.json +1 -0
  38. data/test/fixtures/list_statuses.json +1 -0
  39. data/test/fixtures/list_statuses_1_1.json +1 -0
  40. data/test/fixtures/list_statuses_2_1.json +1 -0
  41. data/test/fixtures/list_subscriptions.json +1 -0
  42. data/test/fixtures/list_users.json +1 -0
  43. data/test/fixtures/lists.json +1 -0
  44. data/test/fixtures/memberships.json +1 -0
  45. data/test/fixtures/mentions.json +1 -0
  46. data/test/fixtures/not_found.json +1 -0
  47. data/test/fixtures/people_search.json +39 -0
  48. data/test/fixtures/rate_limit_exceeded.json +1 -0
  49. data/test/fixtures/retweet.json +1 -0
  50. data/test/fixtures/retweeted_by_me.json +1 -0
  51. data/test/fixtures/retweeted_to_me.json +1 -0
  52. data/test/fixtures/retweeters_of_tweet.json +166 -0
  53. data/test/fixtures/retweets.json +1 -0
  54. data/test/fixtures/retweets_of_me.json +1 -0
  55. data/test/fixtures/sample-image.png +0 -0
  56. data/test/fixtures/search.json +1 -0
  57. data/test/fixtures/search_from_jnunemaker.json +1 -0
  58. data/test/fixtures/status.json +1 -0
  59. data/test/fixtures/status_show.json +1 -0
  60. data/test/fixtures/trends_available.json +253 -0
  61. data/test/fixtures/trends_current.json +1 -0
  62. data/test/fixtures/trends_current_exclude.json +1 -0
  63. data/test/fixtures/trends_daily.json +1925 -0
  64. data/test/fixtures/trends_daily_date.json +1 -0
  65. data/test/fixtures/trends_daily_exclude.json +1 -0
  66. data/test/fixtures/trends_location.json +57 -0
  67. data/test/fixtures/trends_weekly.json +1 -0
  68. data/test/fixtures/trends_weekly_date.json +1 -0
  69. data/test/fixtures/trends_weekly_exclude.json +1 -0
  70. data/test/fixtures/unauthorized.json +1 -0
  71. data/test/fixtures/update_profile_background_image.json +1 -0
  72. data/test/fixtures/update_profile_image.json +1 -0
  73. data/test/fixtures/user.json +1 -0
  74. data/test/fixtures/user_timeline.json +710 -0
  75. data/test/fixtures/users.json +1 -0
  76. data/test/test_helper.rb +46 -0
  77. data/test/twitter/base_test.rb +364 -0
  78. data/test/twitter/httpauth_test.rb +76 -0
  79. data/test/twitter/oauth_test.rb +108 -0
  80. data/test/twitter/request_test.rb +217 -0
  81. data/test/twitter/search_test.rb +208 -0
  82. data/test/twitter/trends_test.rb +112 -0
  83. data/test/twitter_test.rb +106 -0
  84. metadata +280 -0
metadata ADDED
@@ -0,0 +1,280 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: secobarbital-twitter
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 9
8
+ - 2
9
+ - 1
10
+ version: 0.9.2.1
11
+ platform: ruby
12
+ authors:
13
+ - John Nunemaker
14
+ - Wynn Netherland
15
+ - Seggy Umboh
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2010-03-26 00:00:00 -07:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: oauth
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ segments:
31
+ - 0
32
+ - 3
33
+ - 6
34
+ version: 0.3.6
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: hashie
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ segments:
45
+ - 0
46
+ - 2
47
+ - 0
48
+ version: 0.2.0
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: httparty
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
60
+ - 5
61
+ - 2
62
+ version: 0.5.2
63
+ type: :runtime
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: json
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ segments:
73
+ - 1
74
+ - 2
75
+ - 3
76
+ version: 1.2.3
77
+ type: :runtime
78
+ version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ name: shoulda
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 2
88
+ - 10
89
+ - 1
90
+ version: 2.10.1
91
+ type: :development
92
+ version_requirements: *id005
93
+ - !ruby/object:Gem::Dependency
94
+ name: jnunemaker-matchy
95
+ prerelease: false
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ segments:
101
+ - 0
102
+ - 4
103
+ - 0
104
+ version: 0.4.0
105
+ type: :development
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
108
+ name: mocha
109
+ prerelease: false
110
+ requirement: &id007 !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ~>
113
+ - !ruby/object:Gem::Version
114
+ segments:
115
+ - 0
116
+ - 9
117
+ - 4
118
+ version: 0.9.4
119
+ type: :development
120
+ version_requirements: *id007
121
+ - !ruby/object:Gem::Dependency
122
+ name: fakeweb
123
+ prerelease: false
124
+ requirement: &id008 !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ~>
127
+ - !ruby/object:Gem::Version
128
+ segments:
129
+ - 1
130
+ - 2
131
+ - 5
132
+ version: 1.2.5
133
+ type: :development
134
+ version_requirements: *id008
135
+ description:
136
+ email:
137
+ - nunemaker@gmail.com
138
+ - seggy.umboh@gmail.com
139
+ executables: []
140
+
141
+ extensions: []
142
+
143
+ extra_rdoc_files:
144
+ - README.rdoc
145
+ files:
146
+ - History
147
+ - License
148
+ - Notes
149
+ - README.rdoc
150
+ - Rakefile
151
+ - VERSION.yml
152
+ - examples/connect.rb
153
+ - examples/friendship_existance.rb
154
+ - examples/helpers/config_store.rb
155
+ - examples/httpauth.rb
156
+ - examples/ids.rb
157
+ - examples/lists.rb
158
+ - examples/oauth.rb
159
+ - examples/search.rb
160
+ - examples/timeline.rb
161
+ - examples/tumblr.rb
162
+ - examples/unauthorized.rb
163
+ - examples/update.rb
164
+ - examples/user.rb
165
+ - lib/twitter.rb
166
+ - lib/twitter/base.rb
167
+ - lib/twitter/httpauth.rb
168
+ - lib/twitter/local_trends.rb
169
+ - lib/twitter/oauth.rb
170
+ - lib/twitter/request.rb
171
+ - lib/twitter/search.rb
172
+ - lib/twitter/trends.rb
173
+ - test/fixtures/blocking.json
174
+ - test/fixtures/firehose.json
175
+ - test/fixtures/follower_ids.json
176
+ - test/fixtures/followers.json
177
+ - test/fixtures/friend_ids.json
178
+ - test/fixtures/friends_timeline.json
179
+ - test/fixtures/friendship.json
180
+ - test/fixtures/home_timeline.json
181
+ - test/fixtures/ids.json
182
+ - test/fixtures/list.json
183
+ - test/fixtures/list_statuses.json
184
+ - test/fixtures/list_statuses_1_1.json
185
+ - test/fixtures/list_statuses_2_1.json
186
+ - test/fixtures/list_subscriptions.json
187
+ - test/fixtures/list_users.json
188
+ - test/fixtures/lists.json
189
+ - test/fixtures/memberships.json
190
+ - test/fixtures/mentions.json
191
+ - test/fixtures/not_found.json
192
+ - test/fixtures/people_search.json
193
+ - test/fixtures/rate_limit_exceeded.json
194
+ - test/fixtures/retweet.json
195
+ - test/fixtures/retweeted_by_me.json
196
+ - test/fixtures/retweeted_to_me.json
197
+ - test/fixtures/retweeters_of_tweet.json
198
+ - test/fixtures/retweets.json
199
+ - test/fixtures/retweets_of_me.json
200
+ - test/fixtures/sample-image.png
201
+ - test/fixtures/search.json
202
+ - test/fixtures/search_from_jnunemaker.json
203
+ - test/fixtures/status.json
204
+ - test/fixtures/status_show.json
205
+ - test/fixtures/trends_available.json
206
+ - test/fixtures/trends_current.json
207
+ - test/fixtures/trends_current_exclude.json
208
+ - test/fixtures/trends_daily.json
209
+ - test/fixtures/trends_daily_date.json
210
+ - test/fixtures/trends_daily_exclude.json
211
+ - test/fixtures/trends_location.json
212
+ - test/fixtures/trends_weekly.json
213
+ - test/fixtures/trends_weekly_date.json
214
+ - test/fixtures/trends_weekly_exclude.json
215
+ - test/fixtures/unauthorized.json
216
+ - test/fixtures/update_profile_background_image.json
217
+ - test/fixtures/update_profile_image.json
218
+ - test/fixtures/user.json
219
+ - test/fixtures/user_timeline.json
220
+ - test/fixtures/users.json
221
+ - test/test_helper.rb
222
+ - test/twitter/base_test.rb
223
+ - test/twitter/httpauth_test.rb
224
+ - test/twitter/oauth_test.rb
225
+ - test/twitter/request_test.rb
226
+ - test/twitter/search_test.rb
227
+ - test/twitter/trends_test.rb
228
+ - test/twitter_test.rb
229
+ has_rdoc: true
230
+ homepage: http://github.com/secobarbital/twitter
231
+ licenses: []
232
+
233
+ post_install_message:
234
+ rdoc_options:
235
+ - --charset=UTF-8
236
+ require_paths:
237
+ - lib
238
+ required_ruby_version: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ segments:
243
+ - 0
244
+ version: "0"
245
+ required_rubygems_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ segments:
250
+ - 0
251
+ version: "0"
252
+ requirements: []
253
+
254
+ rubyforge_project:
255
+ rubygems_version: 1.3.6
256
+ signing_key:
257
+ specification_version: 3
258
+ summary: wrapper for the twitter api
259
+ test_files:
260
+ - test/test_helper.rb
261
+ - test/twitter/base_test.rb
262
+ - test/twitter/httpauth_test.rb
263
+ - test/twitter/oauth_test.rb
264
+ - test/twitter/request_test.rb
265
+ - test/twitter/search_test.rb
266
+ - test/twitter/trends_test.rb
267
+ - test/twitter_test.rb
268
+ - examples/connect.rb
269
+ - examples/friendship_existance.rb
270
+ - examples/helpers/config_store.rb
271
+ - examples/httpauth.rb
272
+ - examples/ids.rb
273
+ - examples/lists.rb
274
+ - examples/oauth.rb
275
+ - examples/search.rb
276
+ - examples/timeline.rb
277
+ - examples/tumblr.rb
278
+ - examples/unauthorized.rb
279
+ - examples/update.rb
280
+ - examples/user.rb