t 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/cli_spec.rb CHANGED
@@ -243,38 +243,6 @@ describe T::CLI do
243
243
  end
244
244
  end
245
245
 
246
- describe "#get" do
247
- context "not found" do
248
- before do
249
- stub_get("/1/users/show.json").
250
- with(:query => {:screen_name => "sferik", :include_entities => "false"}).
251
- to_return(:body => '{}', :headers => {:content_type => "application/json; charset=utf-8"})
252
- end
253
- it "should exit" do
254
- lambda do
255
- @t.get("sferik")
256
- end.should raise_error(Thor::Error, "Tweet not found")
257
- end
258
- end
259
- context "found" do
260
- before do
261
- stub_get("/1/users/show.json").
262
- with(:query => {:screen_name => "sferik", :include_entities => "false"}).
263
- to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
264
- end
265
- it "should request the correct resource" do
266
- @t.get("sferik")
267
- a_get("/1/users/show.json").
268
- with(:query => {:screen_name => "sferik", :include_entities => "false"}).
269
- should have_been_made
270
- end
271
- it "should have the correct output" do
272
- @t.get("sferik")
273
- $stdout.string.chomp.should == "RT @tenderlove: [ANN] sqlite3-ruby => sqlite3 (10 months ago)"
274
- end
275
- end
276
- end
277
-
278
246
  describe "#mentions" do
279
247
  before do
280
248
  stub_get("/1/statuses/mentions.json").
@@ -421,40 +389,6 @@ describe T::CLI do
421
389
  end
422
390
  end
423
391
 
424
- describe "#search" do
425
- before do
426
- stub_request(:get, "https://search.twitter.com/search.json").
427
- with(:query => {:q => "twitter", :include_entities => "false"}).
428
- to_return(:body => fixture("search.json"), :headers => {:content_type => "application/json; charset=utf-8"})
429
- end
430
- it "should request the correct resource" do
431
- @t.search("twitter")
432
- a_request(:get, "https://search.twitter.com/search.json").
433
- with(:query => {:q => "twitter", :include_entities => "false"}).
434
- should have_been_made
435
- end
436
- it "should have the correct output" do
437
- @t.search("twitter")
438
- $stdout.string.should == <<-eos.gsub(/^/, ' ' * 6)
439
- killermelons: @KaiserKuo from not too far away your new twitter icon looks like Vader. (about 1 year ago)
440
- FelipeNoMore: RT @nicoMaiden: RT @golden254: Quien habra sido el habil en decirle al negro piñera que era cantante?/el mismo que le dijo a @copano que la lleva en twitter (about 1 year ago)
441
- Je_eF: é cada louco que tem nesse twitter que o vicio nao me deixa largar isso jamé (about 1 year ago)
442
- TriceyTrice2U: @Jae_Savage same name as twitter (about 1 year ago)
443
- eternity4: @enishi39 Its awesome huh? Its ALL Spn anime epicness!! I had a tough time getting twitter to put it up.xD (about 1 year ago)
444
- twittag: [Twitter*feed] 船井総研発!一番店の法則~実費型治療院(整骨院・接骨院)・サロン経営コンサルティングブログ~ http://bit.ly/cxoSGL (about 1 year ago)
445
- twittag: [Twitter*feed] ニフティクラウド、明日より「サーバーコピー」、「カスタマイズイメージ」、「オートスケール」、「基本監視・パフォーマンスチャート」を公開 | P2P today ダブルスラッシュ http://wslash.com/?p=2959 (about 1 year ago)
446
- twittag: [Twitter*feed] ニフティクラウド、明日より「サーバーコピー」、「カスタマイズイメージ」、「オートスケール」、「基本監視・パフォーマンスチャート」を公開 | P2P today ダブルスラッシュ http://bit.ly/aziQQo (about 1 year ago)
447
- ArcangelHak: Bueno pues me desconectó de twitter al tatto le falta todavía un rato y ya casi tengo sueño (about 1 year ago)
448
- recycledhumor: Just in case you are wondering, Weird Al (@alyankovic) has 1,862,789 followers on Twitter. Correction: 1,862,790 followers on Twitter. (about 1 year ago)
449
- junitaaa: Lama&quot; chat di twitter nih..hahaha RT @buntutbabi: Lo yg mulai juga,siiietRT @Junitaaa: Kelakuan @buntutbabi (cont) http://tl.gd/6m1dcv (about 1 year ago)
450
- twittag: [Twitter*feed] 『かちびと.net』 の人気エントリー - はてなブックマーク http://bit.ly/9Yx6xS (about 1 year ago)
451
- avexnews: @ICONIQ_NEWS opened!She gain attention by collaboration song「I'm lovin' you」wif EXILE・ATSUSHI.Get her newest info here! http://bit.ly/dymm8v (about 1 year ago)
452
- WildIvory92: RT @FiercePrinceJ: People on Twitter Gossip about other People, Hate others? This Is Twitter Nothing More, Nothing Less. (about 1 year ago)
453
- twittag: [Twitter*feed] Now Playing Friends - リニューアル式 : R49 http://bit.ly/bmlA5g (about 1 year ago)
454
- eos
455
- end
456
- end
457
-
458
392
  describe "#sent_messages" do
