t 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,19 @@
1
- unless ENV['CI']
2
- require 'simplecov'
3
- SimpleCov.start do
4
- add_filter 'spec'
5
- end
6
- end
7
-
8
1
  ENV['THOR_COLUMNS'] = "80"
9
2
 
3
+ require 'simplecov'
4
+ require 'coveralls'
5
+
6
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
7
+ SimpleCov::Formatter::HTMLFormatter,
8
+ Coveralls::SimpleCov::Formatter
9
+ ]
10
+ SimpleCov.start
11
+
10
12
  require 't'
13
+ require 'multi_json'
11
14
  require 'rspec'
12
15
  require 'timecop'
13
16
  require 'webmock/rspec'
14
- require 'multi_json'
15
17
 
16
18
  RSpec.configure do |config|
17
19
  config.expect_with :rspec do |c|
@@ -153,9 +153,9 @@ ID,Description,Slug,Screen name,Created at,Members,Subscribers,Following,Mode,UR
153
153
  it "outputs in CSV format" do
154
154
  @list.members("presidents")
155
155
  expect($stdout.string).to eq <<-eos
156
- ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Bio,Status,Location,URL
157
- 14100886,2008-03-08 16:34:22 +0000,2012-07-07 20:33:19 +0000,6940,192,358,3427,5457,pengwynn,Wynn Netherland,false,"Christian, husband, father, GitHubber, Co-host of @thechangelog, Co-author of Sass, Compass, #CSS book http://wynn.fm/sass-meap",@akosmasoftware Sass book! @hcatlin @nex3 are the brains behind Sass. :-),"Denton, TX",http://wynnnetherland.com
158
- 7505382,2007-07-16 12:59:01 +0000,2012-07-08 18:29:20 +0000,7890,3755,118,212,2262,sferik,Erik Michaels-Ober,false,Vagabond.,@goldman You're near my home town! Say hi to Woodstock for me.,San Francisco,https://github.com/sferik
156
+ ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Protected,Bio,Status,Location,URL
157
+ 14100886,2008-03-08 16:34:22 +0000,2012-07-07 20:33:19 +0000,6940,192,358,3427,5457,pengwynn,Wynn Netherland,false,false,"Christian, husband, father, GitHubber, Co-host of @thechangelog, Co-author of Sass, Compass, #CSS book http://wynn.fm/sass-meap",@akosmasoftware Sass book! @hcatlin @nex3 are the brains behind Sass. :-),"Denton, TX",http://wynnnetherland.com
158
+ 7505382,2007-07-16 12:59:01 +0000,2012-07-08 18:29:20 +0000,7890,3755,118,212,2262,sferik,Erik Michaels-Ober,false,false,Vagabond.,@goldman You're near my home town! Say hi to Woodstock for me.,San Francisco,https://github.com/sferik
159
159
  eos
160
160
  end
161
161
  end
@@ -321,78 +321,78 @@ ID Since Last tweeted at Tweets Favorites Listed Following...
321
321
  it "has the correct output" do
322
322
  @list.timeline("presidents")
323
323
  expect($stdout.string).to eq <<-eos
