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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35fd826e17e0a1c0f4d208328e290ad14edddfc3
4
- data.tar.gz: c4c08ec814970a1a3dafff1ea8152a9dba3ab1af
3
+ metadata.gz: c2f2e8475ba1af8e2546673f230826e4262edd20
4
+ data.tar.gz: 6dd56aa14cb687c7a2c269edde0bfe0c66f38cfc
5
5
  SHA512:
6
- metadata.gz: d535e43df6e26f9fdd454246b034c06c88c30c98b2aa0b4a953bf575359a89f53814e653cfc221cc50ddc96d2405a0729cf45795e89ec858cff539ee3de5020d
7
- data.tar.gz: c25d5de9f9b420971df0a678cd78a6229ceb36a9c5f01088786429799c3f03afefbb443e57898eae31079f3ccec860ead5298dfc7ac133b2e1edfbd59782fe1c
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
- response.reply(message)
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-yandex-domains"
3
- spec.version = "0.1.3"
3
+ spec.version = "0.1.3.1"
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.3
4
+ version: 0.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devico Solutions