459
393
  before do
460
394
  stub_get("/1/direct_messages/sent.json").
@@ -562,40 +496,79 @@ describe T::CLI do
562
496
  end
563
497
 
564
498
  describe "#timeline" do
565
- before do
566
- stub_get("/1/statuses/home_timeline.json").
567
- with(:query => {:include_entities => "false"}).
568
- to_return(:body => fixture("statuses.json"), :headers => {:content_type => "application/json; charset=utf-8"})
569
- end
570
- it "should request the correct resource" do
571
- @t.timeline
572
- a_get("/1/statuses/home_timeline.json").
573
- with(:query => {:include_entities => "false"}).
574
- should have_been_made
499
+ context "without user" do
500
+ before do
501
+ stub_get("/1/statuses/home_timeline.json").
502
+ with(:query => {:include_entities => "false"}).
503
+ to_return(:body => fixture("statuses.json"), :headers => {:content_type => "application/json; charset=utf-8"})
504
+ end
505
+ it "should request the correct resource" do
506
+ @t.timeline
507
+ a_get("/1/statuses/home_timeline.json").
508
+ with(:query => {:include_entities => "false"}).
509
+ should have_been_made
510
+ end
511
+ it "should have the correct output" do
512
+ @t.timeline
513
+ $stdout.string.should == <<-eos.gsub(/^/, ' ' * 4)
514
+ sferik: Ruby is the best programming language for hiding the ugly bits. (about 1 year ago)
515
+ sferik: There are 1.3 billion people in China; when people say there are 1 billion they are rounding off the entire population of the United States. (about 1 year ago)
516
+ sferik: The new Windows Phone campaign is the best advertising from Microsoft since "Start Me Up" (1995). Great work by CP+B. http://t.co/tIzxopI (about 1 year ago)
517
+ sferik: Fear not to sow seeds because of the birds. http://twitpic.com/2wg621 (about 1 year ago)
518
+ sferik: Speaking of things that are maddening: the interview with the Wall Street guys on the most recent This American Life http://bit.ly/af9pSD (about 1 year ago)
519
+ sferik: Holy cow! RailsAdmin is up to 200 watchers (from 100 yesterday). http://github.com/sferik/rails_admin (about 1 year ago)
520
+ sferik: Kind of cool that Facebook acts as a mirror for open-source projects that they use or like http://mirror.facebook.net/ (about 1 year ago)
521
+ sferik: RailsAdmin already has 100 watchers, 12 forks, and 6 contributors in less than 2 months. Let's keep the momentum going! http://bit.ly/cCMMqD (about 1 year ago)
522
+ sferik: This week's This American Life is amazing. @JoeLipari is an American hero. http://bit.ly/d9RbnB (about 1 year ago)
523
+ sferik: RT @polyseme: OH: shofars should be called jewvuzelas. (about 1 year ago)
524
+ sferik: Spent this morning fixing broken windows in RailsAdmin http://github.com/sferik/rails_admin/compare/ab6c598...0e3770f (about 1 year ago)
525
+ sferik: I'm a big believer that the broken windows theory applies to software development http://en.wikipedia.org/wiki/Broken_windows_theory (about 1 year ago)
526
+ sferik: I hope you idiots are happy with your piece of shit Android phones. http://www.apple.com/pr/library/2010/09/09statement.html (about 1 year ago)
527
+ sferik: Ping: kills MySpace dead. (about 1 year ago)
528
+ sferik: Crazy that iTunes Ping didn't leak a drop. (about 1 year ago)
529
+ sferik: The plot thickens http://twitpic.com/2k5lt2 (about 1 year ago)
530
+ sferik: 140 Proof Provides A Piece Of The Twitter Advertising Puzzle http://t.co/R2cUSDe via @techcrunch (about 1 year ago)
531
+ sferik: Try as you may http://www.thedoghousediaries.com/?p=1940 (about 1 year ago)
532
+ sferik: I know @SarahPalinUSA has a right to use Twitter, but should she? (over 1 year ago)
533
+ eos
534
+ end
575
535
  end
