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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16e9b9be7dc8e4c0c0c13bfccc6634e4e1a7d042
4
- data.tar.gz: f01f32e70ee9c4b7fdfa0357c45616f8a6120f23
3
+ metadata.gz: a3b76fcb926af4c37b88ba34d42c396548e0361b
4
+ data.tar.gz: 81d82da834ab2b2a1f13f34c181268978b0f7e87
5
5
  SHA512:
6
- metadata.gz: b29c34c9675d584d065c169418f9f6e4523806be3770a15177bc30d49b45b6542dd043404127bc21036174f8665a28081c50b1514d29786d7c6436edb5b6b2fa
7
- data.tar.gz: 3ce29f0ad36a0b2c055a645ee128b2e9a451f91b25463856e80c21fa0453ac592b39ba4204f615b0f35b3cd9f8a972f40c3d1080ef5f60aaef597c63c1d9f1f7
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
- show_emails(response, maillist='yes')
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-yandex-domains"
3
- spec.version = "0.1.5"
3
+ spec.version = "0.1.6"
4
4
  spec.authors = ["Devico Solutions"]
5
5
  spec.email = ["info@devico.io"]
6
6
  spec.description = "Lita handler to interact with yandex domain API"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-yandex-domains
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devico Solutions