lita-yandex-domains 0.2.0 → 0.2.1
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 +6 -1
- data/lita-yandex-domains.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 298f2d4cf830fda01f4a40b7cb629507df52cff3
|
4
|
+
data.tar.gz: 0ec097ad27afb48e551dee05a871dde999f4ec95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575f801c0d8e77b3c5f1ab046f8e054149dec6893549d42f0962abc4fb24f349a20838eea072cdf20acfb2c3726fbe9e933e1ade854d10bf577e366479ad22ab
|
7
|
+
data.tar.gz: df4b8cfcb3e51ddc9dd27cda5cd00d2fff1321c8acc19679cc73944b0012883bdab22196c959c1ce6263179e425181d6ca4c291c32b30c353754eaac74bae90d
|
@@ -143,7 +143,12 @@ module Lita
|
|
143
143
|
end
|
144
144
|
|
145
145
|
def show_all_maillists(response)
|
146
|
-
|
146
|
+
emails = []
|
147
|
+
message = yandex_client.maillist_list(domain=config.domain)
|
148
|
+
message['maillists'].each do |maillist|
|
149
|
+
emails.push(maillist['maillist'])
|
150
|
+
end
|
151
|
+
response.reply(emails)
|
147
152
|
end
|
148
153
|
|
149
154
|
def add_subscriber(response)
|
data/lita-yandex-domains.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-yandex-domains"
|
3
|
-
spec.version = "0.2.
|
3
|
+
spec.version = "0.2.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"
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.required_ruby_version = '>= 2.3.0'
|
18
18
|
|
19
19
|
spec.add_runtime_dependency 'lita', '>= 4.7'
|
20
|
-
spec.add_runtime_dependency 'yandex-pdd-2', '~> 0.1.
|
20
|
+
spec.add_runtime_dependency 'yandex-pdd-2', '~> 0.1.4'
|
21
21
|
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
23
23
|
spec.add_development_dependency 'pry-byebug'
|
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Devico Solutions
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.
|
33
|
+
version: 0.1.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.
|
40
|
+
version: 0.1.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|