twitter_with_auto_pagination 0.9.3 → 0.9.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e6d62667d58aad44e53e4899aa19aefcfc9bd52
4
- data.tar.gz: 30e641dc1fbae06370e82aae2194a350b9220f0f
3
+ metadata.gz: 85b2134eb58d567fcbf7d1d5b73d47f7211a9609
4
+ data.tar.gz: 5aede29a942eeabbfe4c810782ef008ea66bf2b5
5
5
  SHA512:
6
- metadata.gz: 3834eb85fb20cb6967f82036605b7272d1f550d8d3f0399baa88fe361a487c3d3d7e1fea296fe3955fc8af8319cfe98b35bd1e2bf394c1a9f5ca38bbf1a4de93
7
- data.tar.gz: 509bc8bfac522574b4fde7399970306bbc7124718973093400ee29dc563f867ca6d895f5b0236f796890a1b51f53f0104c3a3272c03590ffd2f2da206422e554
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)
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 2.3'
22
22
  spec.summary = spec.description
23
23
  spec.test_files = Dir.glob('spec/**/*')
24
- spec.version = '0.9.3'
24
+ spec.version = '0.9.4'
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_with_auto_pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinohara Teruki