lita-yandex-domains 0.1.3 → 0.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/yandex_domains.rb +5 -1
- data/lita-yandex-domains.gemspec +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: c2f2e8475ba1af8e2546673f230826e4262edd20
|
4
|
+
data.tar.gz: 6dd56aa14cb687c7a2c269edde0bfe0c66f38cfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1c4240d7d76de4afca82418afe4344ed43d126792675fe790636e062a88ffe724bb3d07666430154ed79f645497df97b35114acccdeee14b7a3cfc859341714
|
7
|
+
data.tar.gz: 138e3011bd2006f6a16c9be3839abdae99cf93a2c99c93d1ccb6224042cee30938fccc11b3194b1cec37d96ede9b4b938c25c3fb8bec9266948552028b94182a
|
@@ -163,9 +163,13 @@ module Lita
|
|
163
163
|
end
|
164
164
|
|
165
165
|
def show_subscribers(response)
|
166
|
+
emails = []
|
166
167
|
maillist = response.match_data['maillist']
|
167
168
|
message = yandex_client.subscription_sublist(config.domain, maillist)
|
168
|
-
|
169
|
+
message['subscribers'].each do |subscriber|
|
170
|
+
emails.push(subscriber)
|
171
|
+
end
|
172
|
+
response.reply(emails.sort)
|
169
173
|
end
|
170
174
|
|
171
175
|
Lita.register_handler(self)
|
data/lita-yandex-domains.gemspec
CHANGED