twitter-jruby 0.9.5.2010050701

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/History +282 -0
  2. data/License +20 -0
  3. data/Notes +33 -0
  4. data/README.rdoc +27 -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.rb +146 -0
  21. data/lib/twitter/base.rb +390 -0
  22. data/lib/twitter/httpauth.rb +39 -0
  23. data/lib/twitter/local_trends.rb +15 -0
  24. data/lib/twitter/oauth.rb +58 -0
  25. data/lib/twitter/request.rb +71 -0
  26. data/lib/twitter/search.rb +159 -0
  27. data/lib/twitter/trends.rb +41 -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/friendship_exists.json +1 -0
  36. data/test/fixtures/home_timeline.json +1 -0
  37. data/test/fixtures/ids.json +1 -0
  38. data/test/fixtures/list.json +1 -0
  39. data/test/fixtures/list_statuses.json +1 -0
  40. data/test/fixtures/list_statuses_1_1.json +1 -0
  41. data/test/fixtures/list_statuses_2_1.json +1 -0
  42. data/test/fixtures/list_subscriptions.json +1 -0
  43. data/test/fixtures/list_users.json +1 -0
  44. data/test/fixtures/lists.json +1 -0
  45. data/test/fixtures/memberships.json +1 -0
  46. data/test/fixtures/mentions.json +1 -0
  47. data/test/fixtures/not_found.json +1 -0
  48. data/test/fixtures/people_search.json +39 -0
  49. data/test/fixtures/rate_limit_exceeded.json +1 -0
  50. data/test/fixtures/report_spam.json +41 -0
  51. data/test/fixtures/retweet.json +1 -0
  52. data/test/fixtures/retweeted_by_me.json +1 -0
  53. data/test/fixtures/retweeted_to_me.json +1 -0
  54. data/test/fixtures/retweeters_of_tweet.json +166 -0
  55. data/test/fixtures/retweets.json +1 -0
  56. data/test/fixtures/retweets_of_me.json +1 -0
  57. data/test/fixtures/sample-image.png +0 -0
  58. data/test/fixtures/saved_search.json +7 -0
  59. data/test/fixtures/saved_searches.json +16 -0
  60. data/test/fixtures/search.json +1 -0
  61. data/test/fixtures/search_from_jnunemaker.json +1 -0
  62. data/test/fixtures/status.json +1 -0
  63. data/test/fixtures/status_show.json +1 -0
  64. data/test/fixtures/trends_available.json +253 -0
  65. data/test/fixtures/trends_current.json +1 -0
  66. data/test/fixtures/trends_current_exclude.json +1 -0
  67. data/test/fixtures/trends_daily.json +1925 -0
  68. data/test/fixtures/trends_daily_date.json +1 -0
  69. data/test/fixtures/trends_daily_exclude.json +1 -0
  70. data/test/fixtures/trends_location.json +57 -0
  71. data/test/fixtures/trends_weekly.json +1 -0
  72. data/test/fixtures/trends_weekly_date.json +1 -0
  73. data/test/fixtures/trends_weekly_exclude.json +1 -0
  74. data/test/fixtures/unauthorized.json +1 -0
  75. data/test/fixtures/update_profile_background_image.json +1 -0
  76. data/test/fixtures/update_profile_image.json +1 -0
  77. data/test/fixtures/user.json +1 -0
  78. data/test/fixtures/user_timeline.json +710 -0
  79. data/test/fixtures/users.json +1 -0
  80. data/test/test_helper.rb +46 -0
  81. data/test/twitter/base_test.rb +426 -0
  82. data/test/twitter/httpauth_test.rb +76 -0
  83. data/test/twitter/oauth_test.rb +108 -0
  84. data/test/twitter/request_test.rb +217 -0
  85. data/test/twitter/search_test.rb +208 -0
  86. data/test/twitter/trends_test.rb +112 -0
  87. data/test/twitter_test.rb +106 -0
  88. metadata +280 -0
