lita-yandex-domains 0.1.5 → 0.1.6
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 +6 -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: a3b76fcb926af4c37b88ba34d42c396548e0361b
|
4
|
+
data.tar.gz: 81d82da834ab2b2a1f13f34c181268978b0f7e87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20cf2ab669192ad1cfe71e7b2486a1a4facdb3c1a58e72b923315265f6244e19487aab7b55597e23d1a47afee428be72c0c7093de5b0ff525d1de17f5d17971
|
7
|
+
data.tar.gz: 92e1d1ad9669b34d94769930164959620bda565bd62b0413972c8bc3eca46fc3f5f3462f88b939feedbd060e970102bd75aaef409a0eabb3cd1284250b7e6beb
|
@@ -143,7 +143,12 @@ module Lita
|
|
143
143
|
end
|
144
144
|
|
145
145
|
def show_all_maillists(response)
|
146
|
-
|
146
|
+
emails = []
|
147
|
+
message = yandex_client.maillist_list(options = { domain: config.domain })
|
148
|
+
message['maillists'].each do |subscriber|
|
149
|
+
emails.push(subscriber['maillist'])
|
150
|
+
end
|
151
|
+
response.reply(emails.sort)
|
147
152
|
end
|
148
153
|
|
149
154
|
def add_subscriber(response)
|
data/lita-yandex-domains.gemspec
CHANGED