twitter_with_auto_pagination 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85b2134eb58d567fcbf7d1d5b73d47f7211a9609
|
4
|
+
data.tar.gz: 5aede29a942eeabbfe4c810782ef008ea66bf2b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71d2303c9bd1f795dcc9d5fc284345494a97a9024c9d39ee513adb8fc40b30cf163a078435ef03a2899a85f2f7a0899ab03970617431b418642162344bb59293
|
7
|
+
data.tar.gz: 588abe185579116532ada869ed9e04730091994d55ce74abafb96edce4d50dd4847301632851d85c5f8c84262b4486b979a3d860cd269e0fadbf607de22c0096
|
@@ -49,7 +49,7 @@ module TwitterWithAutoPagination
|
|
49
49
|
following_ids, followed_ids = friend_ids_and_follower_ids(*args, options)
|
50
50
|
unique_ids = (following_ids + followed_ids).uniq
|
51
51
|
people = users_internal(unique_ids).index_by { |u| u[:id] }
|
52
|
-
[people.slice(*following_ids), people.slice(*followed_ids)]
|
52
|
+
[people.slice(*following_ids).values, people.slice(*followed_ids).values]
|
53
53
|
|
54
54
|
# parallel(in_threads: 2) do |batch|
|
55
55
|
# batch.friends(*args, options)
|