ruboty-twitter_search 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ruboty/handlers/twitter_search.rb +3 -1
- data/lib/ruboty/twitter_search/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fafa0fe2abe924e210c6b8a109ec9aefb629c53e
|
4
|
+
data.tar.gz: c57faa3e0be70f9d9280d481e246ac999433d30b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994c0086908eeafac906f3ffae8e5631955dacca57495e616bde9081759f0ce45b7795202c0639c9f2d32b7c6aa4d69ad0102c06dc3bda25ebd2f68f9f69f657
|
7
|
+
data.tar.gz: abf012b4787c58e15cecda552d419f22e20d5a6e46d9b91e51857091eb407736c78e35e1881dbaf3adb32e14793f6d439ff26e536e7eefbe2801d14c83d72842
|
data/CHANGELOG.md
CHANGED
@@ -19,7 +19,7 @@ module Ruboty
|
|
19
19
|
name: :search,
|
20
20
|
)
|
21
21
|
|
22
|
-
# @
|
22
|
+
# @return [true] to prevent running missing handlers.
|
23
23
|
def search(message)
|
24
24
|
statuses = client.search(message[:query], since_id: fetch_since_id_for(message[:query])).take(10)
|
25
25
|
if statuses.any?
|
@@ -28,6 +28,8 @@ module Ruboty
|
|
28
28
|
end
|
29
29
|
rescue Twitter::Error => exception
|
30
30
|
message.reply("#{exception.class}: #{exception}")
|
31
|
+
ensure
|
32
|
+
true
|
31
33
|
end
|
32
34
|
|
33
35
|
private
|