576
- it "should have the correct output" do
577
- @t.timeline
578
- $stdout.string.should == <<-eos.gsub(/^/, ' ' * 6)
579
- sferik: Ruby is the best programming language for hiding the ugly bits. (about 1 year ago)
580
- sferik: There are 1.3 billion people in China; when people say there are 1 billion they are rounding off the entire population of the United States. (about 1 year ago)
581
- sferik: The new Windows Phone campaign is the best advertising from Microsoft since "Start Me Up" (1995). Great work by CP+B. http://t.co/tIzxopI (about 1 year ago)
582
- sferik: Fear not to sow seeds because of the birds. http://twitpic.com/2wg621 (about 1 year ago)
583
- sferik: Speaking of things that are maddening: the interview with the Wall Street guys on the most recent This American Life http://bit.ly/af9pSD (about 1 year ago)
584
- sferik: Holy cow! RailsAdmin is up to 200 watchers (from 100 yesterday). http://github.com/sferik/rails_admin (about 1 year ago)
585
- sferik: Kind of cool that Facebook acts as a mirror for open-source projects that they use or like http://mirror.facebook.net/ (about 1 year ago)
586
- sferik: RailsAdmin already has 100 watchers, 12 forks, and 6 contributors in less than 2 months. Let's keep the momentum going! http://bit.ly/cCMMqD (about 1 year ago)
587
- sferik: This week's This American Life is amazing. @JoeLipari is an American hero. http://bit.ly/d9RbnB (about 1 year ago)
588
- sferik: RT @polyseme: OH: shofars should be called jewvuzelas. (about 1 year ago)
589
- sferik: Spent this morning fixing broken windows in RailsAdmin http://github.com/sferik/rails_admin/compare/ab6c598...0e3770f (about 1 year ago)
590
- sferik: I'm a big believer that the broken windows theory applies to software development http://en.wikipedia.org/wiki/Broken_windows_theory (about 1 year ago)
591
- sferik: I hope you idiots are happy with your piece of shit Android phones. http://www.apple.com/pr/library/2010/09/09statement.html (about 1 year ago)
592
- sferik: Ping: kills MySpace dead. (about 1 year ago)
593
- sferik: Crazy that iTunes Ping didn't leak a drop. (about 1 year ago)
594
- sferik: The plot thickens http://twitpic.com/2k5lt2 (about 1 year ago)
595
- sferik: 140 Proof Provides A Piece Of The Twitter Advertising Puzzle http://t.co/R2cUSDe via @techcrunch (about 1 year ago)
596
- sferik: Try as you may http://www.thedoghousediaries.com/?p=1940 (about 1 year ago)
597
- sferik: I know @SarahPalinUSA has a right to use Twitter, but should she? (over 1 year ago)
598
- eos
536
+ context "with user" do
537
+ before do
538
+ stub_get("/1/statuses/user_timeline.json").
539
+ with(:query => {:screen_name => "sferik", :include_entities => "false"}).
540
+ to_return(:body => fixture("statuses.json"), :headers => {:content_type => "application/json; charset=utf-8"})
541
+ end
542
+ it "should request the correct resource" do
543
+ @t.timeline("sferik")
544
+ a_get("/1/statuses/user_timeline.json").
545
+ with(:query => {:screen_name => "sferik", :include_entities => "false"}).
546
+ should have_been_made
547
+ end
548
+ it "should have the correct output" do
549
+ @t.timeline("sferik")
550
+ $stdout.string.should == <<-eos.gsub(/^/, ' ' * 4)
551
+ sferik: Ruby is the best programming language for hiding the ugly bits. (about 1 year ago)
552
+ sferik: There are 1.3 billion people in China; when people say there are 1 billion they are rounding off the entire population of the United States. (about 1 year ago)
553
+ sferik: The new Windows Phone campaign is the best advertising from Microsoft since "Start Me Up" (1995). Great work by CP+B. http://t.co/tIzxopI (about 1 year ago)
554
+ sferik: Fear not to sow seeds because of the birds. http://twitpic.com/2wg621 (about 1 year ago)
555
+ sferik: Speaking of things that are maddening: the interview with the Wall Street guys on the most recent This American Life http://bit.ly/af9pSD (about 1 year ago)
556
+ sferik: Holy cow! RailsAdmin is up to 200 watchers (from 100 yesterday). http://github.com/sferik/rails_admin (about 1 year ago)
557
+ sferik: Kind of cool that Facebook acts as a mirror for open-source projects that they use or like http://mirror.facebook.net/ (about 1 year ago)
558
+ sferik: RailsAdmin already has 100 watchers, 12 forks, and 6 contributors in less than 2 months. Let's keep the momentum going! http://bit.ly/cCMMqD (about 1 year ago)
559
+ sferik: This week's This American Life is amazing. @JoeLipari is an American hero. http://bit.ly/d9RbnB (about 1 year ago)
560
+ sferik: RT @polyseme: OH: shofars should be called jewvuzelas. (about 1 year ago)
561
+ sferik: Spent this morning fixing broken windows in RailsAdmin http://github.com/sferik/rails_admin/compare/ab6c598...0e3770f (about 1 year ago)
562
+ sferik: I'm a big believer that the broken windows theory applies to software development http://en.wikipedia.org/wiki/Broken_windows_theory (about 1 year ago)
563
+ sferik: I hope you idiots are happy with your piece of shit Android phones. http://www.apple.com/pr/library/2010/09/09statement.html (about 1 year ago)
564
+ sferik: Ping: kills MySpace dead. (about 1 year ago)
565
+ sferik: Crazy that iTunes Ping didn't leak a drop. (about 1 year ago)
566
+ sferik: The plot thickens http://twitpic.com/2k5lt2 (about 1 year ago)
567
+ sferik: 140 Proof Provides A Piece Of The Twitter Advertising Puzzle http://t.co/R2cUSDe via @techcrunch (about 1 year ago)
568
+ sferik: Try as you may http://www.thedoghousediaries.com/?p=1940 (about 1 year ago)
569
+ sferik: I know @SarahPalinUSA has a right to use Twitter, but should she? (over 1 year ago)
570
+ eos
571
+ end
599
572
  end