@@ -0,0 +1,112 @@
1
+ require 'test_helper'
2
+
3
+ class TrendsTest < Test::Unit::TestCase
4
+ include Twitter
5
+
6
+ context "Getting current trends" do
7
+ should "work" do
8
+ stub_get 'http://search.twitter.com:80/trends/current.json', 'trends_current.json'
9
+ trends = Trends.current
10
+ trends.size.should == 10
11
+ trends[0].name.should == '#musicmonday'
12
+ trends[0].query.should == '#musicmonday'
13
+ trends[1].name.should == '#newdivide'
14
+ trends[1].query.should == '#newdivide'
15
+ end
16
+
17
+ should "be able to exclude hashtags" do
18
+ stub_get 'http://search.twitter.com:80/trends/current.json?exclude=hashtags', 'trends_current_exclude.json'
19
+ trends = Trends.current(:exclude => 'hashtags')
20
+ trends.size.should == 10
21
+ trends[0].name.should == 'New Divide'
22
+ trends[0].query.should == %Q(\"New Divide\")
23
+ trends[1].name.should == 'Star Trek'
24
+ trends[1].query.should == %Q(\"Star Trek\")
25
+ end
26
+ end
27
+
28
+ context "Getting daily trends" do
29
+ should "work" do
30
+ stub_get 'http://search.twitter.com:80/trends/daily.json?', 'trends_daily.json'
31
+ trends = Trends.daily
32
+ trends.size.should == 480
33
+ trends[0].name.should == '#3turnoffwords'
34
+ trends[0].query.should == '#3turnoffwords'
35
+ end
36
+
37
+ should "be able to exclude hastags" do
38
+ stub_get 'http://search.twitter.com:80/trends/daily.json?exclude=hashtags', 'trends_daily_exclude.json'
39
+ trends = Trends.daily(:exclude => 'hashtags')
40
+ trends.size.should == 480
41
+ trends[0].name.should == 'Kobe'
42
+ trends[0].query.should == %Q(Kobe)
43
+ end
44
+
45
+ should "be able to get for specific date (with date string)" do
46
+ stub_get 'http://search.twitter.com:80/trends/daily.json?date=2009-05-01', 'trends_daily_date.json'
47
+ trends = Trends.daily(:date => '2009-05-01')
48
+ trends.size.should == 440
49
+ trends[0].name.should == 'Swine Flu'
50
+ trends[0].query.should == %Q(\"Swine Flu\" OR Flu)
51
+ end
52
+
53
+ should "be able to get for specific date (with date object)" do
54
+ stub_get 'http://search.twitter.com:80/trends/daily.json?date=2009-05-01', 'trends_daily_date.json'
55
+ trends = Trends.daily(:date => Date.new(2009, 5, 1))
56
+ trends.size.should == 440
57
+ trends[0].name.should == 'Swine Flu'
58
+ trends[0].query.should == %Q(\"Swine Flu\" OR Flu)
59
+ end
60
+ end
61
+
62
+ context "Getting weekly trends" do
63
+ should "work" do
64
+ stub_get 'http://search.twitter.com:80/trends/weekly.json?', 'trends_weekly.json'
65
+ trends = Trends.weekly
66
+ trends.size.should == 210
67
+ trends[0].name.should == 'Happy Mothers Day'
68
+ trends[0].query.should == %Q(\"Happy Mothers Day\" OR \"Mothers Day\")
69
+ end
70
+
71
+ should "be able to exclude hastags" do
72
+ stub_get 'http://search.twitter.com:80/trends/weekly.json?exclude=hashtags', 'trends_weekly_exclude.json'
73
+ trends = Trends.weekly(:exclude => 'hashtags')
74
+ trends.size.should == 210
75
+ trends[0].name.should == 'Happy Mothers Day'
76
+ trends[0].query.should == %Q(\"Happy Mothers Day\" OR \"Mothers Day\")
77
+ end
78
+
79
+ should "be able to get for specific date (with date string)" do
80
+ stub_get 'http://search.twitter.com:80/trends/weekly.json?date=2009-05-01', 'trends_weekly_date.json'
81
+ trends = Trends.weekly(:date => '2009-05-01')
82
+ trends.size.should == 210
83
+ trends[0].name.should == 'TGIF'
84
+ trends[0].query.should == 'TGIF'
85
+ end
86
+
87
+ should "be able to get for specific date (with date object)" do
88
+ stub_get 'http://search.twitter.com:80/trends/weekly.json?date=2009-05-01', 'trends_weekly_date.json'
89
+ trends = Trends.weekly(:date => Date.new(2009, 5, 1))
90
+ trends.size.should == 210
91
+ trends[0].name.should == 'TGIF'
92
+ trends[0].query.should == 'TGIF'
93
+ end
94
+ end
95
+
96
+ context "Getting local trends" do
97
+
98
+ should "return a list of available locations" do
99
+ stub_get 'http://api.twitter.com/1/trends/available.json?lat=33.237593417&lng=-96.960559033', 'trends_available.json'
100
+ locations = Trends.available(:lat => 33.237593417, :lng => -96.960559033)
101
+ locations.first.country.should == 'Ireland'
102
+ locations.first.placeType.code.should == 12
103
+ end
104
+
105
+ should "return a list of trends for a given location" do
106
+ stub_get 'http://api.twitter.com/1/trends/2487956.json', 'trends_location.json'
107
+ trends = Trends.for_location(2487956).first.trends
108
+ trends.last.name.should == 'Gmail'
109
+ end
110
+ end
111
+
112
+ end
@@ -0,0 +1,106 @@
1
+ require 'test_helper'
2
+
3
+ class TwitterTest < Test::Unit::TestCase
4
+ should "have firehose method for public timeline" do
5
+ stub_get('http://api.twitter.com:80/1/statuses/public_timeline.json', 'firehose.json')
6
+ hose = Twitter.firehose
7
+ hose.size.should == 20
8
+ first = hose.first
9
+ first.text.should == '#torrents Ultimativer Flirt Guide - In 10 Minuten jede Frau erobern: Ultimativer Flirt Guide - In 10 Mi.. http://tinyurl.com/d3okh4'
10
+ first.user.name.should == 'P2P Torrents'
11
+ end
12
+
13
+ should "have user method for unauthenticated calls to get a user's information" do
14
+ stub_get('http://api.twitter.com:80/1/users/show/jnunemaker.json', 'user.json')
15
+ user = Twitter.user('jnunemaker')
16
+ user.name.should == 'John Nunemaker'
17
+ user.description.should == 'Loves his wife, ruby, notre dame football and iu basketball'
18
+ end
19
+
20
+ should "have status method for unauthenticated calls to get a status" do
21
+ stub_get('http://api.twitter.com:80/1/statuses/show/1533815199.json', 'status_show.json')
22
+ status = Twitter.status(1533815199)
23
+ status.id.should == 1533815199
24
+ status.text.should == 'Eating some oatmeal and butterscotch cookies with a cold glass of milk for breakfast. Tasty!'
25
+ end
26
+
27
+ should "raise NotFound for unauthenticated calls to get a deleted or nonexistent status" do
28
+ stub_get('http://api.twitter.com:80/1/statuses/show/1.json', 'not_found.json', 404)
29
+ lambda {
30
+ Twitter.status(1)
31
+ }.should raise_error(Twitter::NotFound)
32
+ end
33
+
34
+ should "have a timeline method for unauthenticated calls to get a user's timeline" do
35
+ stub_get('http://api.twitter.com:80/1/statuses/user_timeline/jnunemaker.json', 'user_timeline.json')
36
+ statuses = Twitter.timeline('jnunemaker')
37
+ statuses.first.id.should == 1445986256
38
+ statuses.first.user.screen_name.should == 'jnunemaker'
39
+ end
40
+
41
+ should "raise Unauthorized for unauthenticated calls to get a protected user's timeline" do
42
+ stub_get('http://api.twitter.com:80/1/statuses/user_timeline/protected.json', 'unauthorized.json', 401)
43
+ lambda {
44
+ Twitter.timeline('protected')
45
+ }.should raise_error(Twitter::Unauthorized)
46
+ end
47
+
48
+ should "have friend_ids method" do
49
+ stub_get('http://api.twitter.com:80/1/friends/ids/jnunemaker.json', 'friend_ids.json')
50
+ ids = Twitter.friend_ids('jnunemaker')
51
+ ids.size.should == 161
52
+ end
53
+
54
+ should "raise Unauthorized for unauthenticated calls to get a protected user's friend_ids" do
55
+ stub_get('http://api.twitter.com:80/1/friends/ids/protected.json', 'unauthorized.json', 401)
56
+ lambda {
57
+ Twitter.friend_ids('protected')
58
+ }.should raise_error(Twitter::Unauthorized)
59
+ end
60
+
61
+ should "have follower_ids method" do
62
+ stub_get('http://api.twitter.com:80/1/followers/ids/jnunemaker.json', 'follower_ids.json')
63
+ ids = Twitter.follower_ids('jnunemaker')
64
+ ids.size.should == 1252
65
+ end
66
+
67
+ should "raise Unauthorized for unauthenticated calls to get a protected user's follower_ids" do
68
+ stub_get('http://api.twitter.com:80/1/followers/ids/protected.json', 'unauthorized.json', 401)
69
+ lambda {
70
+ Twitter.follower_ids('protected')
71
+ }.should raise_error(Twitter::Unauthorized)
72
+ end
73
+
74
+ context "when using lists" do
75
+
76
+ should "be able to view list timeline" do
77
+ stub_get('http://api.twitter.com:80/1/pengwynn/lists/rubyists/statuses.json', 'list_statuses.json')
78
+ tweets = Twitter.list_timeline('pengwynn', 'rubyists')
79
+ tweets.size.should == 20
80
+ tweets.first.id.should == 5272535583
81
+ tweets.first.user.name.should == 'John Nunemaker'
82
+ end
83
+
84
+ should "be able to limit number of tweets in list timeline" do
85
+ stub_get('http://api.twitter.com:80/1/pengwynn/lists/rubyists/statuses.json?per_page=1', 'list_statuses_1_1.json')
86
+ tweets = Twitter.list_timeline('pengwynn', 'rubyists', :per_page => 1)
87
+ tweets.size.should == 1
88
+ tweets.first.id.should == 5272535583
89
+ tweets.first.user.name.should == 'John Nunemaker'
90
+ end
91
+
92
+ should "be able to paginate through the timeline" do
93
+ stub_get('http://api.twitter.com:80/1/pengwynn/lists/rubyists/statuses.json?page=1&per_page=1', 'list_statuses_1_1.json')
94
+ stub_get('http://api.twitter.com:80/1/pengwynn/lists/rubyists/statuses.json?page=2&per_page=1', 'list_statuses_2_1.json')
95
+ tweets = Twitter.list_timeline('pengwynn', 'rubyists', { :page => 1, :per_page => 1 })
96
+ tweets.size.should == 1
97
+ tweets.first.id.should == 5272535583
98
+ tweets.first.user.name.should == 'John Nunemaker'
99
+ tweets = Twitter.list_timeline('pengwynn', 'rubyists', { :page => 2, :per_page => 1 })
100
+ tweets.size.should == 1
101
+ tweets.first.id.should == 5264324712
102
+ tweets.first.user.name.should == 'John Nunemaker'
103
+ end
104
+
105
+ end
106
+ end
metadata ADDED
@@ -0,0 +1,280 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: twitter-jruby
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 9
8
+ - 5
9
+ - 2010050701
10
+ version: 0.9.5.2010050701
11
+ platform: ruby
12
+ authors:
13
+ - John Nunemaker
14
+ - Wynn Netherland
15
+ - Koichi Fujikawa
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2010-05-07 00:00:00 +09: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
+ - 5
34
+ version: 0.3.5
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
+ - 0
62
+ version: 0.5.0
63
+ type: :runtime
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: json-jruby
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ segments:
73
+ - 0
74
+ version: "0"
75
+ type: :runtime
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: shoulda
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ~>
83
+ - !ruby/object:Gem::Version
84
+ segments:
85
+ - 2
86
+ - 10
87
+ - 0
88
+ version: 2.10.0
89
+ type: :development
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ name: jnunemaker-matchy
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ segments:
99
+ - 0
100
+ - 4
101
+ - 0
102
+ version: 0.4.0
103
+ type: :development
104
+ version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ name: mocha
107
+ prerelease: false
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ~>
111
+ - !ruby/object:Gem::Version
112
+ segments:
113
+ - 0
114
+ - 9
115
+ - 0
116
+ version: 0.9.0
117
+ type: :development
118
+ version_requirements: *id007
119
+ - !ruby/object:Gem::Dependency
120
+ name: fakeweb
121
+ prerelease: false
122
+ requirement: &id008 !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ~>
125
+ - !ruby/object:Gem::Version
126
+ segments:
127
+ - 1
128
+ - 2
129
+ - 0
130
+ version: 1.2.0
131
+ type: :development
132
+ version_requirements: *id008
133
+ description:
134
+ email: fujibee@gmail.com
135
+ executables: []
136
+
137
+ extensions: []
138
+
139
+ extra_rdoc_files:
140
+ - README.rdoc
141
+ files:
142
+ - History
143
+ - License
144
+ - Notes
145
+ - README.rdoc
146
+ - Rakefile
147
+ - VERSION.yml
148
+ - examples/connect.rb
149
+ - examples/friendship_existance.rb
150
+ - examples/helpers/config_store.rb
151
+ - examples/httpauth.rb
152
+ - examples/ids.rb
153
+ - examples/lists.rb
154
+ - examples/oauth.rb
155
+ - examples/search.rb
156
+ - examples/timeline.rb
157
+ - examples/tumblr.rb
158
+ - examples/unauthorized.rb
159
+ - examples/update.rb
160
+ - examples/user.rb
161
+ - lib/twitter.rb
162
+ - lib/twitter/base.rb
163
+ - lib/twitter/httpauth.rb
164
+ - lib/twitter/local_trends.rb
165
+ - lib/twitter/oauth.rb
166
+ - lib/twitter/request.rb
167
+ - lib/twitter/search.rb
168
+ - lib/twitter/trends.rb
169
+ - test/fixtures/blocking.json
170
+ - test/fixtures/firehose.json
171
+ - test/fixtures/follower_ids.json
172
+ - test/fixtures/followers.json
173
+ - test/fixtures/friend_ids.json
174
+ - test/fixtures/friends_timeline.json
175
+ - test/fixtures/friendship.json
176
+ - test/fixtures/friendship_exists.json
177
+ - test/fixtures/home_timeline.json
178
+ - test/fixtures/ids.json
179
+ - test/fixtures/list.json
180
+ - test/fixtures/list_statuses.json
181
+ - test/fixtures/list_statuses_1_1.json
182
+ - test/fixtures/list_statuses_2_1.json
183
+ - test/fixtures/list_subscriptions.json
184
+ - test/fixtures/list_users.json
185
+ - test/fixtures/lists.json
186
+ - test/fixtures/memberships.json
187
+ - test/fixtures/mentions.json
188
+ - test/fixtures/not_found.json
189
+ - test/fixtures/people_search.json
190
+ - test/fixtures/rate_limit_exceeded.json
191
+ - test/fixtures/report_spam.json
192
+ - test/fixtures/retweet.json
193
+ - test/fixtures/retweeted_by_me.json
194
+ - test/fixtures/retweeted_to_me.json
195
+ - test/fixtures/retweeters_of_tweet.json
196
+ - test/fixtures/retweets.json
197
+ - test/fixtures/retweets_of_me.json
198
+ - test/fixtures/sample-image.png
199
+ - test/fixtures/saved_search.json
200
+ - test/fixtures/saved_searches.json
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/fujibee/twitter-jruby
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 on JRuby
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