lita-yandex-domains 0.1.8 → 0.1.9

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: fe9193e836f461d622f41c4796af8ebe5693a0c6
4
- data.tar.gz: 70ec3f1e9ac5002d9880e4bf6e7878627ae3ccbe
3
+ metadata.gz: 8c2af46992e2dd8c8ccaa9bf436b8733c120b68a
4
+ data.tar.gz: b1c86c22988ed2f1037fd81a7c9ab5f51a08cc93
5
5
  SHA512:
6
- metadata.gz: a563e4022fb61a83c5d5f0b604b48f08eab4fa91c6e717b4f4e21556ca19e70556f6493eb4d396cb4ca1ff96276329695fb52dbe06c00cd56532c525425aab26
7
- data.tar.gz: f90d734ba87658377803176eed07db5de903126c96225334b02a1799d377862e2eea6ec8421ecb61f045cbadc3e658a4821394b9ed4c70550af135d9b262fd66
6
+ metadata.gz: c422351d301658feac2023b3e24930b9fb39018ce32584899abceb3ecea0a1258c84ecf64e168242bba408ae7a6b99e76bd4fa5b31de5daa7198467e812605ff
7
+ data.tar.gz: 85447b2a7b4cf352fb1c0244e1576b4ac791de764476125430b9e973863bc9358d07f760f098bfa749a52fa9a2ac540d07a3603b88fbe5fe197ff2813a40fad9
@@ -143,8 +143,12 @@ module Lita
143
143
  end
144
144
 
145
145
  def show_all_maillists(response)
146
- message = yandex_client.maillist_list(options = { domain: config.domain })
147
- response.reply(message)
146
+ emails = []
147
+ message = yandex_client.maillist_list(config.domain)
148
+ message['maillists'].each do |subscriber|
149
+ emails.push(subscriber['maillist'])
150
+ end
151
+ response.reply(emails.sort)
148
152
  end
149
153
 
150
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.8"
3
+ spec.version = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devico Solutions