imperituroard 0.5.4 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8988eeea2748b58270199ba1bd979fe39a749d4e
|
4
|
+
data.tar.gz: afa25c7aef167be38455299ec35c9bc87cb99fd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e89c1ba592ea3e056e61b68f1b933a7691638e613347cd458e8b68a68b99354519ed34d5e2245cea2cf03c2047d0433c3c85391b047b54e7acfc29000bfbb6
|
7
|
+
data.tar.gz: 4e045abfa4d7ffc34615c0ebe90fdcf1b0c587efad0bd9d64e08e235b10b3934dbf5f2ce13dae668c3c34dc7b4b8dd59708f68b80abe48e7ad15a590862269af
|
data/lib/imperituroard.rb
CHANGED
@@ -5,6 +5,7 @@ $LOAD_PATH.unshift File.expand_path("../projects/mhub/subs/dabrab", __dir__)
|
|
5
5
|
$LOAD_PATH.unshift File.expand_path("../platforms/cps", __dir__)
|
6
6
|
$LOAD_PATH.unshift File.expand_path("../platforms/public", __dir__)
|
7
7
|
$LOAD_PATH.unshift File.expand_path("../projects", __dir__)
|
8
|
+
$LOAD_PATH.unshift File.expand_path("../projects/dns", __dir__)
|
8
9
|
|
9
10
|
|
10
11
|
require "imperituroard/version"
|
@@ -23,6 +24,8 @@ require 'imperituroard/projects/iot'
|
|
23
24
|
require 'imperituroard/projects/dns'
|
24
25
|
require 'imperituroard/platforms/cps/qps_connector'
|
25
26
|
require 'imperituroard/platforms/public/telegram'
|
27
|
+
require 'imperituroard/projects/dns/ukaz60'
|
28
|
+
|
26
29
|
require 'json'
|
27
30
|
require 'ipaddr'
|
28
31
|
require 'date'
|
@@ -348,6 +351,7 @@ class Ukaz60Automation_2
|
|
348
351
|
ansible_ssh_password,
|
349
352
|
ansible_host,
|
350
353
|
url_backup_dir)
|
354
|
+
=begin
|
351
355
|
@ukaz69_dns_func = Dns_2.new(telegram_api_url,
|
352
356
|
telegram_chat_id,
|
353
357
|
work_directory,
|
@@ -361,8 +365,9 @@ class Ukaz60Automation_2
|
|
361
365
|
belgim_login,
|
362
366
|
belgim_password,
|
363
367
|
belgim_url)
|
368
|
+
=end
|
364
369
|
|
365
|
-
@ukaz60_func = Ukaz60All_2(telegram_api_url,
|
370
|
+
@ukaz60_func = Ukaz60All_2.new(telegram_api_url,
|
366
371
|
telegram_chat_id,
|
367
372
|
belgim_login,
|
368
373
|
belgim_password,
|
@@ -54,6 +54,7 @@ class Ukaz60Dns_2
|
|
54
54
|
@unblo = 0
|
55
55
|
end
|
56
56
|
|
57
|
+
=begin
|
57
58
|
|
58
59
|
|
59
60
|
def gen_mem_script()
|
@@ -267,6 +268,7 @@ class Ukaz60Dns_2
|
|
267
268
|
|
268
269
|
telegram_messanger.telegram_message(results.to_s)
|
269
270
|
|
271
|
+
=end
|
270
272
|
|
271
273
|
#File.delete("blocked.conf") if File.exist?("blocked.conf")
|
272
274
|
#File.delete("blocked_old.conf") if File.exist?("blocked_old.conf")
|