lita-yandex-domains 0.1.4 → 0.1.5
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 +1 -3
- 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: 16e9b9be7dc8e4c0c0c13bfccc6634e4e1a7d042
|
4
|
+
data.tar.gz: f01f32e70ee9c4b7fdfa0357c45616f8a6120f23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b29c34c9675d584d065c169418f9f6e4523806be3770a15177bc30d49b45b6542dd043404127bc21036174f8665a28081c50b1514d29786d7c6436edb5b6b2fa
|
7
|
+
data.tar.gz: 3ce29f0ad36a0b2c055a645ee128b2e9a451f91b25463856e80c21fa0453ac592b39ba4204f615b0f35b3cd9f8a972f40c3d1080ef5f60aaef597c63c1d9f1f7
|
@@ -128,10 +128,8 @@ module Lita
|
|
128
128
|
def create_maillist(response)
|
129
129
|
email = response.match_data['maillist']
|
130
130
|
domain = email.split('@').last
|
131
|
-
message = nil
|
132
131
|
if domain == config.domain
|
133
|
-
|
134
|
-
message = status if status['success'] == 'error'
|
132
|
+
message = yandex_client.maillist_add(options = { domain: config.domain, maillist: email })
|
135
133
|
else
|
136
134
|
message = error_message(domain)
|
137
135
|
end
|
data/lita-yandex-domains.gemspec
CHANGED