t 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +121 -103
- data/lib/t/cli.rb +12 -6
- data/lib/t/core_ext/enumerable.rb +5 -8
- data/lib/t/printable.rb +16 -9
- data/lib/t/search.rb +4 -2
- data/lib/t/version.rb +1 -1
- data/spec/cli_spec.rb +181 -181
- data/spec/helper.rb +2 -0
- data/spec/list_spec.rb +37 -37
- data/spec/search_spec.rb +100 -100
- data/t.gemspec +1 -1
- metadata +10 -4
data/spec/helper.rb
CHANGED
data/spec/list_spec.rb
CHANGED
@@ -227,9 +227,9 @@ ID,Since,Tweets,Favorites,Listed,Following,Followers,Screen name,Name
|
|
227
227
|
it "should output in long format" do
|
228
228
|
@list.members("presidents")
|
229
229
|
$stdout.string.should == <<-eos
|
230
|
-
ID Since Tweets Favorites Listed Following Followers
|
231
|
-
14100886 Mar 8 2008 3,913 32 185 1,871 2,767 @
|
232
|
-
7505382
|
230
|
+
ID Since Tweets Favorites Listed Following Followers Scre...
|
231
|
+
14100886 Mar 8 2008 3,913 32 185 1,871 2,767 @pen...
|
232
|
+
7505382 Jul 16 2007 2,962 727 29 88 898 @sfe...
|
233
233
|
eos
|
234
234
|
end
|
235
235
|
end
|
@@ -403,23 +403,23 @@ ID,Posted at,Screen name,Text
|
|
403
403
|
@list.timeline("presidents")
|
404
404
|
$stdout.string.should == <<-eos
|
405
405
|
ID Posted at Screen name Text
|
406
|
-
194548121416630272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT
|
407
|
-
194547993607806976 Apr 23 2011 @TD @kelseysilver how long will
|
408
|
-
194547987593183233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena
|
409
|
-
194547824690597888 Apr 23 2011 @fat @stevej @xc i'm going to
|
410
|
-
194547658562605057 Apr 23 2011 @wil @0x9900 @paulnivin http://t
|
411
|
-
194547528430137344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh,
|
412
|
-
194547402550689793 Apr 23 2011 @shinypb @kpk Pfft, I think you're
|
413
|
-
194547260233760768 Apr 23 2011 @0x9900 @wil @paulnivin if you want
|
414
|
-
194547084349804544 Apr 23 2011 @kpk @shinypb @skilldrick @
|
415
|
-
194546876782092291 Apr 23 2011 @skilldrick @shinypb Well played :) @
|
416
|
-
194546811480969217 Apr 23 2011 @sam Can someone project the date
|
417
|
-
194546738810458112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow,
|
418
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now
|
419
|
-
194546649203347456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys
|
420
|
-
194546583608639488 Apr 23 2011 @sean @mep Thanks for coming by.
|
421
|
-
194546388707717120 Apr 23 2011 @hoverbird @shinypb @trammell it's all
|
422
|
-
194546264212385793 Apr 23 2011 @kelseysilver San Francisco here I come! (
|
406
|
+
194548121416630272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT...
|
407
|
+
194547993607806976 Apr 23 2011 @TD @kelseysilver how long will ...
|
408
|
+
194547987593183233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena tog...
|
409
|
+
194547824690597888 Apr 23 2011 @fat @stevej @xc i'm going to pic...
|
410
|
+
194547658562605057 Apr 23 2011 @wil @0x9900 @paulnivin http://t....
|
411
|
+
194547528430137344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, ...
|
412
|
+
194547402550689793 Apr 23 2011 @shinypb @kpk Pfft, I think you're fo...
|
413
|
+
194547260233760768 Apr 23 2011 @0x9900 @wil @paulnivin if you want ...
|
414
|
+
194547084349804544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverb...
|
415
|
+
194546876782092291 Apr 23 2011 @skilldrick @shinypb Well played :) @hov...
|
416
|
+
194546811480969217 Apr 23 2011 @sam Can someone project the date...
|
417
|
+
194546738810458112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, ...
|
418
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owni...
|
419
|
+
194546649203347456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys...
|
420
|
+
194546583608639488 Apr 23 2011 @sean @mep Thanks for coming by. W...
|
421
|
+
194546388707717120 Apr 23 2011 @hoverbird @shinypb @trammell it's all ...
|
422
|
+
194546264212385793 Apr 23 2011 @kelseysilver San Francisco here I come! (...
|
423
423
|
eos
|
424
424
|
end
|
425
425
|
context "--reverse" do
|
@@ -430,23 +430,23 @@ ID Posted at Screen name Text
|
|
430
430
|
@list.timeline("presidents")
|
431
431
|
$stdout.string.should == <<-eos
|
432
432
|
ID Posted at Screen name Text
|
433
|
-
194546264212385793 Apr 23 2011 @kelseysilver San Francisco here I come! (
|
434
|
-
194546388707717120 Apr 23 2011 @hoverbird @shinypb @trammell it's all
|
435
|
-
194546583608639488 Apr 23 2011 @sean @mep Thanks for coming by.
|
436
|
-
194546649203347456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys
|
437
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now
|
438
|
-
194546738810458112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow,
|
439
|
-
194546811480969217 Apr 23 2011 @sam Can someone project the date
|
440
|
-
194546876782092291 Apr 23 2011 @skilldrick @shinypb Well played :) @
|
441
|
-
194547084349804544 Apr 23 2011 @kpk @shinypb @skilldrick @
|
442
|
-
194547260233760768 Apr 23 2011 @0x9900 @wil @paulnivin if you want
|
443
|
-
194547402550689793 Apr 23 2011 @shinypb @kpk Pfft, I think you're
|
444
|
-
194547528430137344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh,
|
445
|
-
194547658562605057 Apr 23 2011 @wil @0x9900 @paulnivin http://t
|
446
|
-
194547824690597888 Apr 23 2011 @fat @stevej @xc i'm going to
|
447
|
-
194547987593183233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena
|
448
|
-
194547993607806976 Apr 23 2011 @TD @kelseysilver how long will
|
449
|
-
194548121416630272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT
|
433
|
+
194546264212385793 Apr 23 2011 @kelseysilver San Francisco here I come! (...
|
434
|
+
194546388707717120 Apr 23 2011 @hoverbird @shinypb @trammell it's all ...
|
435
|
+
194546583608639488 Apr 23 2011 @sean @mep Thanks for coming by. W...
|
436
|
+
194546649203347456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys...
|
437
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owni...
|
438
|
+
194546738810458112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, ...
|
439
|
+
194546811480969217 Apr 23 2011 @sam Can someone project the date...
|
440
|
+
194546876782092291 Apr 23 2011 @skilldrick @shinypb Well played :) @hov...
|
441
|
+
194547084349804544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverb...
|
442
|
+
194547260233760768 Apr 23 2011 @0x9900 @wil @paulnivin if you want ...
|
443
|
+
194547402550689793 Apr 23 2011 @shinypb @kpk Pfft, I think you're fo...
|
444
|
+
194547528430137344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, ...
|
445
|
+
194547658562605057 Apr 23 2011 @wil @0x9900 @paulnivin http://t....
|
446
|
+
194547824690597888 Apr 23 2011 @fat @stevej @xc i'm going to pic...
|
447
|
+
194547987593183233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena tog...
|
448
|
+
194547993607806976 Apr 23 2011 @TD @kelseysilver how long will ...
|
449
|
+
194548121416630272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT...
|
450
450
|
eos
|
451
451
|
end
|
452
452
|
end
|
data/spec/search_spec.rb
CHANGED
@@ -90,21 +90,21 @@ ID,Posted at,Screen name,Text
|
|
90
90
|
@search.all("twitter")
|
91
91
|
$stdout.string.should == <<-eos
|
92
92
|
ID Posted at Screen name Text
|
93
|
-
194521262415032320 Apr 23 2011 @JessRoveel Pondre lo mas importante
|
94
|
-
194521262326951936 Apr 23 2011 @lauravgeest Twitter doet het al 7 uur
|
95
|
-
194521262234669056 Apr 23 2011 @Jenny_Bearx333 I keep thinking that
|
96
|
-
194521262138204160 Apr 23 2011 @misspoxtonX RT @jordantaylorhi:
|
97
|
-
194521262134001665 Apr 23 2011 @PatrickBrickman RT @zeus30hightower: Too
|
98
|
-
194521262129811456 Apr 23 2011 @KolonelX Ik refresh twitter op me
|
99
|
-
194521261852995586 Apr 23 2011 @VLGPRLG5 @mikeyway and you too RT
|
100
|
-
194521261756530689 Apr 23 2011 @xRhiBabyx Trying to persuade the
|
101
|
-
194521261630697473 Apr 23 2011 @juliotrv RT @lookinglassbr:
|
102
|
-
194521261571964928 Apr 23 2011 @shanleyaustin27 RT @caaammmmi: @
|
103
|
-
194521261563580416 Apr 23 2011 @Dame_Valuta RT @Paiser10: Great @
|
104
|
-
194521261488095232 Apr 23 2011 @miss_indyiah smh, @IndianaHustle done
|
105
|
-
194521261370650625 Apr 23 2011 @CAROLINEWOLLER RT @Mark_Ingram28: To all
|
106
|
-
194521261370642432 Apr 23 2011 @shelbytrenchdww RT @The90sLife: Admit it
|
107
|
-
194521261307727872 Apr 23 2011 @kabos84 RT @JF_q8: بالله عليكم
|
93
|
+
194521262415032320 Apr 23 2011 @JessRoveel Pondre lo mas importante ...
|
94
|
+
194521262326951936 Apr 23 2011 @lauravgeest Twitter doet het al 7 uur...
|
95
|
+
194521262234669056 Apr 23 2011 @Jenny_Bearx333 I keep thinking that twit...
|
96
|
+
194521262138204160 Apr 23 2011 @misspoxtonX RT @jordantaylorhi: twitt...
|
97
|
+
194521262134001665 Apr 23 2011 @PatrickBrickman RT @zeus30hightower: Too ...
|
98
|
+
194521262129811456 Apr 23 2011 @KolonelX Ik refresh twitter op me ...
|
99
|
+
194521261852995586 Apr 23 2011 @VLGPRLG5 @mikeyway and you too RT ...
|
100
|
+
194521261756530689 Apr 23 2011 @xRhiBabyx Trying to persuade the bo...
|
101
|
+
194521261630697473 Apr 23 2011 @juliotrv RT @lookinglassbr: Lançam...
|
102
|
+
194521261571964928 Apr 23 2011 @shanleyaustin27 RT @caaammmmi: @shanleyau...
|
103
|
+
194521261563580416 Apr 23 2011 @Dame_Valuta RT @Paiser10: Great @chel...
|
104
|
+
194521261488095232 Apr 23 2011 @miss_indyiah smh, @IndianaHustle done ...
|
105
|
+
194521261370650625 Apr 23 2011 @CAROLINEWOLLER RT @Mark_Ingram28: To all...
|
106
|
+
194521261370642432 Apr 23 2011 @shelbytrenchdww RT @The90sLife: Admit it,...
|
107
|
+
194521261307727872 Apr 23 2011 @kabos84 RT @JF_q8: بالله عليكم ،...
|
108
108
|
eos
|
109
109
|
end
|
110
110
|
end
|
@@ -143,7 +143,7 @@ ID Posted at Screen name Text
|
|
143
143
|
it "should have the correct output" do
|
144
144
|
@search.favorites("twitter")
|
145
145
|
$stdout.string.should =~ /@bartt/
|
146
|
-
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s
|
146
|
+
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
|
147
147
|
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
|
148
148
|
$stdout.string.should =~ /7 months ago/
|
149
149
|
end
|
@@ -182,22 +182,22 @@ ID,Posted at,Screen name,Text
|
|
182
182
|
@search.favorites("twitter")
|
183
183
|
$stdout.string.should == <<-eos
|
184
184
|
ID Posted at Screen name Text
|
185
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
186
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
187
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
188
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
189
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
190
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
191
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
192
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
193
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
194
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
195
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
196
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
197
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
198
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
199
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
200
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
185
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
186
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
187
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
188
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
189
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
190
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
191
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
192
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
193
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
194
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
195
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
196
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
197
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
198
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
199
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
200
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
201
201
|
eos
|
202
202
|
end
|
203
203
|
end
|
@@ -235,7 +235,7 @@ ID Posted at Screen name Text
|
|
235
235
|
it "should have the correct output" do
|
236
236
|
@search.mentions("twitter")
|
237
237
|
$stdout.string.should =~ /@bartt/
|
238
|
-
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s
|
238
|
+
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
|
239
239
|
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
|
240
240
|
$stdout.string.should =~ /7 months ago/
|
241
241
|
end
|
@@ -274,22 +274,22 @@ ID,Posted at,Screen name,Text
|
|
274
274
|
@search.mentions("twitter")
|
275
275
|
$stdout.string.should == <<-eos
|
276
276
|
ID Posted at Screen name Text
|
277
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
278
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
279
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
280
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
281
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
282
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
283
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
284
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
285
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
286
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
287
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
288
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
289
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
290
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
291
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
292
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
277
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
278
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
279
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
280
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
281
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
282
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
283
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
284
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
285
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
286
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
287
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
288
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
289
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
290
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
291
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
292
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
293
293
|
eos
|
294
294
|
end
|
295
295
|
end
|
@@ -327,7 +327,7 @@ ID Posted at Screen name Text
|
|
327
327
|
it "should have the correct output" do
|
328
328
|
@search.retweets("twitter")
|
329
329
|
$stdout.string.should =~ /@bartt/
|
330
|
-
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s
|
330
|
+
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
|
331
331
|
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
|
332
332
|
$stdout.string.should =~ /7 months ago/
|
333
333
|
end
|
@@ -366,22 +366,22 @@ ID,Posted at,Screen name,Text
|
|
366
366
|
@search.retweets("twitter")
|
367
367
|
$stdout.string.should == <<-eos
|
368
368
|
ID Posted at Screen name Text
|
369
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
370
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
371
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
372
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
373
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
374
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
375
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
376
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
377
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
378
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
379
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
380
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
381
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
382
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
383
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
384
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
369
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
370
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
371
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
372
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
373
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
374
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
375
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
376
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
377
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
378
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
379
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
380
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
381
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
382
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
383
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
384
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
385
385
|
eos
|
386
386
|
end
|
387
387
|
end
|
@@ -419,7 +419,7 @@ ID Posted at Screen name Text
|
|
419
419
|
it "should have the correct output" do
|
420
420
|
@search.timeline("twitter")
|
421
421
|
$stdout.string.should =~ /@bartt/
|
422
|
-
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s
|
422
|
+
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
|
423
423
|
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
|
424
424
|
$stdout.string.should =~ /7 months ago/
|
425
425
|
end
|
@@ -458,22 +458,22 @@ ID,Posted at,Screen name,Text
|
|
458
458
|
@search.timeline("twitter")
|
459
459
|
$stdout.string.should == <<-eos
|
460
460
|
ID Posted at Screen name Text
|
461
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
462
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
463
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
464
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
465
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
466
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
467
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
468
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
469
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
470
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
471
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
472
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
473
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
474
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
475
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
476
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
461
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
462
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
463
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
464
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
465
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
466
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
467
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
468
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
469
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
470
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
471
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
472
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
473
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
474
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
475
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
476
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
477
477
|
eos
|
478
478
|
end
|
479
479
|
end
|
@@ -511,7 +511,7 @@ ID Posted at Screen name Text
|
|
511
511
|
it "should have the correct output" do
|
512
512
|
@search.user("sferik", "twitter")
|
513
513
|
$stdout.string.should =~ /@bartt/
|
514
|
-
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s
|
514
|
+
$stdout.string.should =~ /@noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons\. Lot’s/
|
515
515
|
$stdout.string.should =~ /fun\. Expect improvements in the weeks to come\./
|
516
516
|
$stdout.string.should =~ /7 months ago/
|
517
517
|
end
|
@@ -568,22 +568,22 @@ ID,Posted at,Screen name,Text
|
|
568
568
|
@search.user("sferik", "twitter")
|
569
569
|
$stdout.string.should == <<-eos
|
570
570
|
ID Posted at Screen name Text
|
571
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
572
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
573
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
574
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
575
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
576
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
577
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
578
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
579
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
580
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
581
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
582
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
583
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
584
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
585
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
586
|
-
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning
|
571
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
572
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
573
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
574
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
575
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
576
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
577
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
578
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
579
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
580
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
581
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
582
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
583
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
584
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
585
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
586
|
+
194546727670390784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning...
|
587
587
|
eos
|
588
588
|
end
|
589
589
|
end
|
data/t.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.add_dependency 'json', '~> 1.6'
|
12
12
|
gem.add_dependency 'oauth', '~> 0.4'
|
13
13
|
gem.add_dependency 'retryable', '~> 1.2'
|
14
|
-
gem.add_dependency 'thor', '~> 0.15
|
14
|
+
gem.add_dependency 'thor', ['~> 0.15', '< 2']
|
15
15
|
gem.add_dependency 'twitter', ['~> 2.2', '>= 2.2.5']
|
16
16
|
gem.add_dependency 'twitter-text', '~> 1.4'
|
17
17
|
gem.add_development_dependency 'pry'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: t
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.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: 2012-04-
|
12
|
+
date: 2012-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -174,7 +174,10 @@ dependencies:
|
|
174
174
|
requirements:
|
175
175
|
- - ~>
|
176
176
|
- !ruby/object:Gem::Version
|
177
|
-
version: 0.15
|
177
|
+
version: '0.15'
|
178
|
+
- - <
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2'
|
178
181
|
type: :runtime
|
179
182
|
prerelease: false
|
180
183
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -182,7 +185,10 @@ dependencies:
|
|
182
185
|
requirements:
|
183
186
|
- - ~>
|
184
187
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0.15
|
188
|
+
version: '0.15'
|
189
|
+
- - <
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '2'
|
186
192
|
- !ruby/object:Gem::Dependency
|
187
193
|
name: twitter
|
188
194
|
requirement: !ruby/object:Gem::Requirement
|