twitter 4.4.1 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/README.md +2 -2
- data/lib/twitter/api/friends_and_followers.rb +8 -8
- data/lib/twitter/api/lists.rb +7 -7
- data/lib/twitter/api/undocumented.rb +2 -2
- data/lib/twitter/api/users.rb +3 -3
- data/lib/twitter/api/utils.rb +3 -3
- data/lib/twitter/core_ext/kernel.rb +0 -4
- data/lib/twitter/direct_message.rb +1 -0
- data/lib/twitter/version.rb +1 -1
- data/spec/fixtures/followers_list2.json +1 -0
- data/spec/fixtures/friends_list2.json +1 -0
- data/spec/fixtures/memberships2.json +1 -0
- data/spec/fixtures/subscriptions.json +1 -1
- data/spec/fixtures/subscriptions2.json +1 -0
- data/spec/fixtures/users_list2.json +1 -0
- data/spec/twitter/api/friends_and_followers_spec.rb +168 -26
- data/spec/twitter/api/lists_spec.rb +287 -122
- data/spec/twitter/api/search_spec.rb +4 -4
- data/spec/twitter/api/suggested_users_spec.rb +0 -35
- data/spec/twitter/api/undocumented_spec.rb +39 -0
- data/spec/twitter/api/users_spec.rb +57 -46
- data/twitter.gemspec +1 -7
- metadata +13 -99
@@ -11,18 +11,18 @@ describe Twitter::API::Search do
|
|
11
11
|
stub_get("/1.1/search/tweets.json").with(:query => {:q => "twitter"}).to_return(:body => fixture("search.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
12
12
|
end
|
13
13
|
it "requests the correct resource" do
|
14
|
-
@client.search(
|
14
|
+
@client.search("twitter")
|
15
15
|
expect(a_get("/1.1/search/tweets.json").with(:query => {:q => "twitter"})).to have_been_made
|
16
16
|
end
|
17
17
|
it "returns recent Tweets related to a query with images and videos embedded" do
|
18
|
-
search = @client.search(
|
18
|
+
search = @client.search("twitter")
|
19
19
|
expect(search).to be_a Twitter::SearchResults
|
20
20
|
expect(search.results).to be_an Array
|
21
21
|
expect(search.results.first).to be_a Twitter::Tweet
|
22
22
|
expect(search.results.first.text).to eq "Bubble Mailer #freebandnames"
|
23
23
|
end
|
24
24
|
it "returns the max_id value for a search result" do
|
25
|
-
search = @client.search(
|
25
|
+
search = @client.search("twitter")
|
26
26
|
expect(search.max_id).to eq 250126199840518145
|
27
27
|
end
|
28
28
|
|
@@ -32,7 +32,7 @@ describe Twitter::API::Search do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "returns an empty array" do
|
35
|
-
search = @client.search(
|
35
|
+
search = @client.search("twitter")
|
36
36
|
expect(search.results).to be_an Array
|
37
37
|
expect(search.results).to be_empty
|
38
38
|
end
|
@@ -56,39 +56,4 @@ describe Twitter::API::SuggestedUsers do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe "#following_followers_of" do
|
60
|
-
context "with a screen_name passed" do
|
61
|
-
before do
|
62
|
-
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"}).to_return(:body => fixture("users_list.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
63
|
-
end
|
64
|
-
it "requests the correct resource" do
|
65
|
-
@client.following_followers_of("sferik")
|
66
|
-
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
67
|
-
end
|
68
|
-
it "returns an array of numeric IDs for every user following the specified user" do
|
69
|
-
following_followers_of = @client.following_followers_of("sferik")
|
70
|
-
expect(following_followers_of).to be_a Twitter::Cursor
|
71
|
-
expect(following_followers_of.users).to be_an Array
|
72
|
-
expect(following_followers_of.users.first).to be_a Twitter::User
|
73
|
-
end
|
74
|
-
end
|
75
|
-
context "without arguments passed" do
|
76
|
-
before do
|
77
|
-
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
78
|
-
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"}).to_return(:body => fixture("users_list.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
79
|
-
end
|
80
|
-
it "requests the correct resource" do
|
81
|
-
@client.following_followers_of
|
82
|
-
expect(a_get("/1.1/account/verify_credentials.json")).to have_been_made
|
83
|
-
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
84
|
-
end
|
85
|
-
it "returns an array of numeric IDs for every user following the specified user" do
|
86
|
-
following_followers_of = @client.following_followers_of
|
87
|
-
expect(following_followers_of).to be_a Twitter::Cursor
|
88
|
-
expect(following_followers_of.users).to be_an Array
|
89
|
-
expect(following_followers_of.users.first).to be_a Twitter::User
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
59
|
end
|
@@ -49,6 +49,35 @@ describe Twitter::API::Undocumented do
|
|
49
49
|
expect(following_followers_of.users).to be_an Array
|
50
50
|
expect(following_followers_of.users.first).to be_a Twitter::User
|
51
51
|
end
|
52
|
+
context "with all" do
|
53
|
+
before do
|
54
|
+
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :screen_name => "sferik"}).to_return(:body => fixture("users_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
55
|
+
end
|
56
|
+
it "requests the correct resource" do
|
57
|
+
@client.following_followers_of("sferik").all
|
58
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
59
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :screen_name => "sferik"})).to have_been_made
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
context "with a user ID passed" do
|
64
|
+
before do
|
65
|
+
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :user_id => "7505382"}).to_return(:body => fixture("users_list.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
66
|
+
end
|
67
|
+
it "requests the correct resource" do
|
68
|
+
@client.following_followers_of(7505382)
|
69
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :user_id => "7505382"})).to have_been_made
|
70
|
+
end
|
71
|
+
context "with all" do
|
72
|
+
before do
|
73
|
+
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :user_id => "7505382"}).to_return(:body => fixture("users_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
74
|
+
end
|
75
|
+
it "requests the correct resource" do
|
76
|
+
@client.following_followers_of(7505382).all
|
77
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :user_id => "7505382"})).to have_been_made
|
78
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :user_id => "7505382"})).to have_been_made
|
79
|
+
end
|
80
|
+
end
|
52
81
|
end
|
53
82
|
context "without arguments passed" do
|
54
83
|
before do
|
@@ -66,6 +95,16 @@ describe Twitter::API::Undocumented do
|
|
66
95
|
expect(following_followers_of.users).to be_an Array
|
67
96
|
expect(following_followers_of.users.first).to be_a Twitter::User
|
68
97
|
end
|
98
|
+
context "with all" do
|
99
|
+
before do
|
100
|
+
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :screen_name => "sferik"}).to_return(:body => fixture("users_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
101
|
+
end
|
102
|
+
it "requests the correct resource" do
|
103
|
+
@client.following_followers_of.all
|
104
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
105
|
+
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "1322801608223717003", :screen_name => "sferik"})).to have_been_made
|
106
|
+
end
|
107
|
+
end
|
69
108
|
end
|
70
109
|
end
|
71
110
|
|
@@ -18,7 +18,7 @@ describe Twitter::API::Users do
|
|
18
18
|
it "returns settings" do
|
19
19
|
settings = @client.settings
|
20
20
|
expect(settings).to be_a Twitter::Settings
|
21
|
-
expect(settings.language).to eq
|
21
|
+
expect(settings.language).to eq "en"
|
22
22
|
end
|
23
23
|
it "requests the correct resource on POST" do
|
24
24
|
@client.settings(:trend_location_woeid => "23424803")
|
@@ -27,7 +27,7 @@ describe Twitter::API::Users do
|
|
27
27
|
it "returns settings" do
|
28
28
|
settings = @client.settings(:trend_location_woeid => "23424803")
|
29
29
|
expect(settings).to be_a Twitter::Settings
|
30
|
-
expect(settings.language).to eq
|
30
|
+
expect(settings.language).to eq "en"
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
@@ -186,6 +186,16 @@ describe Twitter::API::Users do
|
|
186
186
|
expect(blocking.users.first).to be_a Twitter::User
|
187
187
|
expect(blocking.users.first.id).to eq 7505382
|
188
188
|
end
|
189
|
+
context "with all" do
|
190
|
+
before do
|
191
|
+
stub_get("/1.1/blocks/list.json").with(:query => {:cursor => "1322801608223717003"}).to_return(:body => fixture("users_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
192
|
+
end
|
193
|
+
it "requests the correct resource" do
|
194
|
+
@client.blocking.all
|
195
|
+
expect(a_get("/1.1/blocks/list.json").with(:query => {:cursor => "-1"})).to have_been_made
|
196
|
+
expect(a_get("/1.1/blocks/list.json").with(:query => {:cursor => "1322801608223717003"})).to have_been_made
|
197
|
+
end
|
198
|
+
end
|
189
199
|
end
|
190
200
|
|
191
201
|
describe "#blocked_ids" do
|
@@ -202,6 +212,16 @@ describe Twitter::API::Users do
|
|
202
212
|
expect(blocked_ids.ids).to be_an Array
|
203
213
|
expect(blocked_ids.ids.first).to eq 14100886
|
204
214
|
end
|
215
|
+
context "with all" do
|
216
|
+
before do
|
217
|
+
stub_get("/1.1/blocks/ids.json").with(:query => {:cursor => "1305102810874389703"}).to_return(:body => fixture("ids_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
218
|
+
end
|
219
|
+
it "requests the correct resource" do
|
220
|
+
@client.blocked_ids.all
|
221
|
+
expect(a_get("/1.1/blocks/ids.json").with(:query => {:cursor => "-1"})).to have_been_made
|
222
|
+
expect(a_get("/1.1/blocks/ids.json").with(:query => {:cursor => "1305102810874389703"})).to have_been_made
|
223
|
+
end
|
224
|
+
end
|
205
225
|
end
|
206
226
|
|
207
227
|
describe "#block?" do
|
@@ -244,7 +264,7 @@ describe Twitter::API::Users do
|
|
244
264
|
stub_get("/1.1/blocks/ids.json").with(:query => {:cursor => "1305102810874389703"}).to_return(:body => fixture("ids_list2.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
245
265
|
end
|
246
266
|
it "requests the correct resources" do
|
247
|
-
user = Twitter::User.new(:id =>
|
267
|
+
user = Twitter::User.new(:id => "7505382")
|
248
268
|
@client.block?(user)
|
249
269
|
expect(a_get("/1.1/blocks/ids.json").with(:query => {:cursor => "-1"})).to have_been_made
|
250
270
|
expect(a_get("/1.1/blocks/ids.json").with(:query => {:cursor => "1305102810874389703"})).to have_been_made
|
@@ -333,8 +353,8 @@ describe Twitter::API::Users do
|
|
333
353
|
stub_post("/1.1/users/lookup.json").with(:body => {:user_id => "7505382,14100886"}).to_return(:body => fixture("users.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
334
354
|
end
|
335
355
|
it "requests the correct resource" do
|
336
|
-
user1 = Twitter::User.new(:id =>
|
337
|
-
user2 = Twitter::User.new(:id =>
|
356
|
+
user1 = Twitter::User.new(:id => "7505382")
|
357
|
+
user2 = Twitter::User.new(:id => "14100886")
|
338
358
|
@client.users(user1, user2)
|
339
359
|
expect(a_post("/1.1/users/lookup.json").with(:body => {:user_id => "7505382,14100886"})).to have_been_made
|
340
360
|
end
|
@@ -389,8 +409,8 @@ describe Twitter::API::Users do
|
|
389
409
|
stub_get("/1.1/users/lookup.json").with(:query => {:user_id => "7505382,14100886"}).to_return(:body => fixture("users.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
390
410
|
end
|
391
411
|
it "requests the correct resource" do
|
392
|
-
user1 = Twitter::User.new(:id =>
|
393
|
-
user2 = Twitter::User.new(:id =>
|
412
|
+
user1 = Twitter::User.new(:id => "7505382")
|
413
|
+
user2 = Twitter::User.new(:id => "14100886")
|
394
414
|
@client.users(user1, user2, :method => :get)
|
395
415
|
expect(a_get("/1.1/users/lookup.json").with(:query => {:user_id => "7505382,14100886"})).to have_been_made
|
396
416
|
end
|
@@ -523,6 +543,15 @@ describe Twitter::API::Users do
|
|
523
543
|
expect(contributees.first.name).to eq "Twitter API"
|
524
544
|
end
|
525
545
|
end
|
546
|
+
context "with a user ID passed" do
|
547
|
+
before do
|
548
|
+
stub_get("/1.1/users/contributees.json").with(:query => {:user_id => "7505382"}).to_return(:body => fixture("contributees.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
549
|
+
end
|
550
|
+
it "requests the correct resource" do
|
551
|
+
@client.contributees(7505382)
|
552
|
+
expect(a_get("/1.1/users/contributees.json").with(:query => {:user_id => "7505382"})).to have_been_made
|
553
|
+
end
|
554
|
+
end
|
526
555
|
context "without arguments passed" do
|
527
556
|
before do
|
528
557
|
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
@@ -544,7 +573,6 @@ describe Twitter::API::Users do
|
|
544
573
|
describe "#contributors" do
|
545
574
|
context "with a screen name passed" do
|
546
575
|
before do
|
547
|
-
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
548
576
|
stub_get("/1.1/users/contributors.json").with(:query => {:screen_name => "sferik"}).to_return(:body => fixture("contributors.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
549
577
|
end
|
550
578
|
it "requests the correct resource" do
|
@@ -558,6 +586,15 @@ describe Twitter::API::Users do
|
|
558
586
|
expect(contributors.first.name).to eq "Biz Stone"
|
559
587
|
end
|
560
588
|
end
|
589
|
+
context "with a user ID passed" do
|
590
|
+
before do
|
591
|
+
stub_get("/1.1/users/contributors.json").with(:query => {:user_id => "7505382"}).to_return(:body => fixture("contributors.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
592
|
+
end
|
593
|
+
it "requests the correct resource" do
|
594
|
+
@client.contributors(7505382)
|
595
|
+
expect(a_get("/1.1/users/contributors.json").with(:query => {:user_id => "7505382"})).to have_been_made
|
596
|
+
end
|
597
|
+
end
|
561
598
|
context "without arguments passed" do
|
562
599
|
before do
|
563
600
|
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
@@ -576,41 +613,6 @@ describe Twitter::API::Users do
|
|
576
613
|
end
|
577
614
|
end
|
578
615
|
|
579
|
-
describe "#following_followers_of" do
|
580
|
-
context "with a screen_name passed" do
|
581
|
-
before do
|
582
|
-
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"}).to_return(:body => fixture("users_list.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
583
|
-
end
|
584
|
-
it "requests the correct resource" do
|
585
|
-
@client.following_followers_of("sferik")
|
586
|
-
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
587
|
-
end
|
588
|
-
it "returns an array of numeric IDs for every user following the specified user" do
|
589
|
-
following_followers_of = @client.following_followers_of("sferik")
|
590
|
-
expect(following_followers_of).to be_a Twitter::Cursor
|
591
|
-
expect(following_followers_of.users).to be_an Array
|
592
|
-
expect(following_followers_of.users.first).to be_a Twitter::User
|
593
|
-
end
|
594
|
-
end
|
595
|
-
context "without arguments passed" do
|
596
|
-
before do
|
597
|
-
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
598
|
-
stub_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"}).to_return(:body => fixture("users_list.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
599
|
-
end
|
600
|
-
it "requests the correct resource" do
|
601
|
-
@client.following_followers_of
|
602
|
-
expect(a_get("/1.1/account/verify_credentials.json")).to have_been_made
|
603
|
-
expect(a_get("/users/following_followers_of.json").with(:query => {:cursor => "-1", :screen_name => "sferik"})).to have_been_made
|
604
|
-
end
|
605
|
-
it "returns an array of numeric IDs for every user following the specified user" do
|
606
|
-
following_followers_of = @client.following_followers_of
|
607
|
-
expect(following_followers_of).to be_a Twitter::Cursor
|
608
|
-
expect(following_followers_of.users).to be_an Array
|
609
|
-
expect(following_followers_of.users.first).to be_a Twitter::User
|
610
|
-
end
|
611
|
-
end
|
612
|
-
end
|
613
|
-
|
614
616
|
describe "#remove_profile_banner" do
|
615
617
|
before do
|
616
618
|
stub_post("/1.1/account/remove_profile_banner.json").to_return(:body => fixture("empty.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
@@ -639,22 +641,31 @@ describe Twitter::API::Users do
|
|
639
641
|
end
|
640
642
|
end
|
641
643
|
|
642
|
-
describe
|
644
|
+
describe "#profile_banner" do
|
643
645
|
context "with a screen_name passed" do
|
644
646
|
before do
|
645
647
|
stub_get("/1.1/users/profile_banner.json").with(:query => {:screen_name => "sferik"}).to_return(:body => fixture("profile_banner.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
646
648
|
end
|
647
649
|
it "requests the correct resource" do
|
648
|
-
@client.profile_banner(
|
650
|
+
@client.profile_banner("sferik")
|
649
651
|
expect(a_get("/1.1/users/profile_banner.json").with(:query => {:screen_name => "sferik"})).to have_been_made
|
650
652
|
end
|
651
653
|
it "returns a user's profile banner" do
|
652
|
-
banner = @client.profile_banner(
|
654
|
+
banner = @client.profile_banner("sferik")
|
653
655
|
expect(banner).to be_a Twitter::ProfileBanner
|
654
656
|
expect(banner.sizes).to be_a Hash
|
655
657
|
expect(banner.sizes[:mobile].height).to eq 160
|
656
658
|
end
|
657
659
|
end
|
660
|
+
context "with a user ID passed" do
|
661
|
+
before do
|
662
|
+
stub_get("/1.1/users/profile_banner.json").with(:query => {:user_id => "7505382"}).to_return(:body => fixture("profile_banner.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
663
|
+
end
|
664
|
+
it "requests the correct resource" do
|
665
|
+
@client.profile_banner(7505382)
|
666
|
+
expect(a_get("/1.1/users/profile_banner.json").with(:query => {:user_id => "7505382"})).to have_been_made
|
667
|
+
end
|
668
|
+
end
|
658
669
|
context "without arguments passed" do
|
659
670
|
before do
|
660
671
|
stub_get("/1.1/account/verify_credentials.json").to_return(:body => fixture("sferik.json"), :headers => {:content_type => "application/json; charset=utf-8"})
|
data/twitter.gemspec
CHANGED
@@ -5,16 +5,10 @@ Gem::Specification.new do |spec|
|
|
5
5
|
spec.add_dependency 'faraday', '~> 0.8'
|
6
6
|
spec.add_dependency 'multi_json', '~> 1.3'
|
7
7
|
spec.add_dependency 'simple_oauth', '~> 0.2'
|
8
|
-
spec.add_development_dependency 'json'
|
9
8
|
spec.add_development_dependency 'kramdown'
|
10
9
|
spec.add_development_dependency 'pry'
|
11
|
-
spec.add_development_dependency 'pry-
|
12
|
-
spec.add_development_dependency 'rake'
|
13
|
-
spec.add_development_dependency 'rspec'
|
10
|
+
spec.add_development_dependency 'pry-debugger'
|
14
11
|
spec.add_development_dependency 'simplecov'
|
15
|
-
spec.add_development_dependency 'timecop'
|
16
|
-
spec.add_development_dependency 'webmock'
|
17
|
-
spec.add_development_dependency 'yard'
|
18
12
|
spec.authors = ["John Nunemaker", "Wynn Netherland", "Erik Michaels-Ober", "Steve Richert"]
|
19
13
|
spec.description = %q{A Ruby interface to the Twitter API.}
|
20
14
|
spec.email = ['nunemaker@gmail.com', 'wynn.netherland@gmail.com', 'sferik@gmail.com', 'steve.richert@gmail.com']
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 4.4.
|
5
|
+
version: 4.4.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Nunemaker
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-12-
|
15
|
+
date: 2012-12-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -62,22 +62,6 @@ dependencies:
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0.2'
|
64
64
|
none: false
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - ! '>='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
none: false
|
72
|
-
name: json
|
73
|
-
type: :development
|
74
|
-
prerelease: false
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - ! '>='
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '0'
|
80
|
-
none: false
|
81
65
|
- !ruby/object:Gem::Dependency
|
82
66
|
version_requirements: !ruby/object:Gem::Requirement
|
83
67
|
requirements:
|
@@ -117,39 +101,7 @@ dependencies:
|
|
117
101
|
- !ruby/object:Gem::Version
|
118
102
|
version: '0'
|
119
103
|
none: false
|
120
|
-
name: pry-
|
121
|
-
type: :development
|
122
|
-
prerelease: false
|
123
|
-
requirement: !ruby/object:Gem::Requirement
|
124
|
-
requirements:
|
125
|
-
- - ! '>='
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: '0'
|
128
|
-
none: false
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
version_requirements: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - ! '>='
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '0'
|
135
|
-
none: false
|
136
|
-
name: rake
|
137
|
-
type: :development
|
138
|
-
prerelease: false
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ! '>='
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0'
|
144
|
-
none: false
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ! '>='
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
151
|
-
none: false
|
152
|
-
name: rspec
|
104
|
+
name: pry-debugger
|
153
105
|
type: :development
|
154
106
|
prerelease: false
|
155
107
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,54 +126,6 @@ dependencies:
|
|
174
126
|
- !ruby/object:Gem::Version
|
175
127
|
version: '0'
|
176
128
|
none: false
|
177
|
-
- !ruby/object:Gem::Dependency
|
178
|
-
version_requirements: !ruby/object:Gem::Requirement
|
179
|
-
requirements:
|
180
|
-
- - ! '>='
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: '0'
|
183
|
-
none: false
|
184
|
-
name: timecop
|
185
|
-
type: :development
|
186
|
-
prerelease: false
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - ! '>='
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0'
|
192
|
-
none: false
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - ! '>='
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: '0'
|
199
|
-
none: false
|
200
|
-
name: webmock
|
201
|
-
type: :development
|
202
|
-
prerelease: false
|
203
|
-
requirement: !ruby/object:Gem::Requirement
|
204
|
-
requirements:
|
205
|
-
- - ! '>='
|
206
|
-
- !ruby/object:Gem::Version
|
207
|
-
version: '0'
|
208
|
-
none: false
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
version_requirements: !ruby/object:Gem::Requirement
|
211
|
-
requirements:
|
212
|
-
- - ! '>='
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
version: '0'
|
215
|
-
none: false
|
216
|
-
name: yard
|
217
|
-
type: :development
|
218
|
-
prerelease: false
|
219
|
-
requirement: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - ! '>='
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: '0'
|
224
|
-
none: false
|
225
129
|
description: A Ruby interface to the Twitter API.
|
226
130
|
email:
|
227
131
|
- nunemaker@gmail.com
|
@@ -348,9 +252,11 @@ files:
|
|
348
252
|
- spec/fixtures/enhance_your_calm.text
|
349
253
|
- spec/fixtures/favorites.json
|
350
254
|
- spec/fixtures/followers_list.json
|
255
|
+
- spec/fixtures/followers_list2.json
|
351
256
|
- spec/fixtures/following.json
|
352
257
|
- spec/fixtures/forbidden.json
|
353
258
|
- spec/fixtures/friends_list.json
|
259
|
+
- spec/fixtures/friends_list2.json
|
354
260
|
- spec/fixtures/friendships.json
|
355
261
|
- spec/fixtures/ids.json
|
356
262
|
- spec/fixtures/ids_list.json
|
@@ -366,6 +272,7 @@ files:
|
|
366
272
|
- spec/fixtures/media_timeline.json
|
367
273
|
- spec/fixtures/members.json
|
368
274
|
- spec/fixtures/memberships.json
|
275
|
+
- spec/fixtures/memberships2.json
|
369
276
|
- spec/fixtures/not_acceptable.json
|
370
277
|
- spec/fixtures/not_following.json
|
371
278
|
- spec/fixtures/not_found.json
|
@@ -397,6 +304,7 @@ files:
|
|
397
304
|
- spec/fixtures/status_with_media.json
|
398
305
|
- spec/fixtures/statuses.json
|
399
306
|
- spec/fixtures/subscriptions.json
|
307
|
+
- spec/fixtures/subscriptions2.json
|
400
308
|
- spec/fixtures/suggestions.json
|
401
309
|
- spec/fixtures/tos.json
|
402
310
|
- spec/fixtures/totals.json
|
@@ -409,6 +317,7 @@ files:
|
|
409
317
|
- spec/fixtures/user_timeline.json
|
410
318
|
- spec/fixtures/users.json
|
411
319
|
- spec/fixtures/users_list.json
|
320
|
+
- spec/fixtures/users_list2.json
|
412
321
|
- spec/fixtures/video_facets.json
|
413
322
|
- spec/fixtures/we_concept_bg2.png
|
414
323
|
- spec/fixtures/wildcomet2.jpe
|
@@ -514,9 +423,11 @@ test_files:
|
|
514
423
|
- spec/fixtures/enhance_your_calm.text
|
515
424
|
- spec/fixtures/favorites.json
|
516
425
|
- spec/fixtures/followers_list.json
|
426
|
+
- spec/fixtures/followers_list2.json
|
517
427
|
- spec/fixtures/following.json
|
518
428
|
- spec/fixtures/forbidden.json
|
519
429
|
- spec/fixtures/friends_list.json
|
430
|
+
- spec/fixtures/friends_list2.json
|
520
431
|
- spec/fixtures/friendships.json
|
521
432
|
- spec/fixtures/ids.json
|
522
433
|
- spec/fixtures/ids_list.json
|
@@ -532,6 +443,7 @@ test_files:
|
|
532
443
|
- spec/fixtures/media_timeline.json
|
533
444
|
- spec/fixtures/members.json
|
534
445
|
- spec/fixtures/memberships.json
|
446
|
+
- spec/fixtures/memberships2.json
|
535
447
|
- spec/fixtures/not_acceptable.json
|
536
448
|
- spec/fixtures/not_following.json
|
537
449
|
- spec/fixtures/not_found.json
|
@@ -563,6 +475,7 @@ test_files:
|
|
563
475
|
- spec/fixtures/status_with_media.json
|
564
476
|
- spec/fixtures/statuses.json
|
565
477
|
- spec/fixtures/subscriptions.json
|
478
|
+
- spec/fixtures/subscriptions2.json
|
566
479
|
- spec/fixtures/suggestions.json
|
567
480
|
- spec/fixtures/tos.json
|
568
481
|
- spec/fixtures/totals.json
|
@@ -575,6 +488,7 @@ test_files:
|
|
575
488
|
- spec/fixtures/user_timeline.json
|
576
489
|
- spec/fixtures/users.json
|
577
490
|
- spec/fixtures/users_list.json
|
491
|
+
- spec/fixtures/users_list2.json
|
578
492
|
- spec/fixtures/video_facets.json
|
579
493
|
- spec/fixtures/we_concept_bg2.png
|
580
494
|
- spec/fixtures/wildcomet2.jpe
|