600
573
  end
601
574
 
data/spec/rcfile_spec.rb CHANGED
@@ -3,6 +3,10 @@ require 'helper'
3
3
 
4
4
  describe RCFile do
5
5
 
6
+ before do
7
+ RCFile.instance.reset
8
+ end
9
+
6
10
  after do
7
11
  RCFile.instance.reset
8
12
  end
@@ -17,7 +21,7 @@ describe RCFile do
17
21
  describe '#[]' do
18
22
  it 'should return the profiles for a user' do
19
23
  rcfile = RCFile.instance
20
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
24
+ rcfile.path = fixture_path + "/.trc"
21
25
  rcfile['testcli'].keys.should == ['abc123']
22
26
  end
23
27
  end
@@ -49,16 +53,14 @@ describe RCFile do
49
53
  :secret => 'jkl012',
50
54
  }
51
55
  }
52
- rcfile.load
53
56
  rcfile['testcli'].keys.should == ['abc123']
54
- rcfile.delete
55
57
  end
56
58
  end
57
59
 
58
60
  describe '#configuration' do
59
61
  it 'should return configuration' do
60
62
  rcfile = RCFile.instance
61
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
63
+ rcfile.path = fixture_path + "/.trc"
62
64
  rcfile.configuration.keys.should == ['default_profile']
