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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7673ceb8269d0faad83ca6027d3343b8b1099c43
4
- data.tar.gz: f984fcdfa2ad836562844083d91cee52cf281b31
3
+ metadata.gz: 16e9b9be7dc8e4c0c0c13bfccc6634e4e1a7d042
4
+ data.tar.gz: f01f32e70ee9c4b7fdfa0357c45616f8a6120f23
5
5
  SHA512:
6
- metadata.gz: '0362287b4357ebbe6f27f2c5d2213dacfac94656e4ec4d8b4f8aba3f5048ddbc2cf11fbbc9af09261ecd1731b1e803ef3c2a9ff7f0259266225d03800a2af7f9'
7
- data.tar.gz: 4860bc5588fd311f7ca17bb8bac0ed1525ce7acc93719d8d5504c2eeb1b419612462f57c7a6d3187f5e2dd1c540bbd347ac355eed7c87375920dec35b45da67c
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
- status = yandex_client.maillist_add(options = { domain: config.domain, maillist: email })
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-yandex-domains"
3
- spec.version = "0.1.4"
3
+ spec.version = "0.1.5"
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devico Solutions