324
- \e[1m\e[33m @mutgoff\e[0m
324
+ @mutgoff
325
325
  Happy Birthday @imdane. Watch out for those @rally pranksters!
326
326
 
327
- \e[1m\e[33m @ironicsans\e[0m
327
+ @ironicsans
328
328
  If you like good real-life stories, check out @NarrativelyNY's just-launched
329
329
  site http://t.co/wiUL07jE (and also visit http://t.co/ZoyQxqWA)
330
330
 
331
- \e[1m\e[33m @pat_shaughnessy\e[0m
331
+ @pat_shaughnessy
332
332
  Something else to vote for: "New Rails workshops to bring more women into the
333
333
  Boston software scene" http://t.co/eNBuckHc /cc @bostonrb
334
334
 
335
- \e[1m\e[33m @calebelston\e[0m
335
+ @calebelston
336
336
  Pushing the button to launch the site. http://t.co/qLoEn5jG
337
337
 
338
- \e[1m\e[33m @calebelston\e[0m
338
+ @calebelston
339
339
  RT @olivercameron: Mosaic looks cool: http://t.co/A8013C9k
340
340
 
341
- \e[1m\e[33m @fivethirtyeight\e[0m
341
+ @fivethirtyeight
342
342
  The Weatherman is Not a Moron: http://t.co/ZwL5Gnq5. An excerpt from my book,
343
343
  THE SIGNAL AND THE NOISE (http://t.co/fNXj8vCE)
344
344
 
345
- \e[1m\e[33m @codeforamerica\e[0m
345
+ @codeforamerica
346
346
  RT @randomhacks: Going to Code Across Austin II: Y'all Come Hack Now, Sat,
347
347
  Sep 8 http://t.co/Sk5BM7U3 We'll see y'all there! #rhok @codeforamerica
348
348
  @TheaClay
349
349
 
350
- \e[1m\e[33m @fbjork\e[0m
350
+ @fbjork
351
351
  RT @jondot: Just published: "Pragmatic Concurrency With #Ruby"
352
352
  http://t.co/kGEykswZ /cc @JRuby @headius
353
353
 
354
- \e[1m\e[33m @mbostock\e[0m
354
+ @mbostock
355
355
  If you are wondering how we computed the split bubbles: http://t.co/BcaqSs5u
356
356
 
357
- \e[1m\e[33m @FakeDorsey\e[0m
357
+ @FakeDorsey
358
358
  "Write drunk. Edit sober."—Ernest Hemingway
359
359
 
360
- \e[1m\e[33m @al3x\e[0m
360
+ @al3x
361
361
  RT @wcmaier: Better banking through better ops: build something new with us
362
362
  @Simplify (remote, PDX) http://t.co/8WgzKZH3
363
363
 
364
- \e[1m\e[33m @calebelston\e[0m
364
+ @calebelston
365
365
  We just announced Mosaic, what we've been working on since the Yobongo
366
366
  acquisition. My personal post, http://t.co/ELOyIRZU @heymosaic
367
367
 
368
- \e[1m\e[33m @BarackObama\e[0m
368
+ @BarackObama
369
369
  Donate $10 or more --> get your favorite car magnet: http://t.co/NfRhl2s2
370
370
  #Obama2012
371
371
 
372
- \e[1m\e[33m @JEG2\e[0m
372
+ @JEG2
373
373
  RT @tenderlove: If corporations are people, can we use them to drive in the
374
374
  carpool lane?
375
375
 
376
- \e[1m\e[33m @eveningedition\e[0m
376
+ @eveningedition
377
377
  LDN—Obama's nomination; Putin woos APEC; Bombs hit Damascus; Quakes shake
378
378
  China; Canada cuts Iran ties; weekend read: http://t.co/OFs6dVW4
379
379
 
380
- \e[1m\e[33m @dhh\e[0m
380
+ @dhh
381
381
  RT @ggreenwald: Democrats parade Osama bin Laden's corpse as their proudest
382
382
  achievement: why this goulish jingoism is so warped http://t.co/kood278s
383
383
 
384
- \e[1m\e[33m @jasonfried\e[0m
384
+ @jasonfried
385
385
  The story of Mars Curiosity's gears, made by a factory in Rockford, IL:
386
386
  http://t.co/MwCRsHQg
387
387
 
388
- \e[1m\e[33m @sferik\e[0m
388
+ @sferik
389
389
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
390
390
  to be missing "1.1" from the URL.
391
391
 
392
- \e[1m\e[33m @sferik\e[0m
392
+ @sferik
393
393
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
394
394
 
395
- \e[1m\e[33m @dwiskus\e[0m
395
+ @dwiskus
396
396
  Gentlemen, you can't fight in here! This is the war room!
397
397
  http://t.co/kMxMYyqF
398
398
 
@@ -41,388 +41,388 @@ describe T::Search do
41
41
  @search.all("twitter")
42
42
  expect($stdout.string).to eq <<-eos
43
43
 
44
- \e[1m\e[33m @saintsday998\e[0m
44
+ @saintsday998
45
45
  Murray Energy Corp. Obama Reelection, Announces Layoffs http://t.co/D1OPtKnw
46
46
  via @HuffPostBiz MAYBE his workers can do something for him ?
47
47
 
48
- \e[1m\e[33m @thlyons\e[0m
48
+ @thlyons
49
49
  Obama Administration Extends Deadline For State Exchanges - Kaiser Health
50
50
  News http://t.co/dyaM4jF1
51
51
 
52
- \e[1m\e[33m @justmaryse\e[0m
52
+ @justmaryse
53
53
  Fox News accidentally insults the intelligence of every Mitt Romney voter in
54
54
  the country. http://t.co/sQbt16RF via @HappyPlace #awkward
55
55
 
56
- \e[1m\e[33m @BlueTrooth\e[0m
56
+ @BlueTrooth
57
57
  RT @AntiWacko: It's hilarious to watch the Conservatives getting hysterical
58
58
  about Pres Obama's re-election. #p2 #tcot
59
59
 
60
- \e[1m\e[33m @robbiegleeson\e[0m
60
+ @robbiegleeson
61
61
  RT @Revolution_IRL: RT if you agree its insane that tubridy gets paid more
62
62
  than obama #LateLate
63
63
 
64
- \e[1m\e[33m @melinwy\e[0m
64
+ @melinwy
65
65
  RT @Kristina_x_x: GOP enthusiasm, was higher, registration was higher, crowds
66
66
  larger, intensity larger. yet Obama won. Hmmmm @mittromney
67
67
 
68
- \e[1m\e[33m @WANT1DTOFOLLOWU\e[0m
68
+ @WANT1DTOFOLLOWU
69
69
  RT @LoveYungCotta: Romney talks about Obama. Obama talks about the nation.
70
70
  Romney says "I." Obama says "We." Pay attention to the small things.
71
71
  #voteobama
72
72
 
73
- \e[1m\e[33m @bodysouls\e[0m
73
+ @bodysouls
74
74
  @RealJonLovitz Did u see this? Barbara Teixeira@BarbArn
75
75
 
76
76
  OBAMA REELECTION TRIGGERS MASSIVE LAYOFFS ACROSS AMERICA http://t.co/kfuILrmE
77
77
 
78
78
 
79
- \e[1m\e[33m @tinasebring\e[0m
79
+ @tinasebring
80
80
  RT @ken24xavier: YES OBAMA we really really believe CIA Director Petraeus
81
81
  Resigns... over extramarital affair? OH LOOK cows flying over the Moon
82
82
 
83
- \e[1m\e[33m @OD_Worrell\e[0m
83
+ @OD_Worrell
84
84
  RT @AP: White House says #Obama will travel to New York on Thursday to view
85
85
  recovery efforts from Superstorm Sandy: http://t.co/MCS6MceM
86
86
 
87
- \e[1m\e[33m @LathamChalaGrp\e[0m
87
+ @LathamChalaGrp
88
88
  Obama Hangs Tough on the Fiscal Cliff His speech increases the likelihood
89
89
  that negotiations will drag on well into 2013
90
90
 
91
- \e[1m\e[33m @sesto09\e[0m
91
+ @sesto09
92
92
  La lettera di Obama sui genitori gay http://t.co/dmFkfbgG
93
93
 
94
- \e[1m\e[33m @NickLoveSlayer\e[0m
94
+ @NickLoveSlayer
95
95
  RT @NewsMCyrus: Despues De que gano Obama las elecciones, empezo a sonar
96
96
  Party In The U.S.A de Miley Cyrus en la casa blanca
97
97
 
98
- \e[1m\e[33m @Ch_pavon17\e[0m
98
+ @Ch_pavon17
99
99
  RT @PrincipeWilli: -Hoy me desperte bien electo. -Jajaja, pinche Obama, eres
100
100
  un desmadre..
101
101
 
102
- \e[1m\e[33m @weeki1\e[0m
102
+ @weeki1
103
103
  RT @jjauthor: #Navy names newest ship - USS Barack Obama #GoNavy
104
104
  http://t.co/F6PGNTjX
105
105
 
106
- \e[1m\e[33m @LugosLove\e[0m
106
+ @LugosLove
107
107
  Wow, Obama Started Crying While He Was Giving A Speech To His Campaign Staff
108
108
 
109
- \e[1m\e[33m @jbrons\e[0m
109
+ @jbrons
110
110
  RT @dwiskus: Obama played OHIO to win 26-24. http://t.co/CEW5XMtc
111
111
 
112
- \e[1m\e[33m @Moondances_\e[0m
112
+ @Moondances_
113
113
  RT @_pedropenna: OBAMA teve o tweet mais retweetado da historia ai e obvio
114
114
  que as fãs do justin vão falar: VAMOS BATER ESSE
115
115
  RECORDDDDDDDDDDDDDDDDDDDDDDDDDDDD
116
116
 
117
- \e[1m\e[33m @matthew_austin4\e[0m
117
+ @matthew_austin4
118
118
  No, I will not shut up. I don't like Obama. I will continue to tweet my mind.
119
119
 
120
- \e[1m\e[33m @FreebirdForever\e[0m
120
+ @FreebirdForever
121
121
  RT @Bobprintdoc: @vickikellar vicki your overdrawn on your Obama bashing
122
122
  account please insert 16,000,000,000,000 dollars or whatever the national
123
123
  debt is
124
124
 
125
- \e[1m\e[33m @_WHOOPdefckindo\e[0m
125
+ @_WHOOPdefckindo
126
126
  RT @RiIeyJokess: ME: who you voting for? WHITE PEOPLE: I rather not discuss
127
127
  that with you.
128
128
 
129
129
  ME: who you voting for?? BLACK PEOPLE: TF U MEAN?? OBAMA N*GGA!
130
130
 
131
- \e[1m\e[33m @nikkipjah\e[0m
131
+ @nikkipjah
132
132
  #Obama's track record with #HumanRights http://t.co/fTrjJHtB
133
133
 
134
- \e[1m\e[33m @pandphomemades\e[0m
134
+ @pandphomemades
135
135
  RT @JewPublican: Think about it. All of big Hollywood supported obama.
136
136
  Everything we see now is pretty much out of movies. Truth is Stranger than
137
137
  Fiction!
138
138
 
139
- \e[1m\e[33m @Vita__Nova\e[0m
139
+ @Vita__Nova
140
140
  Bunda rus-israil ittifakının etkisi çok büyük. Obama ilk ziyaretini
141
141
  Türkiye'ye yapmayacak. Yoksa hedef tahtasında olur.
142
142
 
143
- \e[1m\e[33m @tv6tnt\e[0m
143
+ @tv6tnt
144
144
  White House says Obama will travel to New York on Thursday to view recovery
145
145
  efforts from Superstorm Sandy
146
146
 
147
- \e[1m\e[33m @ricardo126234\e[0m
147
+ @ricardo126234
148
148
  @Jacquie0415 @gregwhoward obama is not a muslim. Whatever fox news channel
149
149
  you got that from was lying to you.
150
150
 
151
- \e[1m\e[33m @LifesaBishh\e[0m
151
+ @LifesaBishh
152
152
  RT @SomeoneBelow: The person below is complaining about Obama.
153
153
 
154
- \e[1m\e[33m @I_Fuk_Wid_OBAMA\e[0m
154
+ @I_Fuk_Wid_OBAMA
155
155
  :) #Pixect http://t.co/jZxz8JeC
156
156
 
157
- \e[1m\e[33m @llParadisell\e[0m
157
+ @llParadisell
158
158
  Why Libya Cover-Up: Obama Was Arming Al Qaeda & Islamists
159
159
  http://t.co/erdKx6HD
160
160
 
161
- \e[1m\e[33m @naiburnwoood\e[0m
161
+ @naiburnwoood
162
162
  RT @StephenAtHome: I still can't believe Obama won. I will do everything in
163
163
  my power to make sure this is his LAST term as president!
164
164
 
165
- \e[1m\e[33m @Neo_Sweetness\e[0m
165
+ @Neo_Sweetness
166
166
  RT @5oodaysofautumn: #Obama crying choked me up NEVER SEEN A PRES DO THAT. U
167
167
  CAN TELL HIS INTENTIONS ARE IN THE RIGHT PLACE TO LEAD http://t.co/oez0ySOl
168
168
 
169
- \e[1m\e[33m @vcAraceli\e[0m
169
+ @vcAraceli
170
170
  RT @jusxy: Obama what's my name? Obama what's my name? OBAMA what's my name?
171
171
  what's my name? .... #OBALIEN what's my name
172
172
 
173
- \e[1m\e[33m @notsoslimshadys\e[0m
173
+ @notsoslimshadys
174
174
  RT @harrynstuff: I bet one day stalker sarah stalks her way into the white
175
175
  house she'll just take a picture from Obama's bedroom
176
176
 
177
- \e[1m\e[33m @ThinksLogical\e[0m
177
+ @ThinksLogical
178
178
  RT @dlb703: The difference between Romney and Obama supporters? Romney's look
179
179
  like they just got out of church. Obama's look like they're out on parole.
180
180
 
181
- \e[1m\e[33m @pabloirossi\e[0m
181
+ @pabloirossi
182
182
  Obama, ante el precipicio fiscal: "Tengo mi boligrafo listo para firmar"
183
183
  http://t.co/m5Q6O0lq via @expansioncom
184
184
 
185
- \e[1m\e[33m @mermaid6590\e[0m
185
+ @mermaid6590
186
186
  @LeslieMHooper I think Obama and Chris Christie are having an affair! LMAO!!!
187
187
 
188
- \e[1m\e[33m @n_mariee3\e[0m
188
+ @n_mariee3
189
189
  RT @SAMhOes: Lmao #Obama http://t.co/uxLqQ8zq
190
190
 
191
- \e[1m\e[33m @soso2583\e[0m
191
+ @soso2583
192
192
  RT @20Minutes: Pour Obama, les Americains les plus riches doivent payer plus
193
193
  d'impôts http://t.co/PiZXc0Ty
194
194
 
195
- \e[1m\e[33m @desertkev\e[0m
195
+ @desertkev
196
196
  @k_m_allan I'm more about #Obama being banished.
197
197
 
198
- \e[1m\e[33m @blakecallaway\e[0m
198
+ @blakecallaway
199
199
  yo why did obama have to win
200
200
 
201
- \e[1m\e[33m @AlondraMiaa\e[0m
201
+ @AlondraMiaa
202
202
  RT @FaithOn1D: "Las hijas de Obama conocieron a los Jonas, a Justin Bieber y
203
203
  ahora conocerán a One Direction" @BarackObama ¡HOLA PAPIIIIIIIIIII!
204
204
 
205
- \e[1m\e[33m @4iHD\e[0m
205
+ @4iHD
206
206
  Szef CIA zrezygnował przez romans. Obama "trzyma kciuki za niego i żonę"
207
207
  http://t.co/XiPB0RSW
208
208
 
209
- \e[1m\e[33m @fcukjessi\e[0m
209
+ @fcukjessi
210
210
  RT @JosieNelson7: Obama yeehaw http://t.co/DJxtDlAk
211
211
 
212
- \e[1m\e[33m @Evilazio\e[0m
212
+ @Evilazio
213
213
  Obama "decepciona" mercados. Idiotice! Os mercados estão sendo movidos pela
214
214
  China, que retoma crescimento. So os ricos estão preocupados.
215
215
 
216
- \e[1m\e[33m @carolynedgar\e[0m
216
+ @carolynedgar
217
217
  @GoAngelo let's just speculate that Petraeus was having an affair WITH Obama
218
218
  and they conspired during pillow talk to cover up Benghazi.
219
219
 
220
- \e[1m\e[33m @bob_mor\e[0m
220
+ @bob_mor
221
221
  RT @NoticiasCaracol: Obama acepta renuncia del director de la CIA, que deja
222
222
  el cargo tras reconocer que tuvo relacion extramatrimonial
223
223
  http://t.co/uU6j0p7q
224
224
 
225
- \e[1m\e[33m @NotBarack\e[0m
225
+ @NotBarack
226
226
  FEMA Failed/Obama Hailed #Sandy #tcot #obama
227
227
 
228
- \e[1m\e[33m @georgiaokeeffex\e[0m
228
+ @georgiaokeeffex
229
229
  Obama
230
230
 
231
- \e[1m\e[33m @LLW83\e[0m
231
+ @LLW83
232
232
  RT @TheDailyEdge: Obama has a mandate to raise taxes on top 2% to Clinton-era
233
233
  levels. To stop him, the "anti-tax" GOP will raise taxes on 100% of us
234
234
  #insanity
235
235
 
236
- \e[1m\e[33m @aylin_arellanoo\e[0m
236
+ @aylin_arellanoo
237
237
  RT @lupiss14: - Ya viste que gano el PRI en EU? -¿El PRI? - Si, el PRIeto de
238
238
  Obama.
239
239
 
240
- \e[1m\e[33m @ASyrupp\e[0m
240
+ @ASyrupp
241
241
  @realDonaldTrump hey idiot-obama won pop. vote&electoral. What's the baby
242
242
  with the toupee crying bout? U Deleted revolution tweet? Coward
243
243
 
244
- \e[1m\e[33m @JConason\e[0m
244
+ @JConason
245
245
  RT @HuffingtonPost: CEO who forced workers to attend Romney rally now
246
246
  promises layoffs http://t.co/nZ15MB9x
247
247
 
248
- \e[1m\e[33m @hwain_96\e[0m
248
+ @hwain_96
249
249
  RT @_Ken_barlow_: Cameron: "I look forward to working with Obama for the next
250
250
  four years." 2 years Dave, 2 years.
251
251
 
252
- \e[1m\e[33m @shetrulylovedya\e[0m
252
+ @shetrulylovedya
253
253
  ate o obama e a familia dançam o gangnam style...
254
254
 
255
- \e[1m\e[33m @r9mcgon\e[0m
255
+ @r9mcgon
256
256
  RT @Mike_hugs: Nixon +Kissinger tested the theory that if you bomb a country
257
257
  and risk no U.S. lives the anti-war movement fizzles. Obama proved it
258
258
  correct.
259
259
 
260
- \e[1m\e[33m @skew11\e[0m
260
+ @skew11
261
261
  RT @RepJeffDuncan: 102 miners laid off in Utah as a direct result of
262
262
  President Obama's policies. http://t.co/35lZ7Zmv
263
263
 
264
- \e[1m\e[33m @ayyuradita\e[0m
264
+ @ayyuradita
265
265
  Congratulation for barack obama [pic] — http://t.co/OJy8DE6T
266
266
 
267
- \e[1m\e[33m @homeoffice_biz\e[0m
267
+ @homeoffice_biz
268
268
  Hugo Chavez Offers Obama Some Advice: Fresh off his own reelection,
269
269
  Venezuelan President Hugo Chavez has a stron... http://t.co/HD7dUzVg
270
270
 
271
- \e[1m\e[33m @donthebear\e[0m
271
+ @donthebear
272
272
  Bone head and Google eys would not answer the POTUS phone call!
273
273
  http://t.co/rra6QAiw
274
274
 
275
- \e[1m\e[33m @Imercuryinfo\e[0m
275
+ @Imercuryinfo
276
276
  9% Inflation, Obama Care, fewer rights in our socialist future even if Romney
277
277
  had won. http://t.co/0ZAO8Xv6
278
278
 
279
- \e[1m\e[33m @lege_atque_lacr\e[0m
279
+ @lege_atque_lacr
280
280
  Obama holds firm to tax hikes (That is his DNA) http://t.co/TgRk59ir via
281
281
  @foxbusiness
282
282
 
283
- \e[1m\e[33m @vldpopov\e[0m
283
+ @vldpopov
284
284
  So, selling Obama is similar to selling yoghurts - Secret Data Crunchers Who
285
285
  Helped Obama Win http://t.co/dt5w3xuE via @TIMEPolitics
286
286
 
287
- \e[1m\e[33m @DanieMilli_anne\e[0m
287
+ @DanieMilli_anne
288
288
  then they really wanna argue about it..like what you mad at? Obama is
289
289
  president don't waste your emotion.
290
290
 
291
- \e[1m\e[33m @Says_The_King\e[0m
291
+ @Says_The_King
292
292
  I got me an Obama momma. She always be puttin some free money in my account
293
293
 
294
- \e[1m\e[33m @Tatts_N_Dreads\e[0m
294
+ @Tatts_N_Dreads
295
295
  RT @CNNMoney: Gun sales are up after Obama's reelection, driven by fears of
296
296
  tighter regulation, especially for assault weapons. http://t.co/KEOgWSG9
297
297
 
298
- \e[1m\e[33m @mensadude\e[0m
298
+ @mensadude
299
299
  Ron Paul: Election shows U.S. 'far gone' http://t.co/CQoYn2iQ #tcot #teaparty
300
300
  #ronpaul #unemployment #deficit #jobs #gop #USHOUSE #OBAMA
301
301
 
302
- \e[1m\e[33m @IKrUsHiNsKi\e[0m
302
+ @IKrUsHiNsKi
303
303
  @britney_brinae lol move to Canada if u like Obama sorry this countries not
304
304
  socialist. Ignorance at its finest.
305
305
 
306
- \e[1m\e[33m @mgracer514\e[0m
306
+ @mgracer514
307
307
  @SpeakerBoehner Do NOT give in To Obama John!!! He and Harry Reid KNOW
308
308
  raising taxes on the job creators will not create more tax revenue!!!
309
309
 
310
- \e[1m\e[33m @leenpaape\e[0m
310
+ @leenpaape
311
311
  RT @TheEconomist: Video: Barack Obama looks ahead to four more years and
312
312
  China reveals its next leaders http://t.co/qpho3KlS
313
313
 
314
- \e[1m\e[33m @Timmermanscm\e[0m
314
+ @Timmermanscm
315
315
  RT @__Wieke__: Net als in Nederland, toch?! @NOS: Obama: rijken moeten meer
316
316
  belasting betalen http://t.co/gDEN4urK"
317
317
 
318
- \e[1m\e[33m @ColeMurdock24\e[0m
318
+ @ColeMurdock24
319
319
  People who like the snow also voted for Obama.
320
320
 
321
- \e[1m\e[33m @tbest\e[0m
321
+ @tbest
322
322
  Awesome. "@daringfireball: 'Obama Played OHIO to Win 26-24':
323
323
  http://t.co/D2eP8EKy"
324
324
 
325
- \e[1m\e[33m @ibtxhis_SaMone\e[0m
325
+ @ibtxhis_SaMone
326
326
  RT @WeirdFact: President Obama was known to be heavy marijuana smoker in his
327
327
  teen and college days. His nickname used to be "Barack Oganja".
328
328
 
329
- \e[1m\e[33m @alejandrita_lm\e[0m
329
+ @alejandrita_lm
330
330
  RT @VaneEscobarR: Las hijas de Obama conocieron a los Jonas, a Justin y
331
331
  consiguieron primera fila para ver a One Direction ¡OBAMA ADOPTAME!
332
332
 
333
- \e[1m\e[33m @stewie64\e[0m
333
+ @stewie64
334
334
  RT @DanRiehl: How does this work, anyway? Does the media let Obama vet it's
335
335
  questions for everyone?
336
336
 
337
- \e[1m\e[33m @Evilpa\e[0m
337
+ @Evilpa
338
338
  RT @AACONS: How does Obama's plan to close 1.6M acres of fed land to shale
339
339
  development fit in his plan to create jobs? http://t.co/FOYjcxP6 #tcot #acon
340
340
 
341
- \e[1m\e[33m @DayKadence\e[0m
341
+ @DayKadence
342
342
  RT @Frances_D: Pundit Press: What Luck! Obama Won Dozens of Cleveland
343
343
  Districts... http://t.co/xwWpcpAV
344
344
 
345
- \e[1m\e[33m @Mel_DaOne_\e[0m
345
+ @Mel_DaOne_
346
346
  Nah, that ain't right RT @julieisthatcool: I'll fuck Obama wife
347
347
 
348
- \e[1m\e[33m @Aslans_Girl\e[0m
348
+ @Aslans_Girl
349
349
  Pundit Press: What Luck! Obama Won Dozens of Cleveland Districts...
350
350
  http://t.co/aCMvGeUr
351
351
 
352
- \e[1m\e[33m @crazyinms\e[0m
352
+ @crazyinms
353
353
  RT @Clickman8: I'm sure PUTIN, HUGO,CASTRO & AhMADinejad are thrilled over
354
354
  the outcome of the Election! OBAMA fits quite nicely in2 their Circle of
355
355
  Friends
356
356
 
357
- \e[1m\e[33m @JaeGun_LaoLin\e[0m
357
+ @JaeGun_LaoLin
358
358
  RT @Kennyment: POURQUOI VOUS INVENTEZ DES PAIRINGS COMME ÇA ? LE PIRE QUE
359
359
  J'AI VU DE TOUTE MA VIE C'ETAIT OBATAE. OBAMA/TAEMIN.
360
360
 
361
- \e[1m\e[33m @borealizz\e[0m
361
+ @borealizz
362
362
  RT @utaustinliberal: Jake Tapper demands Carney release a tick-tock of where
363
363
  Pres. Obama was during the Benghazi attack. Shorter Carney: Who the f**k are
364
364
  you?
365
365
 
366
- \e[1m\e[33m @justessheather\e[0m
366
+ @justessheather
367
367
  My uncle posted a picture on facebook of seagulls on a shore and said it was
368
368
  "Obama's supporters waiting for their handouts" lmfao I can't.
369
369
 
370
- \e[1m\e[33m @maxD_ooUt\e[0m
370
+ @maxD_ooUt
371
371
  "@JennaNanci: My family is fucked because Obama is the president." Join the
372
372
  club
373
373
 
374
- \e[1m\e[33m @KacyleneS\e[0m
374
+ @KacyleneS
375
375
  RT @ArsheanaLaNesha: White gyrls yall fucking black nigghas so stop riding
376
376
  OBAMA DICK DAMN
377
377
 
378
- \e[1m\e[33m @Imercuryinfo\e[0m
378
+ @Imercuryinfo
379
379
  I uploaded a @YouTube video http://t.co/BgQkRT5u 9% Inflation, Obama Care,
380
380
  fewer rights in our socialist future even if Romney had
381
381
 
382
- \e[1m\e[33m @MuslimGeezer\e[0m
382
+ @MuslimGeezer
383
383
  Aung San Suu Kyi initially opposed Obama's Burma trip http://t.co/rntYv65C
384
384
 
385
- \e[1m\e[33m @MDiPasquale1999\e[0m
385
+ @MDiPasquale1999
386
386
  @MarciaCM1 @royparrish of course Obama accepted his resignation because he
387
387
  wrote his "resignation."
388
388
 
389
- \e[1m\e[33m @TigerBaby84\e[0m
389
+ @TigerBaby84
390
390
  RT @BreitbartNews: Obama: No Deal Without Tax Hikes: The lines are now set
391
391
  for the battle over the fiscal cliff. The fiscal cliff, ...
392
392
  http://t.co/YDHgzwFE
393
393
 
394
- \e[1m\e[33m @CriticalMassTX\e[0m
394
+ @CriticalMassTX
395
395
  RT @thinkprogress: The 6 best overreactions to Obama's win. watch Glenn
396
396
  Beck's rant. spooky shit http://t.co/sZfQkkLd via @ARStrasser #icymi
397
397
 
398
- \e[1m\e[33m @cobe001001\e[0m
398
+ @cobe001001
399
399
  RT @whitehouse: President Obama: "I'm committed to solving our fiscal
400
400
  challenges. But I refuse to accept any approach that isn't balanced."
401
401
 
402
- \e[1m\e[33m @MeganPanatier\e[0m
402
+ @MeganPanatier
403
403
  City of Obama to invite Obama to Japan - The Tokyo Times http://t.co/1SwafGOM
404
404
  via @TheTokyoTimes
405
405
 
406
- \e[1m\e[33m @Katie_janca\e[0m
406
+ @Katie_janca
407
407
  RT @140elect: Hillary Clinton has said for years she wont serve in Obama's
408
408
  second term. Now if/when she resigns #Benghazi conspiracists will go crazy.
409
409
 
410
- \e[1m\e[33m @Linapooh1\e[0m
410
+ @Linapooh1
411
411
  Sumbody had to do it!! The Obama Car! http://t.co/NLSrOT4A
412
412
 
413
- \e[1m\e[33m @cinrui\e[0m
413
+ @cinrui
414
414
  RT @SeanKCarter: Oliver Stone "I find Obama scary!" So do we Mr. Stone, so do
415
415
  we... http://t.co/39YIdQkq #tcot
416
416
 
417
- \e[1m\e[33m @nthowa2\e[0m
417
+ @nthowa2
418
418
  Obama in a cover up folks! Are we this dumb? CIA Director Petraeus Resigns
419
419
  Over 'Affair' http://t.co/ZKu297Gz via @BreitbartNews
420
420
 
421
- \e[1m\e[33m @dirtyvic_1\e[0m
421
+ @dirtyvic_1
422
422
  @glennbeck @seahannity Commander Fitzpatrick Files Treason Charges Against
423
423
  Barack Obama #teaparty #UT #Election http://t.co/T9GHyUZ4
424
424
 
425
- \e[1m\e[33m @SteveCaruso\e[0m
425
+ @SteveCaruso
426
426
  Great election background....http://t.co/HwdVs40N
427
427
 
428
428
  eos
@@ -706,11 +706,11 @@ ID Posted at Screen name Text
706
706
  it "has the correct output" do
707
707
  @search.favorites("twitter")
708
708
  expect($stdout.string).to eq <<-eos
709
- \e[1m\e[33m @sferik\e[0m
709
+ @sferik
710
710
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
711
711
  to be missing "1.1" from the URL.
712
712
 
713
- \e[1m\e[33m @sferik\e[0m
713
+ @sferik
714
714
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
715
715
 
716
716
  eos
@@ -779,11 +779,11 @@ ID Posted at Screen name Text
779
779
  it "has the correct output" do
780
780
  @search.favorites("sferik", "twitter")
781
781
  expect($stdout.string).to eq <<-eos
782
- \e[1m\e[33m @sferik\e[0m
782
+ @sferik
783
783
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
784
784
  to be missing "1.1" from the URL.
785
785
 
786
- \e[1m\e[33m @sferik\e[0m
786
+ @sferik
787
787
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
788
788
 
789
789
  eos
@@ -802,11 +802,11 @@ ID Posted at Screen name Text
802
802
  it "has the correct output" do
803
803
  @search.favorites("7505382", "twitter")
804
804
  expect($stdout.string).to eq <<-eos
805
- \e[1m\e[33m @sferik\e[0m
805
+ @sferik
806
806
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
807
807
  to be missing "1.1" from the URL.
808
808
 
809
- \e[1m\e[33m @sferik\e[0m
809
+ @sferik
810
810
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
811
811
 
812
812
  eos
@@ -828,11 +828,11 @@ ID Posted at Screen name Text
828
828
  it "has the correct output" do
829
829
  @search.mentions("twitter")
830
830
  expect($stdout.string).to eq <<-eos
831
- \e[1m\e[33m @sferik\e[0m
831
+ @sferik
832
832
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
833
833
  to be missing "1.1" from the URL.
834
834
 
835
- \e[1m\e[33m @sferik\e[0m
835
+ @sferik
836
836
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
837
837
 
838
838
  eos
@@ -903,11 +903,11 @@ ID Posted at Screen name Text
903
903
  it "has the correct output" do
904
904
  @search.list("presidents", "twitter")
905
905
  expect($stdout.string).to eq <<-eos
906
- \e[1m\e[33m @sferik\e[0m
906
+ @sferik
907
907
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
908
908
  to be missing "1.1" from the URL.
909
909
 
910
- \e[1m\e[33m @sferik\e[0m
910
+ @sferik
911
911
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
912
912
 
913
913
  eos
@@ -996,7 +996,7 @@ ID Posted at Screen name Text
996
996
  it "has the correct output" do
997
997
  @search.retweets("mosaic")
998
998
  expect($stdout.string).to eq <<-eos
999
- \e[1m\e[33m @calebelston\e[0m
999
+ @calebelston
1000
1000
  RT @olivercameron: Mosaic looks cool: http://t.co/A8013C9k
1001
1001
 
1002
1002
  eos
@@ -1063,7 +1063,7 @@ ID Posted at Screen name Text
1063
1063
  it "has the correct output" do
1064
1064
  @search.retweets("sferik", "mosaic")
1065
1065
  expect($stdout.string).to eq <<-eos
1066
- \e[1m\e[33m @calebelston\e[0m
1066
+ @calebelston
1067
1067
  RT @olivercameron: Mosaic looks cool: http://t.co/A8013C9k
1068
1068
 
1069
1069
  eos
@@ -1082,7 +1082,7 @@ ID Posted at Screen name Text
1082
1082
  it "has the correct output" do
1083
1083
  @search.retweets("7505382", "mosaic")
1084
1084
  expect($stdout.string).to eq <<-eos
1085
- \e[1m\e[33m @calebelston\e[0m
1085
+ @calebelston
1086
1086
  RT @olivercameron: Mosaic looks cool: http://t.co/A8013C9k
1087
1087
 
1088
1088
  eos
@@ -1104,11 +1104,11 @@ ID Posted at Screen name Text
1104
1104
  it "has the correct output" do
1105
1105
  @search.timeline("twitter")
1106
1106
  expect($stdout.string).to eq <<-eos
1107
- \e[1m\e[33m @sferik\e[0m
1107
+ @sferik
1108
1108
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
1109
1109
  to be missing "1.1" from the URL.
1110
1110
 
1111
- \e[1m\e[33m @sferik\e[0m
1111
+ @sferik
1112
1112
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
1113
1113
 
1114
1114
  eos
@@ -1179,6 +1179,16 @@ ID Posted at Screen name Text
1179
1179
  eos
1180
1180
  end
1181
1181
  end
1182
+ context "--max-id" do
1183
+ before do
1184
+ @search.options = @search.options.merge("max_id" => 244104558433951744)
1185
+ stub_get("/1.1/statuses/home_timeline.json").with(:query => {:count => "200", :max_id => "244104558433951744"}).to_return(:body => fixture("statuses.json"))
1186
+ end
1187
+ it "requests the correct resource" do
1188
+ @search.timeline("twitter")
1189
+ expect(a_get("/1.1/statuses/home_timeline.json").with(:query => {:count => "200", :max_id => "244104558433951744"})).to have_been_made
1190
+ end
1191
+ end
1182
1192
  context "--since-id" do
1183
1193
  before do
1184
1194
  @search.options = @search.options.merge("since_id" => 244104558433951744)
@@ -1213,11 +1223,11 @@ ID Posted at Screen name Text
1213
1223
  it "has the correct output" do
1214
1224
  @search.timeline("sferik", "twitter")
1215
1225
  expect($stdout.string).to eq <<-eos
1216
- \e[1m\e[33m @sferik\e[0m
1226
+ @sferik
1217
1227
  @episod @twitterapi now https://t.co/I17jUTu2 and https://t.co/deDu4Hgw seem
1218
1228
  to be missing "1.1" from the URL.
1219
1229
 
1220
- \e[1m\e[33m @sferik\e[0m
1230
+ @sferik
1221
1231
  @episod @twitterapi Did you catch https://t.co/VHsQvZT0 as well?
1222
1232
 
1223
1233
  eos
@@ -1260,6 +1270,16 @@ ID Posted at Screen name Text
1260
1270
  eos
1261
1271
  end
1262
1272
  end
1273
+ context "--max-id" do
1274
+ before do
1275
+ @search.options = @search.options.merge("max_id" => 244104558433951744)
1276
+ stub_get("/1.1/statuses/user_timeline.json").with(:query => {:count => "200", :screen_name => "sferik", :max_id => "244104558433951744"}).to_return(:body => fixture("statuses.json"))
1277
+ end
1278
+ it "requests the correct resource" do
1279
+ @search.timeline("sferik", "twitter")
1280
+ expect(a_get("/1.1/statuses/user_timeline.json").with(:query => {:count => "200", :screen_name => "sferik", :max_id => "244104558433951744"})).to have_been_made
1281
+ end
1282
+ end
1263
1283
  context "--since-id" do
1264
1284
  before do
1265
1285
  @search.options = @search.options.merge("since_id" => 244104558433951744)
@@ -1307,9 +1327,9 @@ ID Posted at Screen name Text
1307
1327
  it "outputs in CSV format" do
1308
1328
  @search.users("Erik")
1309
1329
  expect($stdout.string).to eq <<-eos
1310
- ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Bio,Status,Location,URL
1311
- 14100886,2008-03-08 16:34:22 +0000,2012-07-07 20:33:19 +0000,6940,192,358,3427,5457,pengwynn,Wynn Netherland,false,"Christian, husband, father, GitHubber, Co-host of @thechangelog, Co-author of Sass, Compass, #CSS book http://wynn.fm/sass-meap",@akosmasoftware Sass book! @hcatlin @nex3 are the brains behind Sass. :-),"Denton, TX",http://wynnnetherland.com
1312
- 7505382,2007-07-16 12:59:01 +0000,2012-07-08 18:29:20 +0000,7890,3755,118,212,2262,sferik,Erik Michaels-Ober,false,Vagabond.,@goldman You're near my home town! Say hi to Woodstock for me.,San Francisco,https://github.com/sferik
1330
+ ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Protected,Bio,Status,Location,URL
1331
+ 14100886,2008-03-08 16:34:22 +0000,2012-07-07 20:33:19 +0000,6940,192,358,3427,5457,pengwynn,Wynn Netherland,false,false,"Christian, husband, father, GitHubber, Co-host of @thechangelog, Co-author of Sass, Compass, #CSS book http://wynn.fm/sass-meap",@akosmasoftware Sass book! @hcatlin @nex3 are the brains behind Sass. :-),"Denton, TX",http://wynnnetherland.com
1332
+ 7505382,2007-07-16 12:59:01 +0000,2012-07-08 18:29:20 +0000,7890,3755,118,212,2262,sferik,Erik Michaels-Ober,false,false,Vagabond.,@goldman You're near my home town! Say hi to Woodstock for me.,San Francisco,https://github.com/sferik
1313
1333
  eos
1314
1334
  end
1315
1335
  end