63
65
  end
64
66
  end
@@ -66,7 +68,7 @@ describe RCFile do
66
68
  describe '#default_consumer_key' do
67
69
  it 'should return default consumer key' do
68
70
  rcfile = RCFile.instance
69
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
71
+ rcfile.path = fixture_path + "/.trc"
70
72
  rcfile.default_consumer_key.should == 'abc123'
71
73
  end
72
74
  end
@@ -74,7 +76,7 @@ describe RCFile do
74
76
  describe '#default_consumer_secret' do
75
77
  it 'should return default consumer secret' do
76
78
  rcfile = RCFile.instance
77
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
79
+ rcfile.path = fixture_path + "/.trc"
78
80
  rcfile.default_consumer_secret.should == 'asdfasd223sd2'
79
81
  end
80
82
  end
@@ -82,7 +84,7 @@ describe RCFile do
82
84
  describe '#default_profile' do
83
85
  it 'should return default profile' do
84
86
  rcfile = RCFile.instance
85
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
87
+ rcfile.path = fixture_path + "/.trc"
86
88
  rcfile.default_profile.should == ['testcli', 'abc123']
87
89
  end
88
90
  end
@@ -91,8 +93,6 @@ describe RCFile do
91
93
  it 'should set default profile' do
92
94
  rcfile = RCFile.instance
93
95
  rcfile.path = File.expand_path('/tmp/trc', __FILE__)
94
- rcfile.load
95
- rcfile.delete
96
96
  rcfile.default_profile = {'username' => 'testcli', 'consumer_key' => 'abc123'}
97
97
  rcfile.default_profile.should == ['testcli', 'abc123']
98
98
  end
@@ -100,16 +100,14 @@ describe RCFile do
100
100
  rcfile = RCFile.instance
101
101
  rcfile.path = '/tmp/trc'
102
102
  rcfile.default_profile = {'username' => 'testcli', 'consumer_key' => 'abc123'}
103
- rcfile.load
104
103
  rcfile.default_profile.should == ['testcli', 'abc123']
105
- rcfile.delete
106
104
  end
107
105
  end
108
106
 
109
107
  describe '#default_token' do
110
108
  it 'should return default token' do
111
109
  rcfile = RCFile.instance
112
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
110
+ rcfile.path = fixture_path + "/.trc"
113
111
  rcfile.default_token.should == '428004849-cebdct6bwobn'
114
112
  end
115
113
  end
@@ -117,7 +115,7 @@ describe RCFile do
117
115
  describe '#default_secret' do
118
116
  it 'should return default secret' do
119
117
  rcfile = RCFile.instance
120
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
118
+ rcfile.path = fixture_path + "/.trc"
121
119
  rcfile.default_secret.should == 'epzrjvxtumoc'
