t 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/t/cli.rb +2 -2
- data/lib/t/printable.rb +2 -2
- data/lib/t/search.rb +1 -1
- data/lib/t/version.rb +1 -1
- data/spec/cli_spec.rb +126 -125
- data/spec/delete_spec.rb +10 -10
- data/spec/fixtures/status.json +1 -1
- data/spec/list_spec.rb +20 -20
- data/spec/search_spec.rb +96 -96
- metadata +2 -4
data/lib/t/cli.rb
CHANGED
@@ -120,7 +120,7 @@ module T
|
|
120
120
|
if options['long']
|
121
121
|
array = direct_messages.map do |direct_message|
|
122
122
|
created_at = direct_message.created_at > 6.months.ago ? direct_message.created_at.strftime("%b %e %H:%M") : direct_message.created_at.strftime("%b %e %Y")
|
123
|
-
[number_with_delimiter(direct_message.id), created_at, direct_message.sender.screen_name, direct_message.text.gsub(/\n+/, ' ')]
|
123
|
+
[number_with_delimiter(direct_message.id), created_at, "@#{direct_message.sender.screen_name}", direct_message.text.gsub(/\n+/, ' ')]
|
124
124
|
end
|
125
125
|
if STDOUT.tty?
|
126
126
|
headings = ["ID", "Posted at", "Screen name", "Text"]
|
@@ -146,7 +146,7 @@ module T
|
|
146
146
|
if options['long']
|
147
147
|
array = direct_messages.map do |direct_message|
|
148
148
|
created_at = direct_message.created_at > 6.months.ago ? direct_message.created_at.strftime("%b %e %H:%M") : direct_message.created_at.strftime("%b %e %Y")
|
149
|
-
[number_with_delimiter(direct_message.id), created_at, direct_message.recipient.screen_name, direct_message.text.gsub(/\n+/, ' ')]
|
149
|
+
[number_with_delimiter(direct_message.id), created_at, "@#{direct_message.recipient.screen_name}", direct_message.text.gsub(/\n+/, ' ')]
|
150
150
|
end
|
151
151
|
if STDOUT.tty?
|
152
152
|
headings = ["ID", "Posted at", "Screen name", "Text"]
|
data/lib/t/printable.rb
CHANGED
@@ -25,7 +25,7 @@ module T
|
|
25
25
|
if options['long']
|
26
26
|
array = statuses.map do |status|
|
27
27
|
created_at = status.created_at > 6.months.ago ? status.created_at.strftime("%b %e %H:%M") : status.created_at.strftime("%b %e %Y")
|
28
|
-
[number_with_delimiter(status.id), created_at, status.user.screen_name, status.text.gsub(/\n+/, ' ')]
|
28
|
+
[number_with_delimiter(status.id), created_at, "@#{status.user.screen_name}", status.text.gsub(/\n+/, ' ')]
|
29
29
|
end
|
30
30
|
if STDOUT.tty?
|
31
31
|
headings = ["ID", "Posted at", "Screen name", "Text"]
|
@@ -58,7 +58,7 @@ module T
|
|
58
58
|
if options['long']
|
59
59
|
array = users.map do |user|
|
60
60
|
created_at = user.created_at > 6.months.ago ? user.created_at.strftime("%b %e %H:%M") : user.created_at.strftime("%b %e %Y")
|
61
|
-
[number_with_delimiter(user.id), created_at, number_with_delimiter(user.statuses_count), number_with_delimiter(user.favourites_count), number_with_delimiter(user.listed_count), number_with_delimiter(user.friends_count), number_with_delimiter(user.followers_count), user.screen_name, user.name]
|
61
|
+
[number_with_delimiter(user.id), created_at, number_with_delimiter(user.statuses_count), number_with_delimiter(user.favourites_count), number_with_delimiter(user.listed_count), number_with_delimiter(user.friends_count), number_with_delimiter(user.followers_count), "@#{user.screen_name}", user.name]
|
62
62
|
end
|
63
63
|
if STDOUT.tty?
|
64
64
|
headings = ["ID", "Since", "Tweets", "Favorites", "Listed", "Following", "Followers", "Screen name", "Name"]
|
data/lib/t/search.rb
CHANGED
@@ -32,7 +32,7 @@ module T
|
|
32
32
|
if options['long']
|
33
33
|
array = statuses.map do |status|
|
34
34
|
created_at = status.created_at > 6.months.ago ? status.created_at.strftime("%b %e %H:%M") : status.created_at.strftime("%b %e %Y")
|
35
|
-
[status.id
|
35
|
+
[number_with_delimiter(status.id), created_at, "@#{status.from_user}", status.text.gsub(/\n+/, ' ')]
|
36
36
|
end
|
37
37
|
if STDOUT.tty?
|
38
38
|
headings = ["ID", "Posted at", "Screen name", "Text"]
|
data/lib/t/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED
@@ -121,16 +121,16 @@ testcli
|
|
121
121
|
@cli.direct_messages
|
122
122
|
$stdout.string.should == <<-eos
|
123
123
|
ID Posted at Screen name Text
|
124
|
-
1,773,478,249 Oct 17 2010 sferik
|
125
|
-
1,762,960,771 Oct 14 2010 sferik
|
126
|
-
1,711,812,216 Oct 1 2010 sferik
|
127
|
-
1,711,417,617 Oct 1 2010 sferik
|
128
|
-
1,653,301,471 Sep 16 2010 sferik
|
129
|
-
1,645,324,992 Sep 14 2010 sferik
|
130
|
-
1,632,933,616 Sep 11 2010 sferik
|
131
|
-
1,629,239,903 Sep 10 2010 sferik
|
132
|
-
1,629,166,212 Sep 10 2010 sferik
|
133
|
-
1,624,782,206 Sep 9 2010 sferik
|
124
|
+
1,773,478,249 Oct 17 2010 @sferik Sounds good. Meeting Tuesday is fine.
|
125
|
+
1,762,960,771 Oct 14 2010 @sferik That's great news! Let's plan to chat around 8 AM tomorrow Pacific time. Does that work for you?
|
126
|
+
1,711,812,216 Oct 1 2010 @sferik I asked Yehuda about the stipend. I believe it has already been sent. Glad you're feeling better.
|
127
|
+
1,711,417,617 Oct 1 2010 @sferik Just checking in. How's everything going?
|
128
|
+
1,653,301,471 Sep 16 2010 @sferik Not sure about the payment. Feel free to ask Leah or Yehuda directly. Think you'll be able to finish up your work on graphs this weekend?
|
129
|
+
1,645,324,992 Sep 14 2010 @sferik How are the graph enhancements coming?
|
130
|
+
1,632,933,616 Sep 11 2010 @sferik How are the graphs coming? I'm really looking forward to seeing what you do with Raphaël.
|
131
|
+
1,629,239,903 Sep 10 2010 @sferik Awesome! Any luck duplicating the Gemfile.lock error with Ruby 1.9.2 final?
|
132
|
+
1,629,166,212 Sep 10 2010 @sferik I just committed a bunch of cleanup and fixes to RailsAdmin that touched many of files. Make sure you pull to avoid conflicts.
|
133
|
+
1,624,782,206 Sep 9 2010 @sferik I'm trying to debug the issue you were having with the Bundler Gemfile.lock shortref. What version of Ruby and RubyGems are you running?
|
134
134
|
eos
|
135
135
|
end
|
136
136
|
end
|
@@ -205,16 +205,16 @@ ID Posted at Screen name Text
|
|
205
205
|
@cli.direct_messages_sent
|
206
206
|
$stdout.string.should == <<-eos
|
207
207
|
ID Posted at Screen name Text
|
208
|
-
1,773,478,249 Oct 17 2010 hurrycane
|
209
|
-
1,762,960,771 Oct 14 2010 hurrycane
|
210
|
-
1,711,812,216 Oct 1 2010 hurrycane
|
211
|
-
1,711,417,617 Oct 1 2010 hurrycane
|
212
|
-
1,653,301,471 Sep 16 2010 hurrycane
|
213
|
-
1,645,324,992 Sep 14 2010 hurrycane
|
214
|
-
1,632,933,616 Sep 11 2010 hurrycane
|
215
|
-
1,629,239,903 Sep 10 2010 hurrycane
|
216
|
-
1,629,166,212 Sep 10 2010 hurrycane
|
217
|
-
1,624,782,206 Sep 9 2010 hurrycane
|
208
|
+
1,773,478,249 Oct 17 2010 @hurrycane Sounds good. Meeting Tuesday is fine.
|
209
|
+
1,762,960,771 Oct 14 2010 @hurrycane That's great news! Let's plan to chat around 8 AM tomorrow Pacific time. Does that work for you?
|
210
|
+
1,711,812,216 Oct 1 2010 @hurrycane I asked Yehuda about the stipend. I believe it has already been sent. Glad you're feeling better.
|
211
|
+
1,711,417,617 Oct 1 2010 @hurrycane Just checking in. How's everything going?
|
212
|
+
1,653,301,471 Sep 16 2010 @hurrycane Not sure about the payment. Feel free to ask Leah or Yehuda directly. Think you'll be able to finish up your work on graphs this weekend?
|
213
|
+
1,645,324,992 Sep 14 2010 @hurrycane How are the graph enhancements coming?
|
214
|
+
1,632,933,616 Sep 11 2010 @hurrycane How are the graphs coming? I'm really looking forward to seeing what you do with Raphaël.
|
215
|
+
1,629,239,903 Sep 10 2010 @hurrycane Awesome! Any luck duplicating the Gemfile.lock error with Ruby 1.9.2 final?
|
216
|
+
1,629,166,212 Sep 10 2010 @hurrycane I just committed a bunch of cleanup and fixes to RailsAdmin that touched many of files. Make sure you pull to avoid conflicts.
|
217
|
+
1,624,782,206 Sep 9 2010 @hurrycane I'm trying to debug the issue you were having with the Bundler Gemfile.lock shortref. What version of Ruby and RubyGems are you running?
|
218
218
|
eos
|
219
219
|
end
|
220
220
|
end
|
@@ -286,7 +286,7 @@ ID Posted at Screen name Text
|
|
286
286
|
end
|
287
287
|
it "should have the correct output" do
|
288
288
|
@cli.favorite("26755176471724032")
|
289
|
-
$stdout.string.should =~ /^@testcli favorited @sferik's status: "
|
289
|
+
$stdout.string.should =~ /^@testcli favorited @sferik's status: "The problem with your code is that it's doing exactly what you told it to do\.\"$/
|
290
290
|
end
|
291
291
|
end
|
292
292
|
|
@@ -331,24 +331,24 @@ ID Posted at Screen name Text
|
|
331
331
|
it "should list in long format" do
|
332
332
|
@cli.favorites
|
333
333
|
$stdout.string.should == <<-eos
|
334
|
-
ID Posted at Screen name
|
335
|
-
194,548,121,416,630,272 Apr 23 2011 natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
336
|
-
194,547,993,607,806,976 Apr 23 2011 TD @kelseysilver how long will you be in town?
|
337
|
-
194,547,987,593,183,233 Apr 23 2011 rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
338
|
-
194,547,824,690,597,888 Apr 23 2011 fat @stevej @xc i'm going to picket when i get back.
|
339
|
-
194,547,658,562,605,057 Apr 23 2011 wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
340
|
-
194,547,528,430,137,344 Apr 23 2011 wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
341
|
-
194,547,402,550,689,793 Apr 23 2011 shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
342
|
-
194,547,260,233,760,768 Apr 23 2011 0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
343
|
-
194,547,084,349,804,544 Apr 23 2011 kpk @shinypb @skilldrick @hoverbird invented it
|
344
|
-
194,546,876,782,092,291 Apr 23 2011 skilldrick @shinypb Well played :) @hoverbird
|
345
|
-
194,546,811,480,969,217 Apr 23 2011 sam Can someone project the date that I'll get a 27" retina display?
|
346
|
-
194,546,738,810,458,112 Apr 23 2011 shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
347
|
-
194,546,727,670,390,784 Apr 23 2011 bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
348
|
-
194,546,649,203,347,456 Apr 23 2011 skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
349
|
-
194,546,583,608,639,488 Apr 23 2011 sean @mep Thanks for coming by. Was great to have you.
|
350
|
-
194,546,388,707,717,120 Apr 23 2011 hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
351
|
-
194,546,264,212,385,793 Apr 23 2011 kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
334
|
+
ID Posted at Screen name Text
|
335
|
+
194,548,121,416,630,272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
336
|
+
194,547,993,607,806,976 Apr 23 2011 @TD @kelseysilver how long will you be in town?
|
337
|
+
194,547,987,593,183,233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
338
|
+
194,547,824,690,597,888 Apr 23 2011 @fat @stevej @xc i'm going to picket when i get back.
|
339
|
+
194,547,658,562,605,057 Apr 23 2011 @wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
340
|
+
194,547,528,430,137,344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
341
|
+
194,547,402,550,689,793 Apr 23 2011 @shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
342
|
+
194,547,260,233,760,768 Apr 23 2011 @0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
343
|
+
194,547,084,349,804,544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverbird invented it
|
344
|
+
194,546,876,782,092,291 Apr 23 2011 @skilldrick @shinypb Well played :) @hoverbird
|
345
|
+
194,546,811,480,969,217 Apr 23 2011 @sam Can someone project the date that I'll get a 27" retina display?
|
346
|
+
194,546,738,810,458,112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
347
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
348
|
+
194,546,649,203,347,456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
349
|
+
194,546,583,608,639,488 Apr 23 2011 @sean @mep Thanks for coming by. Was great to have you.
|
350
|
+
194,546,388,707,717,120 Apr 23 2011 @hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
351
|
+
194,546,264,212,385,793 Apr 23 2011 @kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
352
352
|
eos
|
353
353
|
end
|
354
354
|
end
|
@@ -514,8 +514,8 @@ ID Posted at Screen name Text
|
|
514
514
|
@cli.followings
|
515
515
|
$stdout.string.should == <<-eos
|
516
516
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
517
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
518
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
517
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
518
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
519
519
|
eos
|
520
520
|
end
|
521
521
|
end
|
@@ -614,8 +614,8 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
614
614
|
@cli.followers
|
615
615
|
$stdout.string.should == <<-eos
|
616
616
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
617
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
618
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
617
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
618
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
619
619
|
eos
|
620
620
|
end
|
621
621
|
end
|
@@ -720,8 +720,8 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
720
720
|
@cli.friends
|
721
721
|
$stdout.string.should == <<-eos
|
722
722
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
723
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
724
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
723
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
724
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
725
725
|
eos
|
726
726
|
end
|
727
727
|
end
|
@@ -826,8 +826,8 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
826
826
|
@cli.leaders
|
827
827
|
$stdout.string.should == <<-eos
|
828
828
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
829
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
830
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
829
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
830
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
831
831
|
eos
|
832
832
|
end
|
833
833
|
end
|
@@ -892,24 +892,24 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
892
892
|
it "should list in long format" do
|
893
893
|
@cli.mentions
|
894
894
|
$stdout.string.should == <<-eos
|
895
|
-
ID Posted at Screen name
|
896
|
-
194,548,121,416,630,272 Apr 23 2011 natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
897
|
-
194,547,993,607,806,976 Apr 23 2011 TD @kelseysilver how long will you be in town?
|
898
|
-
194,547,987,593,183,233 Apr 23 2011 rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
899
|
-
194,547,824,690,597,888 Apr 23 2011 fat @stevej @xc i'm going to picket when i get back.
|
900
|
-
194,547,658,562,605,057 Apr 23 2011 wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
901
|
-
194,547,528,430,137,344 Apr 23 2011 wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
902
|
-
194,547,402,550,689,793 Apr 23 2011 shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
903
|
-
194,547,260,233,760,768 Apr 23 2011 0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
904
|
-
194,547,084,349,804,544 Apr 23 2011 kpk @shinypb @skilldrick @hoverbird invented it
|
905
|
-
194,546,876,782,092,291 Apr 23 2011 skilldrick @shinypb Well played :) @hoverbird
|
906
|
-
194,546,811,480,969,217 Apr 23 2011 sam Can someone project the date that I'll get a 27" retina display?
|
907
|
-
194,546,738,810,458,112 Apr 23 2011 shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
908
|
-
194,546,727,670,390,784 Apr 23 2011 bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
909
|
-
194,546,649,203,347,456 Apr 23 2011 skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
910
|
-
194,546,583,608,639,488 Apr 23 2011 sean @mep Thanks for coming by. Was great to have you.
|
911
|
-
194,546,388,707,717,120 Apr 23 2011 hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
912
|
-
194,546,264,212,385,793 Apr 23 2011 kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
895
|
+
ID Posted at Screen name Text
|
896
|
+
194,548,121,416,630,272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
897
|
+
194,547,993,607,806,976 Apr 23 2011 @TD @kelseysilver how long will you be in town?
|
898
|
+
194,547,987,593,183,233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
899
|
+
194,547,824,690,597,888 Apr 23 2011 @fat @stevej @xc i'm going to picket when i get back.
|
900
|
+
194,547,658,562,605,057 Apr 23 2011 @wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
901
|
+
194,547,528,430,137,344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
902
|
+
194,547,402,550,689,793 Apr 23 2011 @shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
903
|
+
194,547,260,233,760,768 Apr 23 2011 @0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
904
|
+
194,547,084,349,804,544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverbird invented it
|
905
|
+
194,546,876,782,092,291 Apr 23 2011 @skilldrick @shinypb Well played :) @hoverbird
|
906
|
+
194,546,811,480,969,217 Apr 23 2011 @sam Can someone project the date that I'll get a 27" retina display?
|
907
|
+
194,546,738,810,458,112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
908
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
909
|
+
194,546,649,203,347,456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
910
|
+
194,546,583,608,639,488 Apr 23 2011 @sean @mep Thanks for coming by. Was great to have you.
|
911
|
+
194,546,388,707,717,120 Apr 23 2011 @hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
912
|
+
194,546,264,212,385,793 Apr 23 2011 @kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
913
913
|
eos
|
914
914
|
end
|
915
915
|
end
|
@@ -970,11 +970,11 @@ ID Posted at Screen name Text
|
|
970
970
|
describe "#reply" do
|
971
971
|
before do
|
972
972
|
@cli.options = @cli.options.merge(:profile => fixture_path + "/.trc", :location => true)
|
973
|
-
stub_get("/1/statuses/show/
|
973
|
+
stub_get("/1/statuses/show/55709764298092545.json").
|
974
974
|
with(:query => {:include_entities => "false", :include_my_retweet => "false", :trim_user => "true"}).
|
975
975
|
to_return(:body => fixture("status.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
976
976
|
stub_post("/1/statuses/update.json").
|
977
|
-
with(:body => {:in_reply_to_status_id => "
|
977
|
+
with(:body => {:in_reply_to_status_id => "55709764298092545", :status => "@sferik Testing", :lat => "37.76969909668", :long => "-122.39330291748", :include_entities => "false", :trim_user => "true"}).
|
978
978
|
to_return(:body => fixture("status.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
979
979
|
stub_request(:get, "http://checkip.dyndns.org/").
|
980
980
|
to_return(:body => fixture("checkip.html"), :headers => {:content_type => "text/html"})
|
@@ -982,12 +982,12 @@ ID Posted at Screen name Text
|
|
982
982
|
to_return(:body => fixture("xml.gp"), :headers => {:content_type => "application/xml"})
|
983
983
|
end
|
984
984
|
it "should request the correct resource" do
|
985
|
-
@cli.reply("
|
986
|
-
a_get("/1/statuses/show/
|
985
|
+
@cli.reply("55709764298092545", "Testing")
|
986
|
+
a_get("/1/statuses/show/55709764298092545.json").
|
987
987
|
with(:query => {:include_entities => "false", :include_my_retweet => "false", :trim_user => "true"}).
|
988
988
|
should have_been_made
|
989
989
|
a_post("/1/statuses/update.json").
|
990
|
-
with(:body => {:in_reply_to_status_id => "
|
990
|
+
with(:body => {:in_reply_to_status_id => "55709764298092545", :status => "@sferik Testing", :lat => "37.76969909668", :long => "-122.39330291748", :include_entities => "false", :trim_user => "true"}).
|
991
991
|
should have_been_made
|
992
992
|
a_request(:get, "http://checkip.dyndns.org/").
|
993
993
|
should have_been_made
|
@@ -995,8 +995,8 @@ ID Posted at Screen name Text
|
|
995
995
|
should have_been_made
|
996
996
|
end
|
997
997
|
it "should have the correct output" do
|
998
|
-
@cli.reply("
|
999
|
-
$stdout.string.should =~ /^Reply created by @testcli to @sferik \(
|
998
|
+
@cli.reply("55709764298092545", "Testing")
|
999
|
+
$stdout.string.should =~ /^Reply created by @testcli to @sferik \(8 months ago\)\.$/
|
1000
1000
|
end
|
1001
1001
|
end
|
1002
1002
|
|
@@ -1079,24 +1079,24 @@ ID Posted at Screen name Text
|
|
1079
1079
|
it "should list in long format" do
|
1080
1080
|
@cli.retweets
|
1081
1081
|
$stdout.string.should == <<-eos
|
1082
|
-
ID Posted at Screen name
|
1083
|
-
194,548,121,416,630,272 Apr 23 2011 natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
1084
|
-
194,547,993,607,806,976 Apr 23 2011 TD @kelseysilver how long will you be in town?
|
1085
|
-
194,547,987,593,183,233 Apr 23 2011 rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
1086
|
-
194,547,824,690,597,888 Apr 23 2011 fat @stevej @xc i'm going to picket when i get back.
|
1087
|
-
194,547,658,562,605,057 Apr 23 2011 wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
1088
|
-
194,547,528,430,137,344 Apr 23 2011 wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
1089
|
-
194,547,402,550,689,793 Apr 23 2011 shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
1090
|
-
194,547,260,233,760,768 Apr 23 2011 0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
1091
|
-
194,547,084,349,804,544 Apr 23 2011 kpk @shinypb @skilldrick @hoverbird invented it
|
1092
|
-
194,546,876,782,092,291 Apr 23 2011 skilldrick @shinypb Well played :) @hoverbird
|
1093
|
-
194,546,811,480,969,217 Apr 23 2011 sam Can someone project the date that I'll get a 27" retina display?
|
1094
|
-
194,546,738,810,458,112 Apr 23 2011 shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
1095
|
-
194,546,727,670,390,784 Apr 23 2011 bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
1096
|
-
194,546,649,203,347,456 Apr 23 2011 skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
1097
|
-
194,546,583,608,639,488 Apr 23 2011 sean @mep Thanks for coming by. Was great to have you.
|
1098
|
-
194,546,388,707,717,120 Apr 23 2011 hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
1099
|
-
194,546,264,212,385,793 Apr 23 2011 kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
1082
|
+
ID Posted at Screen name Text
|
1083
|
+
194,548,121,416,630,272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
1084
|
+
194,547,993,607,806,976 Apr 23 2011 @TD @kelseysilver how long will you be in town?
|
1085
|
+
194,547,987,593,183,233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
1086
|
+
194,547,824,690,597,888 Apr 23 2011 @fat @stevej @xc i'm going to picket when i get back.
|
1087
|
+
194,547,658,562,605,057 Apr 23 2011 @wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
1088
|
+
194,547,528,430,137,344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
1089
|
+
194,547,402,550,689,793 Apr 23 2011 @shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
1090
|
+
194,547,260,233,760,768 Apr 23 2011 @0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
1091
|
+
194,547,084,349,804,544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverbird invented it
|
1092
|
+
194,546,876,782,092,291 Apr 23 2011 @skilldrick @shinypb Well played :) @hoverbird
|
1093
|
+
194,546,811,480,969,217 Apr 23 2011 @sam Can someone project the date that I'll get a 27" retina display?
|
1094
|
+
194,546,738,810,458,112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
1095
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
1096
|
+
194,546,649,203,347,456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
1097
|
+
194,546,583,608,639,488 Apr 23 2011 @sean @mep Thanks for coming by. Was great to have you.
|
1098
|
+
194,546,388,707,717,120 Apr 23 2011 @hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
1099
|
+
194,546,264,212,385,793 Apr 23 2011 @kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
1100
1100
|
eos
|
1101
1101
|
end
|
1102
1102
|
end
|
@@ -1180,24 +1180,25 @@ ID Posted at Screen name Text
|
|
1180
1180
|
|
1181
1181
|
describe "#status" do
|
1182
1182
|
before do
|
1183
|
-
stub_get("/1/statuses/show/
|
1183
|
+
stub_get("/1/statuses/show/55709764298092545.json").
|
1184
1184
|
with(:query => {:include_entities => "false", :include_my_retweet => "false"}).
|
1185
1185
|
to_return(:body => fixture("status.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
1186
1186
|
end
|
1187
1187
|
it "should request the correct resource" do
|
1188
|
-
@cli.status("
|
1189
|
-
a_get("/1/statuses/show/
|
1188
|
+
@cli.status("55709764298092545")
|
1189
|
+
a_get("/1/statuses/show/55709764298092545.json").
|
1190
1190
|
with(:query => {:include_entities => "false", :include_my_retweet => "false"}).
|
1191
1191
|
should have_been_made
|
1192
1192
|
end
|
1193
1193
|
it "should have the correct output" do
|
1194
|
-
@cli.status("
|
1194
|
+
@cli.status("55709764298092545")
|
1195
1195
|
$stdout.string.should == <<-eos
|
1196
|
-
Text
|
1196
|
+
Text The problem with your code is that it's doing exactly what you told it to do.
|
1197
1197
|
Screen name @sferik
|
1198
|
-
Posted at
|
1199
|
-
|
1200
|
-
|
1198
|
+
Posted at Apr 6 2011
|
1199
|
+
Retweets 320
|
1200
|
+
Source Twitter for iPhone
|
1201
|
+
URL https://twitter.com/sferik/status/55709764298092545
|
1201
1202
|
eos
|
1202
1203
|
end
|
1203
1204
|
end
|
@@ -1270,12 +1271,12 @@ URL https://twitter.com/sferik/status/25938088801
|
|
1270
1271
|
it "should list in long format" do
|
1271
1272
|
@cli.suggest
|
1272
1273
|
$stdout.string.should == <<-eos
|
1273
|
-
ID Since Tweets Favorites Listed Following Followers Screen name
|
1274
|
-
40,514,587 May 16 2009 183 2 2 198 158 antpires AntonioPires
|
1275
|
-
14,736,332 May 11 2008 3,850 117 99 545 802 jtrupiano John Trupiano
|
1276
|
-
2,006,261 Mar 23 2007 4,497 9 171 967 2,028 maccman Alex MacCaw
|
1277
|
-
14,451,152 Apr 20 2008 6,251 10 20 403 299 mlroach Matt Laroche
|
1278
|
-
16,052,754 Aug 30 2008 24 0 1 5 42 stuntmann82 stuntmann82
|
1274
|
+
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
1275
|
+
40,514,587 May 16 2009 183 2 2 198 158 @antpires AntonioPires
|
1276
|
+
14,736,332 May 11 2008 3,850 117 99 545 802 @jtrupiano John Trupiano
|
1277
|
+
2,006,261 Mar 23 2007 4,497 9 171 967 2,028 @maccman Alex MacCaw
|
1278
|
+
14,451,152 Apr 20 2008 6,251 10 20 403 299 @mlroach Matt Laroche
|
1279
|
+
16,052,754 Aug 30 2008 24 0 1 5 42 @stuntmann82 stuntmann82
|
1279
1280
|
eos
|
1280
1281
|
end
|
1281
1282
|
end
|
@@ -1356,24 +1357,24 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
1356
1357
|
it "should list in long format" do
|
1357
1358
|
@cli.timeline
|
1358
1359
|
$stdout.string.should == <<-eos
|
1359
|
-
ID Posted at Screen name
|
1360
|
-
194,548,121,416,630,272 Apr 23 2011 natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
1361
|
-
194,547,993,607,806,976 Apr 23 2011 TD @kelseysilver how long will you be in town?
|
1362
|
-
194,547,987,593,183,233 Apr 23 2011 rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
1363
|
-
194,547,824,690,597,888 Apr 23 2011 fat @stevej @xc i'm going to picket when i get back.
|
1364
|
-
194,547,658,562,605,057 Apr 23 2011 wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
1365
|
-
194,547,528,430,137,344 Apr 23 2011 wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
1366
|
-
194,547,402,550,689,793 Apr 23 2011 shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
1367
|
-
194,547,260,233,760,768 Apr 23 2011 0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
1368
|
-
194,547,084,349,804,544 Apr 23 2011 kpk @shinypb @skilldrick @hoverbird invented it
|
1369
|
-
194,546,876,782,092,291 Apr 23 2011 skilldrick @shinypb Well played :) @hoverbird
|
1370
|
-
194,546,811,480,969,217 Apr 23 2011 sam Can someone project the date that I'll get a 27" retina display?
|
1371
|
-
194,546,738,810,458,112 Apr 23 2011 shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
1372
|
-
194,546,727,670,390,784 Apr 23 2011 bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
1373
|
-
194,546,649,203,347,456 Apr 23 2011 skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
1374
|
-
194,546,583,608,639,488 Apr 23 2011 sean @mep Thanks for coming by. Was great to have you.
|
1375
|
-
194,546,388,707,717,120 Apr 23 2011 hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
1376
|
-
194,546,264,212,385,793 Apr 23 2011 kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
1360
|
+
ID Posted at Screen name Text
|
1361
|
+
194,548,121,416,630,272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
1362
|
+
194,547,993,607,806,976 Apr 23 2011 @TD @kelseysilver how long will you be in town?
|
1363
|
+
194,547,987,593,183,233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
1364
|
+
194,547,824,690,597,888 Apr 23 2011 @fat @stevej @xc i'm going to picket when i get back.
|
1365
|
+
194,547,658,562,605,057 Apr 23 2011 @wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
1366
|
+
194,547,528,430,137,344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
1367
|
+
194,547,402,550,689,793 Apr 23 2011 @shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
1368
|
+
194,547,260,233,760,768 Apr 23 2011 @0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
1369
|
+
194,547,084,349,804,544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverbird invented it
|
1370
|
+
194,546,876,782,092,291 Apr 23 2011 @skilldrick @shinypb Well played :) @hoverbird
|
1371
|
+
194,546,811,480,969,217 Apr 23 2011 @sam Can someone project the date that I'll get a 27" retina display?
|
1372
|
+
194,546,738,810,458,112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
1373
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
1374
|
+
194,546,649,203,347,456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
1375
|
+
194,546,583,608,639,488 Apr 23 2011 @sean @mep Thanks for coming by. Was great to have you.
|
1376
|
+
194,546,388,707,717,120 Apr 23 2011 @hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
1377
|
+
194,546,264,212,385,793 Apr 23 2011 @kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
1377
1378
|
eos
|
1378
1379
|
end
|
1379
1380
|
end
|
@@ -1522,7 +1523,7 @@ ID Posted at Screen name Text
|
|
1522
1523
|
end
|
1523
1524
|
it "should have the correct output" do
|
1524
1525
|
@cli.update("Testing")
|
1525
|
-
$stdout.string.should =~ /^Tweet created by @testcli \(
|
1526
|
+
$stdout.string.should =~ /^Tweet created by @testcli \(8 months ago\)\.$/
|
1526
1527
|
end
|
1527
1528
|
end
|
1528
1529
|
|
@@ -1595,8 +1596,8 @@ ID Posted at Screen name Text
|
|
1595
1596
|
@cli.users("sferik", "pengwynn")
|
1596
1597
|
$stdout.string.should == <<-eos
|
1597
1598
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
1598
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
1599
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
1599
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
1600
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
1600
1601
|
eos
|
1601
1602
|
end
|
1602
1603
|
end
|
data/spec/delete_spec.rb
CHANGED
@@ -115,7 +115,7 @@ describe T::Delete do
|
|
115
115
|
end
|
116
116
|
it "should have the correct output" do
|
117
117
|
@delete.favorite("28439861609")
|
118
|
-
$stdout.string.should =~ /^@testcli unfavorited @sferik's status:
|
118
|
+
$stdout.string.should =~ /^@testcli unfavorited @sferik's status: "The problem with your code is that it's doing exactly what you told it to do\."$/
|
119
119
|
end
|
120
120
|
end
|
121
121
|
context ":force => false" do
|
@@ -126,7 +126,7 @@ describe T::Delete do
|
|
126
126
|
to_return(:body => fixture("status.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
127
127
|
end
|
128
128
|
it "should request the correct resource" do
|
129
|
-
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"
|
129
|
+
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
130
130
|
$stdin.should_receive(:gets).and_return("yes")
|
131
131
|
@delete.favorite("28439861609")
|
132
132
|
a_get("/1/statuses/show/28439861609.json").
|
@@ -138,15 +138,15 @@ describe T::Delete do
|
|
138
138
|
end
|
139
139
|
context "yes" do
|
140
140
|
it "should have the correct output" do
|
141
|
-
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"
|
141
|
+
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
142
142
|
$stdin.should_receive(:gets).and_return("yes")
|
143
143
|
@delete.favorite("28439861609")
|
144
|
-
$stdout.string.should =~ /^@testcli unfavorited @sferik's status:
|
144
|
+
$stdout.string.should =~ /^@testcli unfavorited @sferik's status: "The problem with your code is that it's doing exactly what you told it to do\."$/
|
145
145
|
end
|
146
146
|
end
|
147
147
|
context "no" do
|
148
148
|
it "should have the correct output" do
|
149
|
-
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"
|
149
|
+
$stdout.should_receive(:print).with("Are you sure you want to delete the favorite of @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
150
150
|
$stdin.should_receive(:gets).and_return("no")
|
151
151
|
@delete.favorite("28439861609")
|
152
152
|
$stdout.string.chomp.should be_empty
|
@@ -233,7 +233,7 @@ describe T::Delete do
|
|
233
233
|
end
|
234
234
|
it "should have the correct output" do
|
235
235
|
@delete.status("26755176471724032")
|
236
|
-
$stdout.string.chomp.should == "@testcli deleted the status: \"
|
236
|
+
$stdout.string.chomp.should == "@testcli deleted the status: \"The problem with your code is that it's doing exactly what you told it to do.\""
|
237
237
|
end
|
238
238
|
end
|
239
239
|
context ":force => false" do
|
@@ -244,7 +244,7 @@ describe T::Delete do
|
|
244
244
|
to_return(:body => fixture("status.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
245
245
|
end
|
246
246
|
it "should request the correct resource" do
|
247
|
-
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"
|
247
|
+
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
248
248
|
$stdin.should_receive(:gets).and_return("yes")
|
249
249
|
@delete.status("26755176471724032")
|
250
250
|
a_get("/1/statuses/show/26755176471724032.json").
|
@@ -256,15 +256,15 @@ describe T::Delete do
|
|
256
256
|
end
|
257
257
|
context "yes" do
|
258
258
|
it "should have the correct output" do
|
259
|
-
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"
|
259
|
+
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
260
260
|
$stdin.should_receive(:gets).and_return("yes")
|
261
261
|
@delete.status("26755176471724032")
|
262
|
-
$stdout.string.chomp.should == "@testcli deleted the status: \"
|
262
|
+
$stdout.string.chomp.should == "@testcli deleted the status: \"The problem with your code is that it's doing exactly what you told it to do.\""
|
263
263
|
end
|
264
264
|
end
|
265
265
|
context "no" do
|
266
266
|
it "should have the correct output" do
|
267
|
-
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"
|
267
|
+
$stdout.should_receive(:print).with("Are you sure you want to permanently delete @sferik's status: \"The problem with your code is that it's doing exactly what you told it to do.\"? [y/N] ")
|
268
268
|
$stdin.should_receive(:gets).and_return("no")
|
269
269
|
@delete.status("26755176471724032")
|
270
270
|
$stdout.string.chomp.should be_empty
|
data/spec/fixtures/status.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"created_at":"
|
1
|
+
{"created_at":"Wed Apr 06 19:13:37 +0000 2011","id":55709764298092545,"id_str":"55709764298092545","text":"The problem with your code is that it's doing exactly what you told it to do.","source":"\u003ca href=\"http:\/\/twitter.com\/#!\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":7505382,"id_str":"7505382","name":"Erik Michaels-Ober","screen_name":"sferik","location":"San Francisco","description":"My heart is in the work.","url":"https:\/\/github.com\/sferik","protected":false,"followers_count":2094,"friends_count":203,"listed_count":114,"created_at":"Mon Jul 16 12:59:01 +0000 2007","favourites_count":3073,"utc_offset":-28800,"time_zone":"Pacific Time (US & Canada)","geo_enabled":true,"verified":false,"statuses_count":6890,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"000000","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/162641967\/we_concept_bg2.png","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/162641967\/we_concept_bg2.png","profile_background_tile":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1759857427\/image1326743606_normal.png","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1759857427\/image1326743606_normal.png","profile_link_color":"0084B4","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"show_all_inline_media":true,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":320,"favorited":false,"retweeted":false}
|
data/spec/list_spec.rb
CHANGED
@@ -144,8 +144,8 @@ describe T::List do
|
|
144
144
|
@list.members("presidents")
|
145
145
|
$stdout.string.should == <<-eos
|
146
146
|
ID Since Tweets Favorites Listed Following Followers Screen name Name
|
147
|
-
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 pengwynn
|
148
|
-
7,505,382 Jul 16 2007 2,962 727 29 88 898 sferik
|
147
|
+
14,100,886 Mar 8 2008 3,913 32 185 1,871 2,767 @pengwynn Wynn Netherland
|
148
|
+
7,505,382 Jul 16 2007 2,962 727 29 88 898 @sferik Erik Michaels-Ober
|
149
149
|
eos
|
150
150
|
end
|
151
151
|
end
|
@@ -266,24 +266,24 @@ ID Since Tweets Favorites Listed Following Followers Scree
|
|
266
266
|
it "should list in long format" do
|
267
267
|
@list.timeline("presidents")
|
268
268
|
$stdout.string.should == <<-eos
|
269
|
-
ID Posted at Screen name
|
270
|
-
194,548,121,416,630,272 Apr 23 2011 natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
271
|
-
194,547,993,607,806,976 Apr 23 2011 TD @kelseysilver how long will you be in town?
|
272
|
-
194,547,987,593,183,233 Apr 23 2011 rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
273
|
-
194,547,824,690,597,888 Apr 23 2011 fat @stevej @xc i'm going to picket when i get back.
|
274
|
-
194,547,658,562,605,057 Apr 23 2011 wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
275
|
-
194,547,528,430,137,344 Apr 23 2011 wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
276
|
-
194,547,402,550,689,793 Apr 23 2011 shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
277
|
-
194,547,260,233,760,768 Apr 23 2011 0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
278
|
-
194,547,084,349,804,544 Apr 23 2011 kpk @shinypb @skilldrick @hoverbird invented it
|
279
|
-
194,546,876,782,092,291 Apr 23 2011 skilldrick @shinypb Well played :) @hoverbird
|
280
|
-
194,546,811,480,969,217 Apr 23 2011 sam Can someone project the date that I'll get a 27" retina display?
|
281
|
-
194,546,738,810,458,112 Apr 23 2011 shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
282
|
-
194,546,727,670,390,784 Apr 23 2011 bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
283
|
-
194,546,649,203,347,456 Apr 23 2011 skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
284
|
-
194,546,583,608,639,488 Apr 23 2011 sean @mep Thanks for coming by. Was great to have you.
|
285
|
-
194,546,388,707,717,120 Apr 23 2011 hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
286
|
-
194,546,264,212,385,793 Apr 23 2011 kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
269
|
+
ID Posted at Screen name Text
|
270
|
+
194,548,121,416,630,272 Apr 23 2011 @natevillegas RT @gelobautista #riordan RT @WilI_Smith: Yesterday is history. Tomorrow is a mystery. Today is a gift. That's why it's called the present.
|
271
|
+
194,547,993,607,806,976 Apr 23 2011 @TD @kelseysilver how long will you be in town?
|
272
|
+
194,547,987,593,183,233 Apr 23 2011 @rusashka @maciej hahaha :) @gpena together we're going to cover all core 28 languages!
|
273
|
+
194,547,824,690,597,888 Apr 23 2011 @fat @stevej @xc i'm going to picket when i get back.
|
274
|
+
194,547,658,562,605,057 Apr 23 2011 @wil @0x9900 @paulnivin http://t.co/bwVdtAPe
|
275
|
+
194,547,528,430,137,344 Apr 23 2011 @wangtian @tianhonghe @xiangxin72 oh, you can even order specific items?
|
276
|
+
194,547,402,550,689,793 Apr 23 2011 @shinypb @kpk Pfft, I think you're forgetting mechanical television, which depended on a clever German. http://t.co/JvLNQCDm @skilldrick @hoverbird
|
277
|
+
194,547,260,233,760,768 Apr 23 2011 @0x9900 @wil @paulnivin if you want to take you seriously don't say daemontools!
|
278
|
+
194,547,084,349,804,544 Apr 23 2011 @kpk @shinypb @skilldrick @hoverbird invented it
|
279
|
+
194,546,876,782,092,291 Apr 23 2011 @skilldrick @shinypb Well played :) @hoverbird
|
280
|
+
194,546,811,480,969,217 Apr 23 2011 @sam Can someone project the date that I'll get a 27" retina display?
|
281
|
+
194,546,738,810,458,112 Apr 23 2011 @shinypb @skilldrick @hoverbird Wow, I didn't even know they *had* TV in Britain.
|
282
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
283
|
+
194,546,649,203,347,456 Apr 23 2011 @skilldrick @hoverbird @shinypb You guys must be soooo old, I don't remember the words to the duck tales intro at all.
|
284
|
+
194,546,583,608,639,488 Apr 23 2011 @sean @mep Thanks for coming by. Was great to have you.
|
285
|
+
194,546,388,707,717,120 Apr 23 2011 @hoverbird @shinypb @trammell it's all suck a "duck blur" sometimes.
|
286
|
+
194,546,264,212,385,793 Apr 23 2011 @kelseysilver San Francisco here I come! (@ Newark Liberty International Airport (EWR) w/ 92 others) http://t.co/eoLANJZw
|
287
287
|
eos
|
288
288
|
end
|
289
289
|
end
|
data/spec/search_spec.rb
CHANGED
@@ -59,22 +59,22 @@ describe T::Search do
|
|
59
59
|
it "should list in long format" do
|
60
60
|
@search.all("twitter")
|
61
61
|
$stdout.string.should == <<-eos
|
62
|
-
ID
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
62
|
+
ID Posted at Screen name Text
|
63
|
+
194,521,262,415,032,320 Apr 23 2011 @JessRoveel Pondre lo mas importante de Hamlet en Twitter para recordarlo mejor :D
|
64
|
+
194,521,262,326,951,936 Apr 23 2011 @lauravgeest Twitter doet het al 7 uur niet meer
|
65
|
+
194,521,262,234,669,056 Apr 23 2011 @Jenny_Bearx333 I keep thinking that twitter is @instagram , and therefore double tap all the pics I like... #NotWorking
|
66
|
+
194,521,262,138,204,160 Apr 23 2011 @misspoxtonX RT @jordantaylorhi: twitter friends > twats at school
|
67
|
+
194,521,262,134,001,665 Apr 23 2011 @PatrickBrickman RT @zeus30hightower: Too all Bama fans and followers my cousin mark Barron doesn't have a twitter so please disregard any tweets from that user
|
68
|
+
194,521,262,129,811,456 Apr 23 2011 @KolonelX Ik refresh twitter op me telefoon terwijl ik tweetdeck voor me open heb staan
|
69
|
+
194,521,261,852,995,586 Apr 23 2011 @VLGPRLG5 @mikeyway and you too RT @NimcyGD: @gerardway Get your ass back to twitter, okay? :3
|
70
|
+
194,521,261,756,530,689 Apr 23 2011 @xRhiBabyx Trying to persuade the boyf to get on twitter and failing. Help? @holly_haime @Ckwarburton @samwarburton_ @chrishaime @rowloboy
|
71
|
+
194,521,261,630,697,473 Apr 23 2011 @juliotrv RT @lookinglassbr: Lançamentos outono-inverno 2012...CONFIRA em http://t.co/YAk8OXp7 http://t.co/fmmrVrbG
|
72
|
+
194,521,261,571,964,928 Apr 23 2011 @shanleyaustin27 RT @caaammmmi: @shanleyaustin27 .....and this hahahahaa http://t.co/wzCMx6ZU
|
73
|
+
194,521,261,563,580,416 Apr 23 2011 @Dame_Valuta RT @Paiser10: Great @chelseafc training at Nou Camp! #cfc http://t.co/k00TnRyR
|
74
|
+
194,521,261,488,095,232 Apr 23 2011 @miss_indyiah smh, @IndianaHustle done turned into a twitter addict..fuck goin on lol ?
|
75
|
+
194,521,261,370,650,625 Apr 23 2011 @CAROLINEWOLLER RT @Mark_Ingram28: To all Bama fans and followers, please unfollow and pay no attention to any user posing to be Mark Barron. My bro doesn't have a twitter!
|
76
|
+
194,521,261,370,642,432 Apr 23 2011 @shelbytrenchdww RT @The90sLife: Admit it, we all have a cabinet that looks like this. http://t.co/gQEkQw5G
|
77
|
+
194,521,261,307,727,872 Apr 23 2011 @kabos84 RT @JF_q8: بالله عليكم ،، مو عيب !!! .. http://t.co/e29GV7Ow
|
78
78
|
eos
|
79
79
|
end
|
80
80
|
end
|
@@ -139,22 +139,22 @@ ID Posted at Screen name Text
|
|
139
139
|
@search.favorites("twitter")
|
140
140
|
$stdout.string.should == <<-eos
|
141
141
|
ID Posted at Screen name Text
|
142
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
143
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
144
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
145
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
146
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
147
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
148
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
149
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
150
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
151
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
152
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
153
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
154
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
155
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
156
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
157
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
142
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
143
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
144
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
145
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
146
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
147
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
148
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
149
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
150
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
151
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
152
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
153
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
154
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
155
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
156
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
157
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
158
158
|
eos
|
159
159
|
end
|
160
160
|
end
|
@@ -218,22 +218,22 @@ ID Posted at Screen name Text
|
|
218
218
|
@search.mentions("twitter")
|
219
219
|
$stdout.string.should == <<-eos
|
220
220
|
ID Posted at Screen name Text
|
221
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
222
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
223
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
224
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
225
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
226
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
227
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
228
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
229
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
230
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
231
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
232
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
233
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
234
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
235
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
236
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
221
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
222
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
223
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
224
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
225
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
226
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
227
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
228
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
229
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
230
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
231
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
232
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
233
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
234
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
235
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
236
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
237
237
|
eos
|
238
238
|
end
|
239
239
|
end
|
@@ -297,22 +297,22 @@ ID Posted at Screen name Text
|
|
297
297
|
@search.retweets("twitter")
|
298
298
|
$stdout.string.should == <<-eos
|
299
299
|
ID Posted at Screen name Text
|
300
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
301
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
302
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
303
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
304
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
305
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
306
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
307
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
308
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
309
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
310
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
311
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
312
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
313
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
314
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
315
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
300
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
301
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
302
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
303
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
304
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
305
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
306
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
307
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
308
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
309
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
310
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
311
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
312
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
313
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
314
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
315
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
316
316
|
eos
|
317
317
|
end
|
318
318
|
end
|
@@ -376,22 +376,22 @@ ID Posted at Screen name Text
|
|
376
376
|
@search.timeline("twitter")
|
377
377
|
$stdout.string.should == <<-eos
|
378
378
|
ID Posted at Screen name Text
|
379
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
380
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
381
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
382
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
383
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
384
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
385
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
386
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
387
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
388
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
389
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
390
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
391
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
392
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
393
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
394
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
379
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
380
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
381
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
382
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
383
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
384
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
385
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
386
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
387
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
388
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
389
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
390
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
391
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
392
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
393
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
394
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
395
395
|
eos
|
396
396
|
end
|
397
397
|
end
|
@@ -455,22 +455,22 @@ ID Posted at Screen name Text
|
|
455
455
|
@search.user("sferik", "twitter")
|
456
456
|
$stdout.string.should == <<-eos
|
457
457
|
ID Posted at Screen name Text
|
458
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
459
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
460
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
461
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
462
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
463
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
464
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
465
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
466
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
467
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
468
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
469
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
470
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
471
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
472
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
473
|
-
194,546,727,670,390,784 Apr 23 2011 bartt
|
458
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
459
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
460
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
461
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
462
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
463
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
464
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
465
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
466
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
467
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
468
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
469
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
470
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
471
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
472
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
473
|
+
194,546,727,670,390,784 Apr 23 2011 @bartt @noahlt @gaarf Yup, now owning @twitter -> FB from FE to daemons. Lot’s of fun. Expect improvements in the weeks to come.
|
474
474
|
eos
|
475
475
|
end
|
476
476
|
end
|
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -357,9 +357,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
357
357
|
- - ! '>='
|
358
358
|
- !ruby/object:Gem::Version
|
359
359
|
version: '0'
|
360
|
-
segments:
|
361
|
-
- 0
|
362
|
-
hash: 1437734327523620267
|
363
360
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
361
|
none: false
|
365
362
|
requirements:
|
@@ -404,3 +401,4 @@ test_files:
|
|
404
401
|
- spec/rcfile_spec.rb
|
405
402
|
- spec/search_spec.rb
|
406
403
|
- spec/set_spec.rb
|
404
|
+
has_rdoc:
|