lib/imperituroard.rb in imperituroard-0.5.4 vs lib/imperituroard.rb in imperituroard-0.5.5
- old
+ new
@@ -3,10 +3,11 @@
$LOAD_PATH.unshift File.expand_path("../projects/mhub", __dir__)
$LOAD_PATH.unshift File.expand_path("../projects/mhub/subs/dabrab", __dir__)
$LOAD_PATH.unshift File.expand_path("../platforms/cps", __dir__)
$LOAD_PATH.unshift File.expand_path("../platforms/public", __dir__)
$LOAD_PATH.unshift File.expand_path("../projects", __dir__)
+$LOAD_PATH.unshift File.expand_path("../projects/dns", __dir__)
require "imperituroard/version"
require "imperituroard/projects/wttx/phpipamdb"
require "imperituroard/projects/wttx/phpipamcps"
@@ -21,10 +22,12 @@
require 'imperituroard/projects/mhub'
require 'imperituroard/projects/iot'
require 'imperituroard/projects/dns'
require 'imperituroard/platforms/cps/qps_connector'
require 'imperituroard/platforms/public/telegram'
+require 'imperituroard/projects/dns/ukaz60'
+
require 'json'
require 'ipaddr'
require 'date'
require 'net/http'
require 'uri'
@@ -346,10 +349,11 @@
local_tmp_directory,
ansible_ssh_user,
ansible_ssh_password,
ansible_host,
url_backup_dir)
+=begin
@ukaz69_dns_func = Dns_2.new(telegram_api_url,
telegram_chat_id,
work_directory,
filename_blocked,
filename_tmp_blocked,
@@ -359,11 +363,12 @@
dns_login,
dns_password,
belgim_login,
belgim_password,
belgim_url)
+=end
- @ukaz60_func = Ukaz60All_2(telegram_api_url,
+ @ukaz60_func = Ukaz60All_2.new(telegram_api_url,
telegram_chat_id,
belgim_login,
belgim_password,
belgim_url,
ansible_tmp_folder,
\ No newline at end of file