122
120
  end
123
121
  end
@@ -138,7 +136,7 @@ describe RCFile do
138
136
  context 'when a non-empty file exists' do
139
137
  it 'should return false' do
140
138
  rcfile = RCFile.instance
141
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
139
+ rcfile.path = fixture_path + "/.trc"
142
140
  rcfile.empty?.should be_false
143
141
  end
144
142
  end
@@ -155,7 +153,7 @@ describe RCFile do
155
153
  context 'when file exists at path' do
156
154
  it 'should load data from file' do
157
155
  rcfile = RCFile.instance
158
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
156
+ rcfile.path = fixture_path + "/.trc"
159
157
  rcfile.load['profiles']['testcli']['abc123']['username'].should == 'testcli'
160
158
  end
161
159
  end
@@ -182,7 +180,7 @@ describe RCFile do
182
180
  end
183
181
  it 'should reload data' do
184
182
  rcfile = RCFile.instance
185
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
183
+ rcfile.path = fixture_path + "/.trc"
186
184
  rcfile['testcli']['abc123']['username'].should == 'testcli'
187
185
  end
188
186
  end
@@ -190,7 +188,7 @@ describe RCFile do
190
188
  describe '#profiles' do
191
189
  it 'should return profiles' do
192
190
  rcfile = RCFile.instance
193
- rcfile.path = File.expand_path('../fixtures/.trc', __FILE__)
191
+ rcfile.path = fixture_path + "/.trc"
194
192
  rcfile.profiles.keys.should == ['testcli']
195
193
  end
196
194
  end
data/t.gemspec CHANGED
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.add_dependency 'launchy', '~> 2.0'
8
8
  gem.add_dependency 'geokit', '~> 1.6'
9
9
  gem.add_dependency 'oauth', '~> 0.4'
10
+ gem.add_dependency 'retryable', '~> 1.2'
10
11
  gem.add_dependency 'thor', '~> 0.15.0.rc2'
11
12
  gem.add_dependency 'twitter', ['>= 2.0.2', '< 3']
12
13
  gem.add_dependency 'yajl-ruby', '~> 1.1'
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.2.1
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-26 00:00:00.000000000Z
12
+ date: 2012-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
16
- requirement: &70204403301640 !ruby/object:Gem::Requirement
16
+ requirement: &70328292738520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: '4'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70204403301640
27
+ version_requirements: *70328292738520
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activesupport
30
- requirement: &70204403297120 !ruby/object:Gem::Requirement
30
+ requirement: &70328292736540 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ! '>='
@@ -38,10 +38,10 @@ dependencies:
38
38
  version: '4'
39
39
  type: :runtime
40
40
  prerelease: false
41
- version_requirements: *70204403297120
41
+ version_requirements: *70328292736540
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: launchy
44
- requirement: &70204403293700 !ruby/object:Gem::Requirement
44
+ requirement: &70328292735260 !ruby/object:Gem::Requirement
45
45
  none: false
46
46
  requirements:
47
47
  - - ~>
@@ -49,10 +49,10 @@ dependencies:
49
49
  version: '2.0'
50
50
  type: :runtime
51
51
  prerelease: false
52
- version_requirements: *70204403293700
52
+ version_requirements: *70328292735260
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: geokit
55
- requirement: &70204403292200 !ruby/object:Gem::Requirement
55
+ requirement: &70328292734440 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
58
  - - ~>
@@ -60,10 +60,10 @@ dependencies:
60
60
  version: '1.6'
61
61
  type: :runtime
62
62
  prerelease: false
63
- version_requirements: *70204403292200
63
+ version_requirements: *70328292734440
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: oauth
66
- requirement: &70204403290620 !ruby/object:Gem::Requirement
66
+ requirement: &70328292733780 !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
69
  - - ~>
@@ -71,10 +71,21 @@ dependencies:
71
71
  version: '0.4'
72
72
  type: :runtime
73
73
  prerelease: false
