twitter_with_auto_pagination 0.8.0 → 0.8.1
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: bd60b96ff2d1620518b5f6c8e16799c477b0f76a
|
4
|
+
data.tar.gz: 4352f612659aa199a647eb340d5bc00b32ae4341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 750f168e791c3241961a106946052471b062ea11702e16906f281e9a8673e34b2d32d216be8671229164ff0ad8a51463efd3a21505c1cfdcd006a32b722f6499
|
7
|
+
data.tar.gz: e4fb48382befa9b581f1e2eee34636fcd5d2203af823777b2f69ba96b5d91780935ba1d94bfc33ce0229601efe4b726d392e36107b6f2d91fa90f7a7db21d32a
|
@@ -10,6 +10,7 @@ require 'twitter_with_auto_pagination/rest/extension/favoriting'
|
|
10
10
|
require 'twitter_with_auto_pagination/rest/extension/friends_and_followers'
|
11
11
|
require 'twitter_with_auto_pagination/rest/extension/replying'
|
12
12
|
require 'twitter_with_auto_pagination/rest/extension/unfollowing'
|
13
|
+
require 'twitter_with_auto_pagination/rest/extension/users'
|
13
14
|
|
14
15
|
module TwitterWithAutoPagination
|
15
16
|
module REST
|
@@ -26,6 +27,7 @@ module TwitterWithAutoPagination
|
|
26
27
|
include TwitterWithAutoPagination::REST::Extension::FriendsAndFollowers
|
27
28
|
include TwitterWithAutoPagination::REST::Extension::Replying
|
28
29
|
include TwitterWithAutoPagination::REST::Extension::Unfollowing
|
30
|
+
include TwitterWithAutoPagination::REST::Extension::Users
|
29
31
|
end
|
30
32
|
end
|
31
33
|
end
|
@@ -7,7 +7,7 @@ module TwitterWithAutoPagination
|
|
7
7
|
include TwitterWithAutoPagination::REST::Utils
|
8
8
|
|
9
9
|
def clusters_belong_to(text)
|
10
|
-
return
|
10
|
+
return {} if text.blank?
|
11
11
|
|
12
12
|
exclude_words = JSON.parse(File.read(Rails.configuration.x.constants['cluster_bad_words_path']))
|
13
13
|
special_words = JSON.parse(File.read(Rails.configuration.x.constants['cluster_good_words_path']))
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'twitter_with_auto_pagination/rest/utils'
|
2
|
+
|
3
|
+
module TwitterWithAutoPagination
|
4
|
+
module REST
|
5
|
+
module Extension
|
6
|
+
module Users
|
7
|
+
include TwitterWithAutoPagination::REST::Utils
|
8
|
+
|
9
|
+
def blocking_or_blocked(past_me, cur_me)
|
10
|
+
instrument(__method__, nil) do
|
11
|
+
removing(past_me, cur_me).to_a & removed(past_me, cur_me).to_a
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_with_auto_pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinohara Teruki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- lib/twitter_with_auto_pagination/rest/extension/friends_and_followers.rb
|
99
99
|
- lib/twitter_with_auto_pagination/rest/extension/replying.rb
|
100
100
|
- lib/twitter_with_auto_pagination/rest/extension/unfollowing.rb
|
101
|
+
- lib/twitter_with_auto_pagination/rest/extension/users.rb
|
101
102
|
- lib/twitter_with_auto_pagination/rest/favorites.rb
|
102
103
|
- lib/twitter_with_auto_pagination/rest/friends_and_followers.rb
|
103
104
|
- lib/twitter_with_auto_pagination/rest/search.rb
|