74
- version_requirements: *70204403290620
74
+ version_requirements: *70328292733780
75
+ - !ruby/object:Gem::Dependency
76
+ name: retryable
77
+ requirement: &70328292732920 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '1.2'
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: *70328292732920
75
86
  - !ruby/object:Gem::Dependency
76
87
  name: thor
77
- requirement: &70204403289260 !ruby/object:Gem::Requirement
88
+ requirement: &70328292732400 !ruby/object:Gem::Requirement
78
89
  none: false
79
90
  requirements:
80
91
  - - ~>
@@ -82,10 +93,10 @@ dependencies:
82
93
  version: 0.15.0.rc2
83
94
  type: :runtime
84
95
  prerelease: false
85
- version_requirements: *70204403289260
96
+ version_requirements: *70328292732400
86
97
  - !ruby/object:Gem::Dependency
87
98
  name: twitter
88
- requirement: &70204403288000 !ruby/object:Gem::Requirement
99
+ requirement: &70328292731300 !ruby/object:Gem::Requirement
89
100
  none: false
90
101
  requirements:
91
102
  - - ! '>='
@@ -96,10 +107,10 @@ dependencies:
96
107
  version: '3'
97
108
  type: :runtime
98
109
  prerelease: false
99
- version_requirements: *70204403288000
110
+ version_requirements: *70328292731300
100
111
  - !ruby/object:Gem::Dependency
101
112
  name: yajl-ruby
102
- requirement: &70204403286200 !ruby/object:Gem::Requirement
113
+ requirement: &70328292729420 !ruby/object:Gem::Requirement
103
114
  none: false
104
115
  requirements:
105
116
  - - ~>
@@ -107,10 +118,10 @@ dependencies:
107
118
  version: '1.1'
108
119
  type: :runtime
109
120
  prerelease: false
110
- version_requirements: *70204403286200
121
+ version_requirements: *70328292729420
111
122
  - !ruby/object:Gem::Dependency
112
123
  name: pry
113
- requirement: &70204403285460 !ruby/object:Gem::Requirement
124
+ requirement: &70328292728420 !ruby/object:Gem::Requirement
114
125
  none: false
115
126
  requirements:
116
127
  - - ! '>='
@@ -118,10 +129,10 @@ dependencies:
118
129
  version: '0'
119
130
  type: :development
120
131
  prerelease: false
121
- version_requirements: *70204403285460
132
+ version_requirements: *70328292728420
122
133
  - !ruby/object:Gem::Dependency
123
134
  name: rake
124
- requirement: &70204403284560 !ruby/object:Gem::Requirement
135
+ requirement: &70328292714620 !ruby/object:Gem::Requirement
125
136
  none: false
126
137
  requirements:
127
138
  - - ! '>='
@@ -129,10 +140,10 @@ dependencies:
129
140
  version: '0'
130
141
  type: :development
131
142
  prerelease: false
132
- version_requirements: *70204403284560
143
+ version_requirements: *70328292714620
133
144
  - !ruby/object:Gem::Dependency
134
145
  name: rspec
135
- requirement: &70204403283960 !ruby/object:Gem::Requirement
146
+ requirement: &70328292713460 !ruby/object:Gem::Requirement
136
147
  none: false
137
148
  requirements:
138
149
  - - ! '>='
@@ -140,10 +151,10 @@ dependencies:
140
151
  version: '0'
141
152
  type: :development
142
153
  prerelease: false
143
- version_requirements: *70204403283960
154
+ version_requirements: *70328292713460
144
155
  - !ruby/object:Gem::Dependency
145
156
  name: simplecov
146
- requirement: &70204403283260 !ruby/object:Gem::Requirement
157
+ requirement: &70328292712180 !ruby/object:Gem::Requirement
147
158
  none: false
148
159
  requirements:
149
160
  - - ! '>='
@@ -151,10 +162,10 @@ dependencies:
151
162
  version: '0'
152
163
  type: :development
153
164
  prerelease: false
154
- version_requirements: *70204403283260
165
+ version_requirements: *70328292712180
155
166
  - !ruby/object:Gem::Dependency
156
167
  name: timecop
157
- requirement: &70204403282080 !ruby/object:Gem::Requirement
168
+ requirement: &70328292710680 !ruby/object:Gem::Requirement
158
169
  none: false
159
170
  requirements:
160
171
  - - ! '>='
@@ -162,10 +173,10 @@ dependencies:
162
173
  version: '0'
163
174
  type: :development
164
175
  prerelease: false
165
- version_requirements: *70204403282080
176
+ version_requirements: *70328292710680
166
177
  - !ruby/object:Gem::Dependency
167
178
  name: webmock
168
- requirement: &70204403281420 !ruby/object:Gem::Requirement
179
+ requirement: &70328292708760 !ruby/object:Gem::Requirement
169
180
  none: false
170
181
  requirements:
171
182
  - - ! '>='
@@ -173,7 +184,7 @@ dependencies:
173
184
  version: '0'
174
185
  type: :development
175
186
  prerelease: false
176
- version_requirements: *70204403281420
187
+ version_requirements: *70328292708760
177
188
  description: A command-line interface for Twitter.
178
189
  email: sferik@gmail.com
179
190
  executables:
@@ -193,29 +204,24 @@ files:
193
204
  - lib/t/cli.rb
194
205
  - lib/t/cli/delete.rb
195
206
  - lib/t/cli/follow.rb
196
- - lib/t/cli/follow/all.rb
197
207
  - lib/t/cli/list.rb
198
208
  - lib/t/cli/list/add.rb
199
- - lib/t/cli/list/add/all.rb
200
209
  - lib/t/cli/list/remove.rb
201
- - lib/t/cli/list/remove/all.rb
210
+ - lib/t/cli/search.rb
202
211
  - lib/t/cli/set.rb
203
212
  - lib/t/cli/unfollow.rb
204
- - lib/t/cli/unfollow/all.rb
213
+ - lib/t/collectable.rb
205
214
  - lib/t/core_ext/enumerable.rb
206
215
  - lib/t/core_ext/string.rb
207
216
  - lib/t/rcfile.rb
208
217
  - lib/t/version.rb
209
218
  - spec/cli/delete_spec.rb
210
- - spec/cli/follow/all_spec.rb
211
219
  - spec/cli/follow_spec.rb
212
- - spec/cli/list/add/all_spec.rb
213
220
  - spec/cli/list/add_spec.rb
214
- - spec/cli/list/remove/all_spec.rb
215
221
  - spec/cli/list/remove_spec.rb
216
222
  - spec/cli/list_spec.rb
223
+ - spec/cli/search_spec.rb
217
224
  - spec/cli/set_spec.rb
218
- - spec/cli/unfollow/all_spec.rb
219
225
  - spec/cli/unfollow_spec.rb
220
226
  - spec/cli_spec.rb
221
227
  - spec/fixtures/.trc
@@ -270,15 +276,12 @@ specification_version: 3
270
276
  summary: CLI for Twitter
271
277
  test_files:
272
278
  - spec/cli/delete_spec.rb
273
- - spec/cli/follow/all_spec.rb
274
279
  - spec/cli/follow_spec.rb
275
- - spec/cli/list/add/all_spec.rb
276
280
  - spec/cli/list/add_spec.rb
277
- - spec/cli/list/remove/all_spec.rb
278
281
  - spec/cli/list/remove_spec.rb
279
282
  - spec/cli/list_spec.rb
283
+ - spec/cli/search_spec.rb
280
284
  - spec/cli/set_spec.rb
281
- - spec/cli/unfollow/all_spec.rb
282
285
  - spec/cli/unfollow_spec.rb
283
286
  - spec/cli_spec.rb
284
287
  - spec/fixtures/.trc